beautypg.com

Intel 253666-024US User Manual

Page 465

background image

Vol. 2A 3-419

INSTRUCTION SET REFERENCE, A-M

FXSAVE—Save x87 FPU, MMX Technology, SSE, and SSE2 State

The destination operand contains the first byte of the memory image, and it must be
aligned on a 16-byte boundary. A misaligned destination operand will result in a
general-protection (#GP) exception being generated (or in some cases, an alignment
check exception [#AC]).
The FXSAVE instruction is used when an operating system needs to perform a
context switch or when an exception handler needs to save and examine the current
state of the x87 FPU, MMX technology, and/or XMM and MXCSR registers.
The fields in Table 3-48 are defined in Table 3-49.

XMM5

240

XMM6

256

XMM7

272

Reserved

288

Reserved

304

Reserved

320

Reserved

336

Reserved

352

Reserved

368

Reserved

384

Reserved

400

Reserved

416

Reserved

432

Reserved

448

Reserved

464

Reserved

480

Reserved

496

Table 3-48. Non-64-bit-Mode Layout of FXSAVE and FXRSTOR

Memory Region (Contd.)

15

14 13 12 11 10

9

8

7

6

5

4

3

2

1

0