Lines Matching defs:area

41 // Offset in xsave area that components >= 2 start at.
44 // The first xsave component in the extended (non-legacy) area.
66 // they are inside the legacy xsave area. Use XSAVE_FIRST_EXT_COMPONENT for
105 static_assert(sizeof(x86_xsave_legacy_area) == 416, "Size of legacy xsave area should match spec.");
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
192 // want to make to the init state is having SIMD exceptions masked. The "legacy" area
194 xsave_area* area = reinterpret_cast<xsave_area*>(extended_register_init_state);
195 set_x87_initial_state(&area->legacy);
196 set_sse_initial_state(&area->legacy);
197 area->legacy.mxcsr = 0x3f << 7;
200 area->xstate_bv |= X86_XSAVE_STATE_BIT_SSE;
205 area->xcomp_bv |= XSAVE_XCOMP_BV_COMPACT;
206 area->xcomp_bv |= area->xstate_bv;
577 xsave_area* area = reinterpret_cast<xsave_area*>(register_state);
581 // Components 0 and 1 are special and are always present in the legacy area.
584 if (!(area->xstate_bv & state_component_bit)) {
588 set_x87_initial_state(&area->legacy);
590 set_sse_initial_state(&area->legacy);
593 area->xstate_bv |= state_component_bit;
597 return area;
600 if (!(area->xcomp_bv & XSAVE_XCOMP_BV_COMPACT)) {
610 if (!(area->xstate_bv & state_component_bit)) {
616 area->xstate_bv |= state_component_bit;
624 if (!(area->xcomp_bv & state_component_bit)) {
635 if (!(area->xcomp_bv & (1ul << i))) {
650 if (!(area->xstate_bv & state_component_bit)) {
656 area->xstate_bv |= state_component_bit;