linux/arch/x86/kvm/fpu.h

/* SPDX-License-Identifier: GPL-2.0 */

#ifndef __KVM_FPU_H_
#define __KVM_FPU_H_

#include <asm/fpu/api.h>

sse128_t;
#define __sse128_u
#define sse128_lo(x)
#define sse128_hi(x)
#define sse128_l0(x)
#define sse128_l1(x)
#define sse128_l2(x)
#define sse128_l3(x)
#define sse128(lo, hi)

static inline void _kvm_read_sse_reg(int reg, sse128_t *data)
{}

static inline void _kvm_write_sse_reg(int reg, const sse128_t *data)
{}

static inline void _kvm_read_mmx_reg(int reg, u64 *data)
{}

static inline void _kvm_write_mmx_reg(int reg, const u64 *data)
{}

static inline void kvm_fpu_get(void)
{}

static inline void kvm_fpu_put(void)
{}

static inline void kvm_read_sse_reg(int reg, sse128_t *data)
{}

static inline void kvm_write_sse_reg(int reg, const sse128_t *data)
{}

static inline void kvm_read_mmx_reg(int reg, u64 *data)
{}

static inline void kvm_write_mmx_reg(int reg, const u64 *data)
{}

#endif