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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

APPLICATION PROGRAMMING MODEL<br />

2.7.11 Exception Conditions for VEX-Encoded GPR <strong>Instruction</strong>s<br />

The exception conditions applicable to VEX-encoded GPR instruction differs from those of legacy GPR instructions.<br />

Table 2-20 groups instructions listed in Chapter 7 and lists details of the exception conditions for VEX-encoded GRP<br />

instructions in Table 2-22 for those instructions which have a default operand size of 32 bits and 16-bit operand<br />

size is not encodable. Table 2-21 lists exception conditions for those instructions that support operation on 16-bit<br />

operands.<br />

Table 2-20. Exception Groupings for <strong>Instruction</strong>s Listed in Chapter 7<br />

Exception Class <strong>Instruction</strong><br />

See Table 2-21 LZCNT, TZCNT<br />

See Table 2-22 ANDN, BLSI, BLSMSK, BLSR, BZHI, MULX, PDEP, PEXT, RORX, SARX, SHLX, SHRX<br />

(*) - Additional exception restrictions are present - see the <strong>Instruction</strong> description for details<br />

Exception<br />

Real<br />

Virtual 80x86<br />

Table 2-21. Exception Definition for LZCNT and TZCNT<br />

Protected and<br />

Compatibility<br />

64-bit<br />

Cause of Exception<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,<br />

X For an illegal memory operand effective address in the CS, DS, ES, FS or GS seg-<br />

#GP(0)<br />

ments.<br />

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

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(faultcode)<br />

X X X For a page fault<br />

Alignment Check<br />

X X X If alignment checking is enabled and an unaligned memory reference is made<br />

#AC(0)<br />

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

2-24 Ref. # 319433-014

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

Saved successfully!

Ooh no, something went wrong!