xsave_state
const struct xsave_state *state = buf;
size_t furthest_out = sizeof (struct xsave_state);
void (*xsavep)(struct xsave_state *, uint64_t) = xsave;
struct xsave_state *cxs;
ASSERT(cpuid_get_xsave_size() >= sizeof (struct xsave_state));
struct xsave_state *xs;
fpu_xsave_to_fxsave(const struct xsave_state *xsave, struct fxsave_state *fx)
const struct xsave_state *xs = fpu->fpu_regs.kfpu_u.kfpu_xs;
const struct xsave_state *xsave = fpu->fpu_regs.kfpu_u.kfpu_xs;
const struct xsave_state *src_xs = datap;
struct xsave_state *targ_xs = fpu->fpu_regs.kfpu_u.kfpu_xs;
struct xsave_state *xsave = fpup;
struct xsave_state *xsave = fpup;
struct xsave_state *dst_xsave;
CTASSERT(sizeof (struct xsave_state) >= AVX_XSAVE_SIZE);
const struct xsave_state avx_initial = {
struct xsave_state *gxs;
struct xsave_state *xs;
struct xsave_state *kfpu_xs;
extern void (*xsavep)(struct xsave_state *, uint64_t);
extern void xsave(struct xsave_state *, uint64_t);
extern void xsaveopt(struct xsave_state *, uint64_t);
extern void xrestore(struct xsave_state *, uint64_t);
extern const struct xsave_state avx_initial;