03.03.2013 Views

Intel® Architecture Instruction Set Extensions Programming Reference

Intel® Architecture Instruction Set Extensions Programming Reference

Intel® Architecture Instruction Set Extensions Programming Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

9.4 INSTRUCTION EXCEPTION SPECIFICATION<br />

ADDITIONAL NEW INSTRUCTIONS<br />

To use this reference of instruction exceptions, look at each instruction for a description of the particular exception<br />

type of interest. The instruction’s corresponding CPUID feature flag can be identified in the fourth column of the<br />

instruction summary table.<br />

Note: #UD on CPUID feature flags=0 is not guaranteed in a virtualized environment if the hardware supports the<br />

feature flag.<br />

Table 9-1 lists exception conditions for ADCX and ADOX.<br />

Exception<br />

9.5 INSTRUCTION FORMAT<br />

Table 9-1. Exception Definition (ADCX and ADOX <strong>Instruction</strong>s)<br />

Real<br />

Virtual 80x86<br />

Protected and<br />

Compatibility<br />

64-bit<br />

Cause of Exception<br />

Invalid Opcode, #UD X X X X If ADX CPUID feature flag is ‘0’.<br />

X X X X If a LOCK prefix is present.<br />

Stack, SS(0) X X X For an illegal address in the SS segment.<br />

X If a memory address referencing the SS segment is in a non-canonical form.<br />

General Protection, #GP(0) X For an illegal memory operand effective address in the CS, DS, ES, FS or GS<br />

segments.<br />

If the DS, ES, FS, or GS register is used to access memory and it contains a<br />

null segment selector.<br />

X If the memory address is in a non-canonical form.<br />

X X If any part of the operand lies outside the effective address space from 0 to<br />

FFFFH.<br />

Page Fault #PF(fault-code) X X X For a page fault.<br />

Alignment Check #AC(0) X X X If alignment checking is enabled and an unaligned memory reference is<br />

made while the current privilege level is 3.<br />

The format used for describing each instruction as in the example below is described in Chapter 3 of the <strong>Intel®</strong> 64<br />

and IA-32 <strong>Architecture</strong>s Software Developer’s Manual, Volume 2A.<br />

Ref. # 319433-014 9-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!