Lines Matching refs:xsave
41 // Offset in xsave area that components >= 2 start at.
44 // The first xsave component in the extended (non-legacy) area.
50 // Bit in XCOMP_BV field of xsave indicating compacted format.
57 static void xsave(void* register_state, uint64_t feature_mask);
66 // they are inside the legacy xsave area. Use XSAVE_FIRST_EXT_COMPONENT for
80 /* Maximum total size for xsave, if all features are enabled */
105 static_assert(sizeof(x86_xsave_legacy_area) == 416, "Size of legacy xsave area should match spec.");
114 // The xsave header. It and the extended regions are only valid when using xsave, not fxsave.
139 // Sets the portions of the xsave legacy area such that the x87 state is considered in its "initial
147 // The initial value of the FTW register is 0xffff. The FTW field in the xsave area is an
183 /* We currently assume that if xsave isn't support fxsave is */
193 // of the xsave structure is valid for fxsave as well.
359 xsave(register_state, ~0ULL);
391 LTRACEF("xsave not supported\n");
407 LTRACEF("could not find xsave leaf\n");
422 /* Sanity check; all CPUs that support xsave support components 0 and 1 */
455 LTRACEF("total xsave size: %zu\n", max_area);
530 static void xsave(void* register_state, uint64_t feature_mask) {
531 __asm__ volatile("xsave %0"
613 // xsave components (x87 is handled above) is all 0's.
653 // xsave components (x87 is handled above) is all 0's.