Docsity

Pentium 4 Microarchitecture, Essays (university) of Computer Science

Toggle sidebar
bg1
Intel® 64 and IA-32 Architectures
Software Developer’s Manual
Volume 2 (2A, 2B, 2C & 2D):
Instruction Set Reference, A-Z
NOTE: The Intel 64 and IA-32 Architectures Software Developer's Manual consists of three volumes:
Basic Architecture, Order Number 253665; Instruction Set Reference A-Z, Order Number 325383;
System Programming Guide, Order Number 325384. Refer to all three volumes when evaluating your
design needs.
Order Number: 325383-060US
September 2016
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Pentium 4 Microarchitecture and more Essays (university) Computer Science in PDF only on Docsity!

Intel® 64 and IA-32 Architectures

Software Developer’s Manual

Volume 2 (2A, 2B, 2C & 2D):

Instruction Set Reference, A-Z

NOTE: The Intel 64 and IA-32 Architectures Software Developer's Manual consists of three volumes:

Basic Architecture , Order Number 253665; Instruction Set Reference A-Z , Order Number 325383;

System Programming Guide , Order Number 325384. Refer to all three volumes when evaluating your

design needs.

Order Number: 325383-060US

September 2016

Intel technologies features and benefits depend on system configuration and may require enabled hardware, software, or service activation. Learn more at intel.com, or from the OEM or retailer. No computer system can be absolutely secure. Intel does not assume any liability for lost or stolen data or systems or any damages resulting from such losses. You may not use or facilitate the use of this document in connection with any infringement or other legal analysis concerning Intel products described herein. You agree to grant Intel a non-exclusive, royalty-free license to any patent claim thereafter drafted which includes subject matter disclosed herein. No license (express or implied, by estoppel or otherwise) to any intellectual property rights is granted by this document. The products described may contain design defects or errors known as errata which may cause the product to deviate from published specifica- tions. Current characterized errata are available on request. This document contains information on products, services and/or processes in development. All information provided here is subject to change without notice. Contact your Intel representative to obtain the latest Intel product specifications and roadmaps Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained by calling 1- 800-548-4725, or by visiting http://www.intel.com/design/literature.htm. Intel, the Intel logo, Intel Atom, Intel Core, Intel SpeedStep, MMX, Pentium, VTune, and Xeon are trademarks of Intel Corporation in the U.S. and/or other countries. *Other names and brands may be claimed as the property of others.

Copyright © 1997-2016, Intel Corporation. All Rights Reserved.

iv Vol. 2A

Vol. 2A v

Vol. 2A vii

viii Vol. 2A

x Vol. 2A

Vol. 2A xi

Vol. 2A xiii

PAGE

VPBROADCASTM—Broadcast Mask to Vector Register......................... 5- VCOMPRESSPD—Store Sparse Packed Double-Precision Floating-Point Values into Dense Memory................. 5- VCOMPRESSPS—Store Sparse Packed Single-Precision Floating-Point Values into Dense Memory.................. 5- VCVTPD2QQ—Convert Packed Double-Precision Floating-Point Values to Packed Quadword Integers.............. 5- VCVTPD2UDQ—Convert Packed Double-Precision Floating-Point Values to Packed Unsigned Doubleword Integers. 5- VCVTPD2UQQ—Convert Packed Double-Precision Floating-Point Values to Packed Unsigned Quadword Integers... 5- VCVTPH2PS—Convert 16-bit FP values to Single-Precision FP values............................................ 5- VCVTPS2PH—Convert Single-Precision FP value to 16-bit FP value.............................................. 5- VCVTPS2UDQ—Convert Packed Single-Precision Floating-Point Values to Packed Unsigned Doubleword Integer Values5- 41 VCVTPS2QQ—Convert Packed Single Precision Floating-Point Values to Packed Singed Quadword Integer Values.. 5- VCVTPS2UQQ—Convert Packed Single Precision Floating-Point Values to Packed Unsigned Quadword Integer Values5- VCVTQQ2PD—Convert Packed Quadword Integers to Packed Double-Precision Floating-Point Values.............. 5- VCVTQQ2PS—Convert Packed Quadword Integers to Packed Single-Precision Floating-Point Values............... 5- VCVTSD2USI—Convert Scalar Double-Precision Floating-Point Value to Unsigned Doubleword Integer............. 5- VCVTSS2USI—Convert Scalar Single-Precision Floating-Point Value to Unsigned Doubleword Integer.............. 5- VCVTTPD2QQ—Convert with Truncation Packed Double-Precision Floating-Point Values to Packed Quadword Integers5- 57 VCVTTPD2UDQ—Convert with Truncation Packed Double-Precision Floating-Point Values to Packed Unsigned Doubleword Integers................................................................................................ 5- VCVTTPD2UQQ—Convert with Truncation Packed Double-Precision Floating-Point Values to Packed Unsigned Quadword In- tegers.................................................................................................. 5- VCVTTPS2UDQ—Convert with Truncation Packed Single-Precision Floating-Point Values to Packed Unsigned Doubleword Integer Values.......................................................................................... 5- VCVTTPS2QQ—Convert with Truncation Packed Single Precision Floating-Point Values to Packed Singed Quadword Integer Values.................................................................................................. 5- VCVTTPS2UQQ—Convert with Truncation Packed Single Precision Floating-Point Values to Packed Unsigned Quadword In- teger Values............................................................................................ 5- VCVTTSD2USI—Convert with Truncation Scalar Double-Precision Floating-Point Value to Unsigned Integer........ 5- VCVTTSS2USI—Convert with Truncation Scalar Single-Precision Floating-Point Value to Unsigned Integer......... 5- VCVTUDQ2PD—Convert Packed Unsigned Doubleword Integers to Packed Double-Precision Floating-Point Values. 5- VCVTUDQ2PS—Convert Packed Unsigned Doubleword Integers to Packed Single-Precision Floating-Point Values.. 5- VCVTUQQ2PD—Convert Packed Unsigned Quadword Integers to Packed Double-Precision Floating-Point Values... 5- VCVTUQQ2PS—Convert Packed Unsigned Quadword Integers to Packed Single-Precision Floating-Point Values.... 5- VCVTUSI2SD—Convert Unsigned Integer to Scalar Double-Precision Floating-Point Value......................... 5- VCVTUSI2SS—Convert Unsigned Integer to Scalar Single-Precision Floating-Point Value........................... 5- VDBPSADBW—Double Block Packed Sum-Absolute-Differences (SAD) on Unsigned Bytes......................... 5- VEXPANDPD—Load Sparse Packed Double-Precision Floating-Point Values from Dense Memory................... 5- VEXPANDPS—Load Sparse Packed Single-Precision Floating-Point Values from Dense Memory.................... 5- VERR/VERW—Verify a Segment for Reading or Writing.......................................................... 5- VEXP2PD—Approximation to the Exponential 2^x of Packed Double-Precision Floating-Point Values with Less Than 2^- Relative Error........................................................................................... 5- VEXP2PS—Approximation to the Exponential 2^x of Packed Single-Precision Floating-Point Values with Less Than 2^- Relative Error........................................................................................... 5- VEXTRACTF128/VEXTRACTF32x4/VEXTRACTF64x2/VEXTRACTF32x8/VEXTRACTF64x4—Extract Packed Floating-Point Values.................................................................................................. 5- VEXTRACTI128/VEXTRACTI32x4/VEXTRACTI64x2/VEXTRACTI32x8/VEXTRACTI64x4—Extract packed Integer Values5- 106 VFIXUPIMMPD—Fix Up Special Packed Float64 Values.......................................................... 5- VFIXUPIMMPS—Fix Up Special Packed Float32 Values.......................................................... 5- VFIXUPIMMSD—Fix Up Special Scalar Float64 Value............................................................ 5- VFIXUPIMMSS—Fix Up Special Scalar Float32 Value............................................................ 5- VFMADD132PD/VFMADD213PD/VFMADD231PD—Fused Multiply-Add of Packed Double-Precision Floating-Point Values5- 126 VFMADD132PS/VFMADD213PS/VFMADD231PS—Fused Multiply-Add of Packed Single-Precision Floating-Point Values5- 133 VFMADD132SD/VFMADD213SD/VFMADD231SD—Fused Multiply-Add of Scalar Double-Precision Floating-Point Values5- 140 VFMADD132SS/VFMADD213SS/VFMADD231SS—Fused Multiply-Add of Scalar Single-Precision Floating-Point Values. 5-

xiv Vol. 2A

PAGE 143 VFMADDSUB132PD/VFMADDSUB213PD/VFMADDSUB231PD—Fused Multiply-Alternating Add/Subtract of Packed Double- Precision Floating-Point Values......................................................................... .5- VFMADDSUB132PS/VFMADDSUB213PS/VFMADDSUB231PS—Fused Multiply-Alternating Add/Subtract of Packed Single- Precision Floating-Point Values......................................................................... .5- VFMSUBADD132PD/VFMSUBADD213PD/VFMSUBADD231PD—Fused Multiply-Alternating Subtract/Add of Packed Double- Precision Floating-Point Values......................................................................... .5- VFMSUBADD132PS/VFMSUBADD213PS/VFMSUBADD231PS—Fused Multiply-Alternating Subtract/Add of Packed Single- Precision Floating-Point Values......................................................................... .5- VFMSUB132PD/VFMSUB213PD/VFMSUB231PD—Fused Multiply-Subtract of Packed Double-Precision Floating-Point Val- ues................................................................................................... .5- VFMSUB132PS/VFMSUB213PS/VFMSUB231PS—Fused Multiply-Subtract of Packed Single-Precision Floating-Point Values 5- VFMSUB132SD/VFMSUB213SD/VFMSUB231SD—Fused Multiply-Subtract of Scalar Double-Precision Floating-Point Values 5- VFMSUB132SS/VFMSUB213SS/VFMSUB231SS—Fused Multiply-Subtract of Scalar Single-Precision Floating-Point Values 5- VFNMADD132PD/VFNMADD213PD/VFNMADD231PD—Fused Negative Multiply-Add of Packed Double-Precision Floating- Point Values........................................................................................... .5- VFNMADD132PS/VFNMADD213PS/VFNMADD231PS—Fused Negative Multiply-Add of Packed Single-Precision Floating- Point Values........................................................................................... .5- VFNMADD132SD/VFNMADD213SD/VFNMADD231SD—Fused Negative Multiply-Add of Scalar Double-Precision Floating- Point Values........................................................................................... .5- VFNMADD132SS/VFNMADD213SS/VFNMADD231SS—Fused Negative Multiply-Add of Scalar Single-Precision Floating- Point Values........................................................................................... .5- VFNMSUB132PD/VFNMSUB213PD/VFNMSUB231PD—Fused Negative Multiply-Subtract of Packed Double-Precision Float- ing-Point Values....................................................................................... .5- VFNMSUB132PS/VFNMSUB213PS/VFNMSUB231PS—Fused Negative Multiply-Subtract of Packed Single-Precision Float- ing-Point Values....................................................................................... .5- VFNMSUB132SD/VFNMSUB213SD/VFNMSUB231SD—Fused Negative Multiply-Subtract of Scalar Double-Precision Float- ing-Point Values....................................................................................... .5- VFNMSUB132SS/VFNMSUB213SS/VFNMSUB231SS—Fused Negative Multiply-Subtract of Scalar Single-Precision Floating- Point Values........................................................................................... .5- VFPCLASSPD—Tests Types Of a Packed Float64 Values....................................................... .5- VFPCLASSPS—Tests Types Of a Packed Float32 Values....................................................... .5- VFPCLASSSD—Tests Types Of a Scalar Float64 Values........................................................ .5- VFPCLASSSS—Tests Types Of a Scalar Float32 Values........................................................ .5- VGATHERDPD/VGATHERQPD — Gather Packed DP FP Values Using Signed Dword/Qword Indices................ .5- VGATHERDPS/VGATHERQPS — Gather Packed SP FP values Using Signed Dword/Qword Indices................. .5- VGATHERDPS/VGATHERDPD—Gather Packed Single, Packed Double with Signed Dword........................ .5- VGATHERPF0DPS/VGATHERPF0QPS/VGATHERPF0DPD/VGATHERPF0QPD—Sparse Prefetch Packed SP/DP Data Values with Signed Dword, Signed Qword Indices Using T0 Hint................................................. .5- VGATHERPF1DPS/VGATHERPF1QPS/VGATHERPF1DPD/VGATHERPF1QPD—Sparse Prefetch Packed SP/DP Data Values with Signed Dword, Signed Qword Indices Using T1 Hint................................................. .5- VGATHERQPS/VGATHERQPD—Gather Packed Single, Packed Double with Signed Qword Indices................. .5- VPGATHERDD/VPGATHERQD — Gather Packed Dword Values Using Signed Dword/Qword Indices............... .5- VPGATHERDD/VPGATHERDQ—Gather Packed Dword, Packed Qword with Signed Dword Indices................. .5- VPGATHERDQ/VPGATHERQQ — Gather Packed Qword Values Using Signed Dword/Qword Indices............... .5- VPGATHERQD/VPGATHERQQ—Gather Packed Dword, Packed Qword with Signed Qword Indices................ .5- VGETEXPPD—Convert Exponents of Packed DP FP Values to DP FP Values..................................... .5- VGETEXPPS—Convert Exponents of Packed SP FP Values to SP FP Values..................................... .5- VGETEXPSD—Convert Exponents of Scalar DP FP Values to DP FP Value....................................... .5- VGETEXPSS—Convert Exponents of Scalar SP FP Values to SP FP Value........................................ .5- VGETMANTPD—Extract Float64 Vector of Normalized Mantissas from Float64 Vector.......................... .5- VGETMANTPS—Extract Float32 Vector of Normalized Mantissas from Float32 Vector.......................... .5- VGETMANTSD—Extract Float64 of Normalized Mantissas from Float64 Scalar.................................. .5- VGETMANTSS—Extract Float32 Vector of Normalized Mantissa from Float32 Vector........................... .5- VINSERTF128/VINSERTF32x4/VINSERTF64x2/VINSERTF32x8/VINSERTF64x4—Insert Packed Floating-Point Values.5- 310

xvi Vol. 2A

PAGE

Vol. 2A xvii

APPENDIX A

APPENDIX B

Vol. 2A xix

PAGE

xx Vol. 2A

  • CHAPTER PAGE
  • 1.1 INTEL ® 64 AND IA-32 PROCESSORS COVERED IN THIS MANUAL 1- ABOUT THIS MANUAL
  • 1.2 OVERVIEW OF VOLUME 2A, 2B, 2C AND 2D: INSTRUCTION SET REFERENCE. 1-
  • 1.3 NOTATIONAL CONVENTIONS 1-
  • 1.3.1 Bit and Byte Order .1-
  • 1.3.2 Reserved Bits and Software Compatibility .1-
  • 1.3.3 Instruction Operands. .1-
  • 1.3.4 Hexadecimal and Binary Numbers .1-
  • 1.3.5 Segmented Addressing .1-
  • 1.3.6 Exceptions .1-
  • 1.3.7 A New Syntax for CPUID, CR, and MSR Values .1-
  • 1.4 RELATED LITERATURE 1-
  • CHAPTER
  • 2.1 INSTRUCTION FORMAT FOR PROTECTED MODE, REAL-ADDRESS MODE, AND VIRTUAL-8086 MODE 2- INSTRUCTION FORMAT
  • 2.1.1 Instruction Prefixes. .2-
  • 2.1.2 Opcodes. .2-
  • 2.1.3 ModR/M and SIB Bytes .2-
  • 2.1.4 Displacement and Immediate Bytes .2-
  • 2.1.5 Addressing-Mode Encoding of ModR/M and SIB Bytes. .2-
  • 2.2 IA-32E MODE 2-
  • 2.2.1 REX Prefixes .2-
  • 2.2.1.1 Encoding .2-
  • 2.2.1.2 More on REX Prefix Fields. .2-
  • 2.2.1.3 Displacement 2-
  • 2.2.1.4 Direct Memory-Offset MOVs 2-
  • 2.2.1.5 Immediates 2-
  • 2.2.1.6 RIP-Relative Addressing. 2-
  • 2.2.1.7 Default 64-Bit Operand Size. 2-
  • 2.2.2 Additional Encodings for Control and Debug Registers 2-
  • 2.3 INTEL® ADVANCED VECTOR EXTENSIONS (INTEL® AVX) 2-
  • 2.3.1 Instruction Format 2-
  • 2.3.2 VEX and the LOCK prefix. 2-
  • 2.3.3 VEX and the 66H, F2H, and F3H prefixes 2-
  • 2.3.4 VEX and the REX prefix 2-
  • 2.3.5 The VEX Prefix 2-
  • 2.3.5.1 VEX Byte 0, bits[7:0] 2-
  • 2.3.5.2 VEX Byte 1, bit [7] - ‘R’. 2-
  • 2.3.5.3 3-byte VEX byte 1, bit[6] - ‘X’ 2-
  • 2.3.5.4 3-byte VEX byte 1, bit[5] - ‘B’ 2-
  • 2.3.5.5 3-byte VEX byte 2, bit[7] - ‘W’ 2-
  • 2.3.5.6 2-byte VEX Byte 1, bits[6:3] and 3-byte VEX Byte 2, bits [6:3]- ‘vvvv’ the Source or Dest Register Specifier. 2-
  • 2.3.6 Instruction Operand Encoding and VEX.vvvv, ModR/M 2-
  • 2.3.6.1 3-byte VEX byte 1, bits[4:0] - “m-mmmm”. 2-
  • 2.3.6.2 2-byte VEX byte 1, bit[2], and 3-byte VEX byte 2, bit [2]- “L” 2-
  • 2.3.6.3 2-byte VEX byte 1, bits[1:0], and 3-byte VEX byte 2, bits [1:0]- “pp”. 2-
  • 2.3.7 The Opcode Byte 2-
  • 2.3.8 The MODRM, SIB, and Displacement Bytes 2-
  • 2.3.9 The Third Source Operand (Immediate Byte) 2-
  • 2.3.10 AVX Instructions and the Upper 128-bits of YMM registers 2-
  • 2.3.10.1 Vector Length Transition and Programming Considerations 2-
  • 2.3.11 AVX Instruction Length 2- PAGE
  • 2.3.12 Vector SIB (VSIB) Memory Addressing 2-
  • 2.3.12.1 64-bit Mode VSIB Memory Addressing 2-
  • 2.4 AVX AND SSE INSTRUCTION EXCEPTION SPECIFICATION. 2-
  • 2.4.1 Exceptions Type 1 (Aligned memory reference) 2-
  • 2.4.2 Exceptions Type 2 (>=16 Byte Memory Reference, Unaligned) 2-
  • 2.4.3 Exceptions Type 3 (<16 Byte memory argument) 2-
  • 2.4.4 Exceptions Type 4 (>=16 Byte mem arg no alignment, no floating-point exceptions) 2-
  • 2.4.5 Exceptions Type 5 (<16 Byte mem arg and no FP exceptions). 2-
  • 2.4.6 Exceptions Type 6 (VEX-Encoded Instructions Without Legacy SSE Analogues) 2-
  • 2.4.7 Exceptions Type 7 (No FP exceptions, no memory arg) 2-
  • 2.4.8 Exceptions Type 8 (AVX and no memory argument) 2-
  • 2.4.9 Exception Type 11 (VEX-only, mem arg no AC, floating-point exceptions) 2-
  • 2.4.10 Exception Type 12 (VEX-only, VSIB mem arg, no AC, no floating-point exceptions) 2-
  • 2.5 VEX ENCODING SUPPORT FOR GPR INSTRUCTIONS 2-
  • 2.5.1 Exception Conditions for VEX-Encoded GPR Instructions 2-
  • 2.6 INTEL® AVX-512 ENCODING 2-
  • 2.6.1 Instruction Format and EVEX 2-
  • 2.6.2 Register Specifier Encoding and EVEX 2-
  • 2.6.3 Opmask Register Encoding 2-
  • 2.6.4 Masking Support in EVEX. 2-
  • 2.6.5 Compressed Displacement (disp8*N) Support in EVEX 2-
  • 2.6.6 EVEX Encoding of Broadcast/Rounding/SAE Support. 2-
  • 2.6.7 Embedded Broadcast Support in EVEX 2-
  • 2.6.8 Static Rounding Support in EVEX 2-
  • 2.6.9 SAE Support in EVEX. 2-
  • 2.6.10 Vector Length Orthogonality 2-
  • 2.6.11 #UD Equations for EVEX 2-
  • 2.6.11.1 State Dependent #UD 2-
  • 2.6.11.2 Opcode Independent #UD 2-
  • 2.6.11.3 Opcode Dependent #UD 2-
  • 2.6.12 Device Not Available 2-
  • 2.6.13 Scalar Instructions 2-
  • 2.7 EXCEPTION CLASSIFICATIONS OF EVEX-ENCODED INSTRUCTIONS. 2-
  • 2.7.1 Exceptions Type E1 and E1NF of EVEX-Encoded Instructions 2-
  • 2.7.2 Exceptions Type E2 of EVEX-Encoded Instructions 2-
  • 2.7.3 Exceptions Type E3 and E3NF of EVEX-Encoded Instructions 2-
  • 2.7.4 Exceptions Type E4 and E4NF of EVEX-Encoded Instructions 2-
  • 2.7.5 Exceptions Type E5 and E5NF. 2-
  • 2.7.6 Exceptions Type E6 and E6NF. 2-
  • 2.7.7 Exceptions Type E7NM 2-
  • 2.7.8 Exceptions Type E9 and E9NF. 2-
  • 2.7.9 Exceptions Type E10 2-
  • 2.7.10 Exception Type E11 (EVEX-only, mem arg no AC, floating-point exceptions) 2-
  • 2.7.11 Exception Type E12 and E12NP (VSIB mem arg, no AC, no floating-point exceptions). 2-
  • 2.8 EXCEPTION CLASSIFICATIONS OF OPMASK INSTRUCTIONS. 2-
  • CHAPTER
  • 3.1 INTERPRETING THE INSTRUCTION REFERENCE PAGES 3- INSTRUCTION SET REFERENCE, A-L
  • 3.1.1 Instruction Format .3-
  • 3.1.1.1 Opcode Column in the Instruction Summary Table (Instructions without VEX Prefix). .3-
  • 3.1.1.2 Opcode Column in the Instruction Summary Table (Instructions with VEX prefix) .3-
  • 3.1.1.3 Instruction Column in the Opcode Summary Table .3-
  • 3.1.1.4 Operand Encoding Column in the Instruction Summary Table .3-
  • 3.1.1.5 64/32-bit Mode Column in the Instruction Summary Table .3-
  • 3.1.1.6 CPUID Support Column in the Instruction Summary Table .3-
  • 3.1.1.7 Description Column in the Instruction Summary Table .3-
  • 3.1.1.8 Description Section .3-
  • 3.1.1.9 Operation Section 3- PAGE
  • 3.1.1.10 Intel® C/C++ Compiler Intrinsics Equivalents Section .3-
  • 3.1.1.11 Flags Affected Section. .3-
  • 3.1.1.12 FPU Flags Affected Section .3-
  • 3.1.1.13 Protected Mode Exceptions Section .3-
  • 3.1.1.14 Real-Address Mode Exceptions Section .3-
  • 3.1.1.15 Virtual-8086 Mode Exceptions Section .3-
  • 3.1.1.16 Floating-Point Exceptions Section .3-
  • 3.1.1.17 SIMD Floating-Point Exceptions Section. .3-
  • 3.1.1.18 Compatibility Mode Exceptions Section .3-
  • 3.1.1.19 64-Bit Mode Exceptions Section. .3-
  • 3.2 INSTRUCTIONS (A-L) 3-
  • AAA—ASCII Adjust After Addition 3-
  • AAD—ASCII Adjust AX Before Division 3-
  • AAM—ASCII Adjust AX After Multiply 3-
  • AAS—ASCII Adjust AL After Subtraction 3-
  • ADC—Add with Carry 3-
  • ADCX — Unsigned Integer Addition of Two Operands with Carry Flag 3-
  • ADD—Add. 3-
  • ADDPD—Add Packed Double-Precision Floating-Point Values. 3-
  • ADDPS—Add Packed Single-Precision Floating-Point Values. 3-
  • ADDSD—Add Scalar Double-Precision Floating-Point Values 3-
  • ADDSS—Add Scalar Single-Precision Floating-Point Values 3-
  • ADDSUBPD—Packed Double-FP Add/Subtract 3-
  • ADDSUBPS—Packed Single-FP Add/Subtract 3-
  • ADOX — Unsigned Integer Addition of Two Operands with Overflow Flag 3-
  • AESDEC—Perform One Round of an AES Decryption Flow. 3-
  • AESDECLAST—Perform Last Round of an AES Decryption Flow 3-
  • AESENC—Perform One Round of an AES Encryption Flow. 3-
  • AESENCLAST—Perform Last Round of an AES Encryption Flow 3-
  • AESIMC—Perform the AES InvMixColumn Transformation. 3-
  • AESKEYGENASSIST—AES Round Key Generation Assist. 3-
  • AND—Logical AND 3-
  • ANDN — Logical AND NOT 3-
  • ANDPD—Bitwise Logical AND of Packed Double Precision Floating-Point Values. 3-
  • ANDPS—Bitwise Logical AND of Packed Single Precision Floating-Point Values. 3-
  • ANDNPD—Bitwise Logical AND NOT of Packed Double Precision Floating-Point Values 3-
  • ANDNPS—Bitwise Logical AND NOT of Packed Single Precision Floating-Point Values 3-
  • ARPL—Adjust RPL Field of Segment Selector 3-
  • BLENDPD — Blend Packed Double Precision Floating-Point Values. 3-
  • BEXTR — Bit Field Extract 3-
  • BLENDPS — Blend Packed Single Precision Floating-Point Values. 3-
  • BLENDVPD — Variable Blend Packed Double Precision Floating-Point Values. 3-
  • BLENDVPS — Variable Blend Packed Single Precision Floating-Point Values 3-
  • BLSI — Extract Lowest Set Isolated Bit 3-
  • BLSMSK — Get Mask Up to Lowest Set Bit 3-
  • BLSR — Reset Lowest Set Bit 3-
  • BNDCL—Check Lower Bound 3-
  • BNDCU/BNDCN—Check Upper Bound 3-
  • BNDLDX—Load Extended Bounds Using Address Translation 3-
  • BNDMK—Make Bounds. 3-
  • BNDMOV—Move Bounds 3-
  • BNDSTX—Store Extended Bounds Using Address Translation 3-
  • BOUND—Check Array Index Against Bounds 3-
  • BSF—Bit Scan Forward 3-
  • BSR—Bit Scan Reverse 3-
  • BSWAP—Byte Swap 3-
  • BT—Bit Test 3-
  • BTC—Bit Test and Complement 3-
  • BTR—Bit Test and Reset .3- PAGE
  • BTS—Bit Test and Set .3-
  • BZHI — Zero High Bits Starting with Specified Bit Position .3-
  • CALL—Call Procedure .3-
  • CBW/CWDE/CDQE—Convert Byte to Word/Convert Word to Doubleword/Convert Doubleword to Quadword .3-
  • CLAC—Clear AC Flag in EFLAGS Register .3-
  • CLC—Clear Carry Flag .3-
  • CLD—Clear Direction Flag. .3-
  • CLFLUSH—Flush Cache Line .3-
  • CLFLUSHOPT—Flush Cache Line Optimized. .3-
  • CLI — Clear Interrupt Flag .3-
  • CLTS—Clear Task-Switched Flag in CR0 .3-
  • CLWB—Cache Line Write Back .3-
  • CMC—Complement Carry Flag .3-
  • CMOVcc—Conditional Move. .3-
  • CMP—Compare Two Operands. .3-
  • CMPPD—Compare Packed Double-Precision Floating-Point Values .3-
  • CMPPS—Compare Packed Single-Precision Floating-Point Values .3-
  • CMPS/CMPSB/CMPSW/CMPSD/CMPSQ—Compare String Operands .3-
  • CMPSD—Compare Scalar Double-Precision Floating-Point Value .3-
  • CMPSS—Compare Scalar Single-Precision Floating-Point Value .3-
  • CMPXCHG—Compare and Exchange .3-
  • CMPXCHG8B/CMPXCHG16B—Compare and Exchange Bytes .3-
  • COMISD—Compare Scalar Ordered Double-Precision Floating-Point Values and Set EFLAGS .3-
  • COMISS—Compare Scalar Ordered Single-Precision Floating-Point Values and Set EFLAGS .3-
  • CPUID—CPU Identification .3-
  • CRC32 — Accumulate CRC32 Value .3-
  • CVTDQ2PD—Convert Packed Doubleword Integers to Packed Double-Precision Floating-Point Values .3-
  • CVTDQ2PS—Convert Packed Doubleword Integers to Packed Single-Precision Floating-Point Values .3-
  • CVTPD2DQ—Convert Packed Double-Precision Floating-Point Values to Packed Doubleword Integers .3-
  • CVTPD2PI—Convert Packed Double-Precision FP Values to Packed Dword Integers .3-
  • CVTPI2PD—Convert Packed Dword Integers to Packed Double-Precision FP Values .3-
  • CVTPI2PS—Convert Packed Dword Integers to Packed Single-Precision FP Values. .3-
  • CVTPS2DQ—Convert Packed Single-Precision Floating-Point Values to Packed Signed Doubleword Integer Values .3-
  • CVTPS2PI—Convert Packed Single-Precision FP Values to Packed Dword Integers. .3-
  • CVTSD2SI—Convert Scalar Double-Precision Floating-Point Value to Doubleword Integer .3-
  • CVTSD2SS—Convert Scalar Double-Precision Floating-Point Value to Scalar Single-Precision Floating-Point Value. .3-
  • CVTSI2SD—Convert Doubleword Integer to Scalar Double-Precision Floating-Point Value .3-
  • CVTSI2SS—Convert Doubleword Integer to Scalar Single-Precision Floating-Point Value .3-
  • CVTSS2SD—Convert Scalar Single-Precision Floating-Point Value to Scalar Double-Precision Floating-Point Value. .3-
  • CVTSS2SI—Convert Scalar Single-Precision Floating-Point Value to Doubleword Integer .3-
  • CVTTPD2PI—Convert with Truncation Packed Double-Precision FP Values to Packed Dword Integers .3-
  • Values .3- CVTTPS2DQ—Convert with Truncation Packed Single-Precision Floating-Point Values to Packed Signed Doubleword Integer
  • CVTTPS2PI—Convert with Truncation Packed Single-Precision FP Values to Packed Dword Integers .3-
  • CVTTSD2SI—Convert with Truncation Scalar Double-Precision Floating-Point Value to Signed Integer .3-
  • CVTTSS2SI—Convert with Truncation Scalar Single-Precision Floating-Point Value to Integer .3-
  • CWD/CDQ/CQO—Convert Word to Doubleword/Convert Doubleword to Quadword. .3-
  • DAA—Decimal Adjust AL after Addition .3-
  • DAS—Decimal Adjust AL after Subtraction .3-
  • DEC—Decrement by 1. .3-
  • DIV—Unsigned Divide .3-
  • DIVPD—Divide Packed Double-Precision Floating-Point Values .3-
  • DIVPS—Divide Packed Single-Precision Floating-Point Values 3- PAGE
  • DIVSD—Divide Scalar Double-Precision Floating-Point Value 3-
  • DIVSS—Divide Scalar Single-Precision Floating-Point Values. 3-
  • DPPD — Dot Product of Packed Double Precision Floating-Point Values. 3-
  • DPPS — Dot Product of Packed Single Precision Floating-Point Values 3-
  • EMMS—Empty MMX Technology State 3-
  • ENTER—Make Stack Frame for Procedure Parameters. 3-
  • EXTRACTPS—Extract Packed Floating-Point Values 3-
  • F2XM1—Compute 2x–1. 3-
  • FABS—Absolute Value 3-
  • FADD/FADDP/FIADD—Add 3-
  • FBLD—Load Binary Coded Decimal. 3-
  • FBSTP—Store BCD Integer and Pop. 3-
  • FCHS—Change Sign 3-
  • FCLEX/FNCLEX—Clear Exceptions 3-
  • FCMOVcc—Floating-Point Conditional Move 3-
  • FCOM/FCOMP/FCOMPP—Compare Floating Point Values 3-
  • FCOMI/FCOMIP/ FUCOMI/FUCOMIP—Compare Floating Point Values and Set EFLAGS 3-
  • FCOS— Cosine 3-
  • FDECSTP—Decrement Stack-Top Pointer 3-
  • FDIV/FDIVP/FIDIV—Divide. 3-
  • FDIVR/FDIVRP/FIDIVR—Reverse Divide 3-
  • FFREE—Free Floating-Point Register 3-
  • FICOM/FICOMP—Compare Integer 3-
  • FILD—Load Integer 3-
  • FINCSTP—Increment Stack-Top Pointer. 3-
  • FINIT/FNINIT—Initialize Floating-Point Unit. 3-
  • FIST/FISTP—Store Integer 3-
  • FISTTP—Store Integer with Truncation 3-
  • FLD—Load Floating Point Value 3-
  • FLD1/FLDL2T/FLDL2E/FLDPI/FLDLG2/FLDLN2/FLDZ—Load Constant 3-
  • FLDCW—Load x87 FPU Control Word 3-
  • FLDENV—Load x87 FPU Environment 3-
  • FMUL/FMULP/FIMUL—Multiply 3-
  • FNOP—No Operation 3-
  • FPATAN—Partial Arctangent 3-
  • FPREM—Partial Remainder 3-
  • FPREM1—Partial Remainder 3-
  • FPTAN—Partial Tangent 3-
  • FRNDINT—Round to Integer. 3-
  • FRSTOR—Restore x87 FPU State 3-
  • FSAVE/FNSAVE—Store x87 FPU State 3-
  • FSCALE—Scale 3-
  • FSIN—Sine 3-
  • FSINCOS—Sine and Cosine 3-
  • FSQRT—Square Root 3-
  • FST/FSTP—Store Floating Point Value 3-
  • FSTCW/FNSTCW—Store x87 FPU Control Word 3-
  • FSTENV/FNSTENV—Store x87 FPU Environment 3-
  • FSTSW/FNSTSW—Store x87 FPU Status Word 3-
  • FSUB/FSUBP/FISUB—Subtract 3-
  • FSUBR/FSUBRP/FISUBR—Reverse Subtract. 3-
  • FTST—TEST. 3-
  • FUCOM/FUCOMP/FUCOMPP—Unordered Compare Floating Point Values 3-
  • FXAM—Examine Floating-Point. 3-
  • FXCH—Exchange Register Contents 3-
  • FXRSTOR—Restore x87 FPU, MMX, XMM, and MXCSR State 3-
  • FXSAVE—Save x87 FPU, MMX Technology, and SSE State 3-
  • FXTRACT—Extract Exponent and Significand 3-
  • FYL2X—Compute y * log2x. .3- PAGE
  • FYL2XP1—Compute y * log2(x +1) .3-
  • HADDPD—Packed Double-FP Horizontal Add .3-
  • HADDPS—Packed Single-FP Horizontal Add .3-
  • HLT—Halt .3-
  • HSUBPD—Packed Double-FP Horizontal Subtract .3-
  • HSUBPS—Packed Single-FP Horizontal Subtract .3-
  • IDIV—Signed Divide .3-
  • IMUL—Signed Multiply. .3-
  • IN—Input from Port .3-
  • INC—Increment by 1 .3-
  • INS/INSB/INSW/INSD—Input from Port to String .3-
  • INSERTPS—Insert Scalar Single-Precision Floating-Point Value .3-
  • INT n/INTO/INT 3—Call to Interrupt Procedure .3-
  • INVD—Invalidate Internal Caches .3-
  • INVLPG—Invalidate TLB Entries. .3-
  • INVPCID—Invalidate Process-Context Identifier. .3-
  • IRET/IRETD—Interrupt Return .3-
  • Jcc—Jump if Condition Is Met. .3-
  • JMP—Jump. .3-
  • KADDW/KADDB/KADDQ/KADDD—ADD Two Masks. .3-
  • KANDW/KANDB/KANDQ/KANDD—Bitwise Logical AND Masks .3-
  • KANDNW/KANDNB/KANDNQ/KANDND—Bitwise Logical AND NOT Masks .3-
  • KMOVW/KMOVB/KMOVQ/KMOVD—Move from and to Mask Registers .3-
  • KNOTW/KNOTB/KNOTQ/KNOTD—NOT Mask Register. .3-
  • KORW/KORB/KORQ/KORD—Bitwise Logical OR Masks .3-
  • KORTESTW/KORTESTB/KORTESTQ/KORTESTD—OR Masks And Set Flags .3-
  • KSHIFTLW/KSHIFTLB/KSHIFTLQ/KSHIFTLD—Shift Left Mask Registers .3-
  • KSHIFTRW/KSHIFTRB/KSHIFTRQ/KSHIFTRD—Shift Right Mask Registers .3-
  • KTESTW/KTESTB/KTESTQ/KTESTD—Packed Bit Test Masks and Set Flags .3-
  • KUNPCKBW/KUNPCKWD/KUNPCKDQ—Unpack for Mask Registers .3-
  • KXNORW/KXNORB/KXNORQ/KXNORD—Bitwise Logical XNOR Masks .3-
  • KXORW/KXORB/KXORQ/KXORD—Bitwise Logical XOR Masks .3-
  • LAHF—Load Status Flags into AH Register .3-
  • LAR—Load Access Rights Byte .3-
  • LDDQU—Load Unaligned Integer 128 Bits .3-
  • LDMXCSR—Load MXCSR Register. .3-
  • LDS/LES/LFS/LGS/LSS—Load Far Pointer. .3-
  • LEA—Load Effective Address. .3-
  • LEAVE—High Level Procedure Exit. .3-
  • LFENCE—Load Fence. .3-
  • LGDT/LIDT—Load Global/Interrupt Descriptor Table Register .3-
  • LLDT—Load Local Descriptor Table Register. .3-
  • LMSW—Load Machine Status Word .3-
  • LOCK—Assert LOCK# Signal Prefix. .3-
  • LODS/LODSB/LODSW/LODSD/LODSQ—Load String. .3-
  • LOOP/LOOPcc—Loop According to ECX Counter .3-
  • LSL—Load Segment Limit .3-
  • LTR—Load Task Register. .3-
  • LZCNT— Count the Number of Leading Zero Bits .3-
  • CHAPTER
  • 4.1 IMM8 CONTROL BYTE OPERATION FOR PCMPESTRI / PCMPESTRM / PCMPISTRI / PCMPISTRM 4- INSTRUCTION SET REFERENCE, M-U
  • 4.1.1 General Description .4-
  • 4.1.2 Source Data Format .4-
  • 4.1.3 Aggregation Operation. .4-
  • 4.1.4 Polarity .4-
  • 4.1.5 Output Selection. .4-
  • 4.1.6 Valid/Invalid Override of Comparisons 4- PAGE
  • 4.1.7 Summary of Im8 Control byte 4-
  • 4.1.8 Diagram Comparison and Aggregation Process 4-
  • 4.2 COMMON TRANSFORMATION AND PRIMITIVE FUNCTIONS FOR SHA1XXX AND SHA256XXX 4-
  • 4.3 INSTRUCTIONS (M-U) 4-
  • MASKMOVDQU—Store Selected Bytes of Double Quadword .4-
  • MASKMOVQ—Store Selected Bytes of Quadword 4-
  • MAXPD—Maximum of Packed Double-Precision Floating-Point Values 4-
  • MAXPS—Maximum of Packed Single-Precision Floating-Point Values 4-
  • MAXSD—Return Maximum Scalar Double-Precision Floating-Point Value 4-
  • MAXSS—Return Maximum Scalar Single-Precision Floating-Point Value 4-
  • MFENCE—Memory Fence. 4-
  • MINPD—Minimum of Packed Double-Precision Floating-Point Values. 4-
  • MINPS—Minimum of Packed Single-Precision Floating-Point Values 4-
  • MINSD—Return Minimum Scalar Double-Precision Floating-Point Value 4-
  • MINSS—Return Minimum Scalar Single-Precision Floating-Point Value 4-
  • MONITOR—Set Up Monitor Address 4-
  • MOV—Move 4-
  • MOV—Move to/from Control Registers. 4-
  • MOV—Move to/from Debug Registers 4-
  • MOVAPD—Move Aligned Packed Double-Precision Floating-Point Values. 4-
  • MOVAPS—Move Aligned Packed Single-Precision Floating-Point Values. 4-
  • MOVBE—Move Data After Swapping Bytes 4-
  • MOVD/MOVQ—Move Doubleword/Move Quadword 4-
  • MOVDDUP—Replicate Double FP Values 4-
  • MOVDQA,VMOVDQA32/64—Move Aligned Packed Integer Values 4-
  • MOVDQU,VMOVDQU8/16/32/64—Move Unaligned Packed Integer Values 4-
  • MOVDQ2Q—Move Quadword from XMM to MMX Technology Register. 4-
  • MOVHLPS—Move Packed Single-Precision Floating-Point Values High to Low 4-
  • MOVHPD—Move High Packed Double-Precision Floating-Point Value 4-
  • MOVHPS—Move High Packed Single-Precision Floating-Point Values 4-
  • MOVLHPS—Move Packed Single-Precision Floating-Point Values Low to High 4-
  • MOVLPD—Move Low Packed Double-Precision Floating-Point Value 4-
  • MOVLPS—Move Low Packed Single-Precision Floating-Point Values 4-
  • MOVMSKPD—Extract Packed Double-Precision Floating-Point Sign Mask. 4-
  • MOVMSKPS—Extract Packed Single-Precision Floating-Point Sign Mask. 4-
  • MOVNTDQA—Load Double Quadword Non-Temporal Aligned Hint 4-
  • MOVNTDQ—Store Packed Integers Using Non-Temporal Hint 4-
  • MOVNTI—Store Doubleword Using Non-Temporal Hint 4-
  • MOVNTPD—Store Packed Double-Precision Floating-Point Values Using Non-Temporal Hint 4-
  • MOVNTPS—Store Packed Single-Precision Floating-Point Values Using Non-Temporal Hint 4-
  • MOVNTQ—Store of Quadword Using Non-Temporal Hint. 4-
  • MOVQ—Move Quadword 4-
  • MOVQ2DQ—Move Quadword from MMX Technology to XMM Register. 4-
  • MOVS/MOVSB/MOVSW/MOVSD/MOVSQ—Move Data from String to String. 4-
  • MOVSD—Move or Merge Scalar Double-Precision Floating-Point Value 4-
  • MOVSHDUP—Replicate Single FP Values 4-
  • MOVSLDUP—Replicate Single FP Values 4-
  • MOVSS—Move or Merge Scalar Single-Precision Floating-Point Value 4-
  • MOVSX/MOVSXD—Move with Sign-Extension 4-
  • MOVUPD—Move Unaligned Packed Double-Precision Floating-Point Values 4-
  • MOVUPS—Move Unaligned Packed Single-Precision Floating-Point Values 4-
  • MOVZX—Move with Zero-Extend. 4-
  • MPSADBW — Compute Multiple Packed Sums of Absolute Difference 4-
  • MUL—Unsigned Multiply 4-
  • MULPD—Multiply Packed Double-Precision Floating-Point Values 4-
  • MULPS—Multiply Packed Single-Precision Floating-Point Values 4-
  • MULSD—Multiply Scalar Double-Precision Floating-Point Value 4-
  • MULSS—Multiply Scalar Single-Precision Floating-Point Values 4-
  • MULX — Unsigned Multiply Without Affecting Flags. .4- PAGE
  • MWAIT—Monitor Wait .4-
  • NEG—Two's Complement Negation .4-
  • NOP—No Operation .4-
  • NOT—One's Complement Negation .4-
  • OR—Logical Inclusive OR .4-
  • ORPD—Bitwise Logical OR of Packed Double Precision Floating-Point Values .4-
  • ORPS—Bitwise Logical OR of Packed Single Precision Floating-Point Values .4-
  • OUT—Output to Port. .4-
  • OUTS/OUTSB/OUTSW/OUTSD—Output String to Port. .4-
  • PABSB/PABSW/PABSD/PABSQ — Packed Absolute Value .4-
  • PACKSSWB/PACKSSDW—Pack with Signed Saturation .4-
  • PACKUSDW—Pack with Unsigned Saturation .4-
  • PACKUSWB—Pack with Unsigned Saturation .4-
  • PADDB/PADDW/PADDD/PADDQ—Add Packed Integers .4-
  • PADDSB/PADDSW—Add Packed Signed Integers with Signed Saturation .4-
  • PADDUSB/PADDUSW—Add Packed Unsigned Integers with Unsigned Saturation .4-
  • PALIGNR — Packed Align Right .4-
  • PAND—Logical AND .4-
  • PANDN—Logical AND NOT. .4-
  • PAUSE—Spin Loop Hint .4-
  • PAVGB/PAVGW—Average Packed Integers. .4-
  • PBLENDVB — Variable Blend Packed Bytes. .4-
  • PBLENDW — Blend Packed Words. .4-
  • PCLMULQDQ - Carry-Less Multiplication Quadword .4-
  • PCMPEQB/PCMPEQW/PCMPEQD— Compare Packed Data for Equal .4-
  • PCMPEQQ — Compare Packed Qword Data for Equal .4-
  • PCMPESTRI — Packed Compare Explicit Length Strings, Return Index .4-
  • PCMPESTRM — Packed Compare Explicit Length Strings, Return Mask .4-
  • PCMPGTB/PCMPGTW/PCMPGTD—Compare Packed Signed Integers for Greater Than .4-
  • PCMPGTQ — Compare Packed Data for Greater Than .4-
  • PCMPISTRI — Packed Compare Implicit Length Strings, Return Index .4-
  • PCMPISTRM — Packed Compare Implicit Length Strings, Return Mask .4-
  • PDEP — Parallel Bits Deposit .4-
  • PEXT — Parallel Bits Extract. .4-
  • PEXTRB/PEXTRD/PEXTRQ — Extract Byte/Dword/Qword .4-
  • PEXTRW—Extract Word. .4-
  • PHADDW/PHADDD — Packed Horizontal Add .4-
  • PHADDSW — Packed Horizontal Add and Saturate .4-
  • PHMINPOSUW — Packed Horizontal Word Minimum .4-
  • PHSUBW/PHSUBD — Packed Horizontal Subtract .4-
  • PHSUBSW — Packed Horizontal Subtract and Saturate. .4-
  • PINSRB/PINSRD/PINSRQ — Insert Byte/Dword/Qword .4-
  • PINSRW—Insert Word .4-
  • PMADDUBSW — Multiply and Add Packed Signed and Unsigned Bytes .4-
  • PMADDWD—Multiply and Add Packed Integers .4-
  • PMAXSB/PMAXSW/PMAXSD/PMAXSQ—Maximum of Packed Signed Integers .4-
  • PMAXUB/PMAXUW—Maximum of Packed Unsigned Integers .4-
  • PMAXUD/PMAXUQ—Maximum of Packed Unsigned Integers .4-
  • PMINSB/PMINSW—Minimum of Packed Signed Integers .4-
  • PMINSD/PMINSQ—Minimum of Packed Signed Integers .4-
  • PMINUB/PMINUW—Minimum of Packed Unsigned Integers .4-
  • PMINUD/PMINUQ—Minimum of Packed Unsigned Integers. .4-
  • PMOVMSKB—Move Byte Mask. .4-
  • PMOVSX—Packed Move with Sign Extend .4-
  • PMOVZX—Packed Move with Zero Extend .4-
  • PMULDQ—Multiply Packed Doubleword Integers. .4-
  • PMULHRSW — Packed Multiply High with Round and Scale .4-
  • PMULHUW—Multiply Packed Unsigned Integers and Store High Result .4-
  • PMULHW—Multiply Packed Signed Integers and Store High Result 4- PAGE
  • PMULLD/PMULLQ—Multiply Packed Integers and Store Low Result. 4-
  • PMULLW—Multiply Packed Signed Integers and Store Low Result 4-
  • PMULUDQ—Multiply Packed Unsigned Doubleword Integers 4-
  • POP—Pop a Value from the Stack 4-
  • POPA/POPAD—Pop All General-Purpose Registers 4-
  • POPCNT — Return the Count of Number of Bits Set to 1. 4-
  • POPF/POPFD/POPFQ—Pop Stack into EFLAGS Register 4-
  • POR—Bitwise Logical OR 4-
  • PREFETCHh—Prefetch Data Into Caches 4-
  • PREFETCHW—Prefetch Data into Caches in Anticipation of a Write 4-
  • PREFETCHWT1—Prefetch Vector Data Into Caches with Intent to Write and T1 Hint 4-
  • PSADBW—Compute Sum of Absolute Differences 4-
  • PSHUFB — Packed Shuffle Bytes 4-
  • PSHUFD—Shuffle Packed Doublewords 4-
  • PSHUFHW—Shuffle Packed High Words. 4-
  • PSHUFLW—Shuffle Packed Low Words 4-
  • PSHUFW—Shuffle Packed Words 4-
  • PSIGNB/PSIGNW/PSIGND — Packed SIGN 4-
  • PSLLDQ—Shift Double Quadword Left Logical 4-
  • PSLLW/PSLLD/PSLLQ—Shift Packed Data Left Logical 4-
  • PSRAW/PSRAD/PSRAQ—Shift Packed Data Right Arithmetic 4-
  • PSRLDQ—Shift Double Quadword Right Logical 4-
  • PSRLW/PSRLD/PSRLQ—Shift Packed Data Right Logical 4-
  • PSUBB/PSUBW/PSUBD—Subtract Packed Integers 4-
  • PSUBQ—Subtract Packed Quadword Integers 4-
  • PSUBSB/PSUBSW—Subtract Packed Signed Integers with Signed Saturation. 4-
  • PSUBUSB/PSUBUSW—Subtract Packed Unsigned Integers with Unsigned Saturation. 4-
  • PTEST- Logical Compare 4-
  • PTWRITE - Write Data to a Processor Trace Packet 4-
  • PUNPCKHBW/PUNPCKHWD/PUNPCKHDQ/PUNPCKHQDQ— Unpack High Data. 4-
  • PUNPCKLBW/PUNPCKLWD/PUNPCKLDQ/PUNPCKLQDQ—Unpack Low Data 4-
  • PUSH—Push Word, Doubleword or Quadword Onto the Stack 4-
  • PUSHA/PUSHAD—Push All General-Purpose Registers. 4-
  • PUSHF/PUSHFD—Push EFLAGS Register onto the Stack 4-
  • PXOR—Logical Exclusive OR. 4-
  • RCL/RCR/ROL/ROR—Rotate 4-
  • RCPPS—Compute Reciprocals of Packed Single-Precision Floating-Point Values 4-
  • RCPSS—Compute Reciprocal of Scalar Single-Precision Floating-Point Values 4-
  • RDFSBASE/RDGSBASE—Read FS/GS Segment Base 4-
  • RDMSR—Read from Model Specific Register. 4-
  • RDPID—Read Processor ID 4-
  • RDPKRU—Read Protection Key Rights for User Pages 4-
  • RDPMC—Read Performance-Monitoring Counters 4-
  • RDRAND—Read Random Number. 4-
  • RDSEED—Read Random SEED 4-
  • RDTSC—Read Time-Stamp Counter 4-
  • RDTSCP—Read Time-Stamp Counter and Processor ID. 4-
  • REP/REPE/REPZ/REPNE/REPNZ—Repeat String Operation Prefix 4-
  • RET—Return from Procedure 4-
  • RORX — Rotate Right Logical Without Affecting Flags 4-
  • ROUNDPD — Round Packed Double Precision Floating-Point Values 4-
  • ROUNDPS — Round Packed Single Precision Floating-Point Values 4-
  • ROUNDSD — Round Scalar Double Precision Floating-Point Values 4-
  • ROUNDSS — Round Scalar Single Precision Floating-Point Values. 4-
  • RSM—Resume from System Management Mode. 4-
  • RSQRTPS—Compute Reciprocals of Square Roots of Packed Single-Precision Floating-Point Values 4-
  • RSQRTSS—Compute Reciprocal of Square Root of Scalar Single-Precision Floating-Point Value 4-
  • SAHF—Store AH into Flags. 4-
  • SAL/SAR/SHL/SHR—Shift .4- PAGE
  • SARX/SHLX/SHRX — Shift Without Affecting Flags .4-
  • SBB—Integer Subtraction with Borrow. .4-
  • SCAS/SCASB/SCASW/SCASD—Scan String .4-
  • SETcc—Set Byte on Condition .4-
  • SFENCE—Store Fence .4-
  • SGDT—Store Global Descriptor Table Register .4-
  • SHA1RNDS4—Perform Four Rounds of SHA1 Operation .4-
  • SHA1NEXTE—Calculate SHA1 State Variable E after Four Rounds .4-
  • SHA1MSG1—Perform an Intermediate Calculation for the Next Four SHA1 Message Dwords .4-
  • SHA1MSG2—Perform a Final Calculation for the Next Four SHA1 Message Dwords. .4-
  • SHA256RNDS2—Perform Two Rounds of SHA256 Operation .4-
  • SHA256MSG1—Perform an Intermediate Calculation for the Next Four SHA256 Message Dwords .4-
  • SHA256MSG2—Perform a Final Calculation for the Next Four SHA256 Message Dwords .4-
  • SHLD—Double Precision Shift Left .4-
  • SHRD—Double Precision Shift Right. .4-
  • SHUFPD—Packed Interleave Shuffle of Pairs of Double-Precision Floating-Point Values .4-
  • SHUFPS—Packed Interleave Shuffle of Quadruplets of Single-Precision Floating-Point Values. .4-
  • SIDT—Store Interrupt Descriptor Table Register. .4-
  • SLDT—Store Local Descriptor Table Register .4-
  • SMSW—Store Machine Status Word. .4-
  • SQRTPD—Square Root of Double-Precision Floating-Point Values .4-
  • SQRTPS—Square Root of Single-Precision Floating-Point Values .4-
  • SQRTSD—Compute Square Root of Scalar Double-Precision Floating-Point Value .4-
  • SQRTSS—Compute Square Root of Scalar Single-Precision Value .4-
  • STAC—Set AC Flag in EFLAGS Register. .4-
  • STC—Set Carry Flag. .4-
  • STD—Set Direction Flag .4-
  • STI—Set Interrupt Flag .4-
  • STMXCSR—Store MXCSR Register State .4-
  • STOS/STOSB/STOSW/STOSD/STOSQ—Store String .4-
  • STR—Store Task Register .4-
  • SUB—Subtract. .4-
  • SUBPD—Subtract Packed Double-Precision Floating-Point Values. .4-
  • SUBPS—Subtract Packed Single-Precision Floating-Point Values. .4-
  • SUBSD—Subtract Scalar Double-Precision Floating-Point Value .4-
  • SUBSS—Subtract Scalar Single-Precision Floating-Point Value .4-
  • SWAPGS—Swap GS Base Register .4-
  • SYSCALL—Fast System Call .4-
  • SYSENTER—Fast System Call. .4-
  • SYSEXIT—Fast Return from Fast System Call. .4-
  • SYSRET—Return From Fast System Call. .4-
  • TEST—Logical Compare .4-
  • TZCNT — Count the Number of Trailing Zero Bits. .4-
  • UCOMISD—Unordered Compare Scalar Double-Precision Floating-Point Values and Set EFLAGS .4-
  • UCOMISS—Unordered Compare Scalar Single-Precision Floating-Point Values and Set EFLAGS .4-
  • UD2—Undefined Instruction .4-
  • UNPCKHPD—Unpack and Interleave High Packed Double-Precision Floating-Point Values .4-
  • UNPCKHPS—Unpack and Interleave High Packed Single-Precision Floating-Point Values .4-
  • UNPCKLPD—Unpack and Interleave Low Packed Double-Precision Floating-Point Values. .4-
  • UNPCKLPS—Unpack and Interleave Low Packed Single-Precision Floating-Point Values .4-
  • CHAPTER
  • 5.1 TERNARY BIT VECTOR LOGIC TABLE 5- INSTRUCTION SET REFERENCE, V-Z
  • 5.2 INSTRUCTIONS (V-Z) 5-
  • VALIGND/VALIGNQ—Align Doubleword/Quadword Vectors. 5-
  • VBLENDMPD/VBLENDMPS—Blend Float64/Float32 Vectors Using an OpMask Control 5-
  • VBROADCAST—Load with Broadcast Floating-Point Data 5-
  • VINSERTI128/VINSERTI32x4/VINSERTI64x2/VINSERTI32x8/VINSERTI64x4—Insert Packed Integer Values 5- PAGE
  • VMASKMOV—Conditional SIMD Packed Loads and Stores 5-
  • VPBLENDD — Blend Packed Dwords 5-
  • VPBLENDMB/VPBLENDMW—Blend Byte/Word Vectors Using an Opmask Control. 5-
  • VPBLENDMD/VPBLENDMQ—Blend Int32/Int64 Vectors Using an OpMask Control 5-
  • VPBROADCASTB/W/D/Q—Load with Broadcast Integer Data from General Purpose Register 5-
  • VPBROADCAST—Load Integer and Broadcast 5-
  • VPCMPB/VPCMPUB—Compare Packed Byte Values Into Mask 5-
  • VPCMPD/VPCMPUD—Compare Packed Integer Values into Mask 5-
  • VPCMPQ/VPCMPUQ—Compare Packed Integer Values into Mask 5-
  • VPCMPW/VPCMPUW—Compare Packed Word Values Into Mask 5-
  • VPCOMPRESSD—Store Sparse Packed Doubleword Integer Values into Dense Memory/Register 5-
  • VPCOMPRESSQ—Store Sparse Packed Quadword Integer Values into Dense Memory/Register 5-
  • VPCONFLICTD/Q—Detect Conflicts Within a Vector of Packed Dword/Qword Values into Dense Memory/ Register. 5-
  • VPERM2F128 — Permute Floating-Point Values 5-
  • VPERM2I128 — Permute Integer Values. 5-
  • VPERMD/VPERMW—Permute Packed Doublewords/Words Elements 5-
  • VPERMI2W/D/Q/PS/PD—Full Permute From Two Tables Overwriting the Index 5-
  • VPERMILPD—Permute In-Lane of Pairs of Double-Precision Floating-Point Values. 5-
  • VPERMILPS—Permute In-Lane of Quadruples of Single-Precision Floating-Point Values. 5-
  • VPERMPD—Permute Double-Precision Floating-Point Elements 5-
  • VPERMPS—Permute Single-Precision Floating-Point Elements 5-
  • VPERMQ—Qwords Element Permutation. 5-
  • VPEXPANDD—Load Sparse Packed Doubleword Integer Values from Dense Memory / Register 5-
  • VPEXPANDQ—Load Sparse Packed Quadword Integer Values from Dense Memory / Register 5-
  • VPLZCNTD/Q—Count the Number of Leading Zero Bits for Packed Dword, Packed Qword Values. 5-
  • VPMASKMOV — Conditional SIMD Integer Packed Loads and Stores 5-
  • VPMOVM2B/VPMOVM2W/VPMOVM2D/VPMOVM2Q—Convert a Mask Register to a Vector Register 5-
  • VPMOVB2M/VPMOVW2M/VPMOVD2M/VPMOVQ2M—Convert a Vector Register to a Mask 5-
  • VPMOVQB/VPMOVSQB/VPMOVUSQB—Down Convert QWord to Byte 5-
  • VPMOVQW/VPMOVSQW/VPMOVUSQW—Down Convert QWord to Word 5-
  • VPMOVQD/VPMOVSQD/VPMOVUSQD—Down Convert QWord to DWord 5-
  • VPMOVDB/VPMOVSDB/VPMOVUSDB—Down Convert DWord to Byte 5-
  • VPMOVDW/VPMOVSDW/VPMOVUSDW—Down Convert DWord to Word 5-
  • VPMOVWB/VPMOVSWB/VPMOVUSWB—Down Convert Word to Byte 5-
  • PROLD/PROLVD/PROLQ/PROLVQ—Bit Rotate Left 5-
  • PRORD/PRORVD/PRORQ/PRORVQ—Bit Rotate Right 5-
  • Signed Qword Indices. 5- VPSCATTERDD/VPSCATTERDQ/VPSCATTERQD/VPSCATTERQQ—Scatter Packed Dword, Packed Qword with Signed Dword,
  • VPSLLVW/VPSLLVD/VPSLLVQ—Variable Bit Shift Left Logical 5-
  • VPSRAVW/VPSRAVD/VPSRAVQ—Variable Bit Shift Right Arithmetic 5-
  • VPSRLVW/VPSRLVD/VPSRLVQ—Variable Bit Shift Right Logical 5-
  • VPTERNLOGD/VPTERNLOGQ—Bitwise Ternary Logic 5-
  • VPTESTMB/VPTESTMW/VPTESTMD/VPTESTMQ—Logical AND and Set Mask 5-
  • VPTESTNMB/W/D/Q—Logical NAND and Set. 5-
  • VRANGEPD—Range Restriction Calculation For Packed Pairs of Float64 Values 5-
  • VRANGEPS—Range Restriction Calculation For Packed Pairs of Float32 Values. 5-
  • VRANGESD—Range Restriction Calculation From a pair of Scalar Float64 Values 5-
  • VRANGESS—Range Restriction Calculation From a Pair of Scalar Float32 Values 5-
  • VRCP14PD—Compute Approximate Reciprocals of Packed Float64 Values. 5-
  • VRCP14SD—Compute Approximate Reciprocal of Scalar Float64 Value 5-
  • VRCP14PS—Compute Approximate Reciprocals of Packed Float32 Values 5-
  • VRCP14SS—Compute Approximate Reciprocal of Scalar Float32 Value 5-
  • ative Error 5- VRCP28PD—Approximation to the Reciprocal of Packed Double-Precision Floating-Point Values with Less Than 2^-28 Rel-
  • Error. 5- VRCP28SD—Approximation to the Reciprocal of Scalar Double-Precision Floating-Point Value with Less Than 2^-28 Relative
  • tive Error 5- VRCP28PS—Approximation to the Reciprocal of Packed Single-Precision Floating-Point Values with Less Than 2^-28 Rela-
  • Error .5- VRCP28SS—Approximation to the Reciprocal of Scalar Single-Precision Floating-Point Value with Less Than 2^-28 Relative
  • VREDUCEPD—Perform Reduction Transformation on Packed Float64 Values .5-
  • VREDUCESD—Perform a Reduction Transformation on a Scalar Float64 Value .5-
  • VREDUCEPS—Perform Reduction Transformation on Packed Float32 Values. .5-
  • VREDUCESS—Perform a Reduction Transformation on a Scalar Float32 Value .5-
  • VRNDSCALEPD—Round Packed Float64 Values To Include A Given Number Of Fraction Bits .5-
  • VRNDSCALESD—Round Scalar Float64 Value To Include A Given Number Of Fraction Bits .5-
  • VRNDSCALEPS—Round Packed Float32 Values To Include A Given Number Of Fraction Bits .5-
  • VRNDSCALESS—Round Scalar Float32 Value To Include A Given Number Of Fraction Bits. .5-
  • VRSQRT14PD—Compute Approximate Reciprocals of Square Roots of Packed Float64 Values. .5-
  • VRSQRT14SD—Compute Approximate Reciprocal of Square Root of Scalar Float64 Value .5-
  • VRSQRT14PS—Compute Approximate Reciprocals of Square Roots of Packed Float32 Values .5-
  • VRSQRT14SS—Compute Approximate Reciprocal of Square Root of Scalar Float32 Value .5-
  • Than 2^-28 Relative Error .5- VRSQRT28PD—Approximation to the Reciprocal Square Root of Packed Double-Precision Floating-Point Values with Less
  • Than 2^-28 Relative Error .5- VRSQRT28SD—Approximation to the Reciprocal Square Root of Scalar Double-Precision Floating-Point Value with Less
  • Than 2^-28 Relative Error .5- VRSQRT28PS—Approximation to the Reciprocal Square Root of Packed Single-Precision Floating-Point Values with Less
  • 2^-28 Relative Error. .5- VRSQRT28SS—Approximation to the Reciprocal Square Root of Scalar Single-Precision Floating-Point Value with Less Than
  • VSCALEFPD—Scale Packed Float64 Values With Float64 Values. .5-
  • VSCALEFSD—Scale Scalar Float64 Values With Float64 Values. .5-
  • VSCALEFPS—Scale Packed Float32 Values With Float32 Values. .5-
  • VSCALEFSS—Scale Scalar Float32 Value With Float32 Value .5-
  • and Qword Indices .5- VSCATTERDPS/VSCATTERDPD/VSCATTERQPS/VSCATTERQPD—Scatter Packed Single, Packed Double with Signed Dword
  • ues with Signed Dword, Signed Qword Indices Using T0 Hint with Intent to Write .5- VSCATTERPF0DPS/VSCATTERPF0QPS/VSCATTERPF0DPD/VSCATTERPF0QPD—Sparse Prefetch Packed SP/DP Data Val-
  • ues with Signed Dword, Signed Qword Indices Using T1 Hint with Intent to Write .5- VSCATTERPF1DPS/VSCATTERPF1QPS/VSCATTERPF1DPD/VSCATTERPF1QPD—Sparse Prefetch Packed SP/DP Data Val-
  • VSHUFF32x4/VSHUFF64x2/VSHUFI32x4/VSHUFI64x2—Shuffle Packed Values at 128-bit Granularity. .5-
  • VTESTPD/VTESTPS—Packed Bit Test .5-
  • VZEROALL—Zero All YMM Registers .5-
  • VZEROUPPER—Zero Upper Bits of YMM Registers. .5-
  • WAIT/FWAIT—Wait .5-
  • WBINVD—Write Back and Invalidate Cache .5-
  • WRFSBASE/WRGSBASE—Write FS/GS Segment Base .5-
  • WRMSR—Write to Model Specific Register. .5-
  • WRPKRU—Write Data to User Page Key Register .5-
  • XACQUIRE/XRELEASE — Hardware Lock Elision Prefix Hints .5-
  • XABORT — Transactional Abort .5-
  • XADD—Exchange and Add .5-
  • XBEGIN — Transactional Begin .5-
  • XCHG—Exchange Register/Memory with Register .5-
  • XEND — Transactional End .5-
  • XGETBV—Get Value of Extended Control Register. .5-
  • XLAT/XLATB—Table Look-up Translation .5-
  • XOR—Logical Exclusive OR .5-
  • XORPD—Bitwise Logical XOR of Packed Double Precision Floating-Point Values .5-
  • XORPS—Bitwise Logical XOR of Packed Single Precision Floating-Point Values .5-
  • XRSTOR—Restore Processor Extended States .5-
  • XRSTORS—Restore Processor Extended States Supervisor .5-
  • XSAVE—Save Processor Extended States. .5-
  • XSAVEC—Save Processor Extended States with Compaction .5-
  • XSAVEOPT—Save Processor Extended States Optimized .5-
  • XSAVES—Save Processor Extended States Supervisor. .5-
  • XSETBV—Set Extended Control Register. .5-
  • XTEST — Test If In Transactional Execution. 5- PAGE
  • CHAPTER
  • 6.1 OVERVIEW 6- SAFER MODE EXTENSIONS REFERENCE
  • 6.2 SMX FUNCTIONALITY 6-
  • 6.2.1 Detecting and Enabling SMX 6-
  • 6.2.2 SMX Instruction Summary. 6-
  • 6.2.2.1 GETSEC[CAPABILITIES] 6-
  • 6.2.2.2 GETSEC[ENTERACCS] 6-
  • 6.2.2.3 GETSEC[EXITAC]. 6-
  • 6.2.2.4 GETSEC[SENTER] 6-
  • 6.2.2.5 GETSEC[SEXIT] 6-
  • 6.2.2.6 GETSEC[PARAMETERS] 6-
  • 6.2.2.7 GETSEC[SMCTRL]. 6-
  • 6.2.2.8 GETSEC[WAKEUP] 6-
  • 6.2.3 Measured Environment and SMX 6-
  • 6.3 GETSEC LEAF FUNCTIONS. 6-
  • GETSEC[CAPABILITIES] - Report the SMX Capabilities .6-
  • GETSEC[ENTERACCS] - Execute Authenticated Chipset Code 6-
  • GETSEC[EXITAC]—Exit Authenticated Code Execution Mode 6-
  • GETSEC[SENTER]—Enter a Measured Environment 6-
  • GETSEC[SEXIT]—Exit Measured Environment 6-
  • GETSEC[PARAMETERS]—Report the SMX Parameters 6-
  • GETSEC[SMCTRL]—SMX Mode Control 6-
  • GETSEC[WAKEUP]—Wake up sleeping processors in measured environment 6-
  • A.1 USING OPCODE TABLES A- OPCODE MAP
  • A.2 KEY TO ABBREVIATIONS A-
  • A.2.1 Codes for Addressing Method .A-
  • A.2.2 Codes for Operand Type .A-
  • A.2.3 Register Codes .A-
  • A.2.4 Opcode Look-up Examples for One, Two, and Three-Byte Opcodes .A-
  • A.2.4.1 One-Byte Opcode Instructions. A-
  • A.2.4.2 Two-Byte Opcode Instructions A-
  • A.2.4.3 Three-Byte Opcode Instructions. A-
  • A.2.4.4 VEX Prefix Instructions A-
  • A.2.5 Superscripts Utilized in Opcode Tables. .A-
  • A.3 ONE, TWO, AND THREE-BYTE OPCODE MAPS. A-
  • A.4 OPCODE EXTENSIONS FOR ONE-BYTE AND TWO-BYTE OPCODES A-
  • A.4.1 Opcode Look-up Examples Using Opcode Extensions A-
  • A.4.2 Opcode Extension Tables A-
  • A.5 ESCAPE OPCODE INSTRUCTIONS A-
  • A.5.1 Opcode Look-up Examples for Escape Instruction Opcodes. A-
  • A.5.2 Escape Opcode Instruction Tables A-
  • A.5.2.1 Escape Opcodes with D8 as First Byte A-
  • A.5.2.2 Escape Opcodes with D9 as First Byte A-
  • A.5.2.3 Escape Opcodes with DA as First Byte A-
  • A.5.2.4 Escape Opcodes with DB as First Byte A-
  • A.5.2.5 Escape Opcodes with DC as First Byte A-
  • A.5.2.6 Escape Opcodes with DD as First Byte A-
  • A.5.2.7 Escape Opcodes with DE as First Byte A-
  • A.5.2.8 Escape Opcodes with DF As First Byte A-
  • B.1 MACHINE INSTRUCTION FORMAT. B- INSTRUCTION FORMATS AND ENCODINGS
  • B.1.1 Legacy Prefixes .B- PAGE
  • B.1.2 REX Prefixes .B-
  • B.1.3 Opcode Fields .B-
  • B.1.4 Special Fields .B-
  • B.1.4.1 Reg Field (reg) for Non-64-Bit Modes .B-
  • B.1.4.2 Reg Field (reg) for 64-Bit Mode .B-
  • B.1.4.3 Encoding of Operand Size (w) Bit .B-
  • B.1.4.4 Sign-Extend (s) Bit .B-
  • B.1.4.5 Segment Register (sreg) Field .B-
  • B.1.4.6 Special-Purpose Register (eee) Field .B-
  • B.1.4.7 Condition Test (tttn) Field .B-
  • B.1.4.8 Direction (d) Bit. .B-
  • B.1.5 Other Notes .B-
  • B.2 GENERAL-PURPOSE INSTRUCTION FORMATS AND ENCODINGS FOR NON-64-BIT MODES B-
  • B.2.1 General Purpose Instruction Formats and Encodings for 64-Bit Mode B-
  • B.3 PENTIUM ® PROCESSOR FAMILY INSTRUCTION FORMATS AND ENCODINGS B-
  • B.4 64-BIT MODE INSTRUCTION ENCODINGS FOR SIMD INSTRUCTION EXTENSIONS B-
  • B.5 MMX INSTRUCTION FORMATS AND ENCODINGS B-
  • B.5.1 Granularity Field (gg). B-
  • B.5.2 MMX Technology and General-Purpose Register Fields (mmxreg and reg) B-
  • B.5.3 MMX Instruction Formats and Encodings Table B-
  • B.6 PROCESSOR EXTENDED STATE INSTRUCTION FORMATS AND ENCODINGS B-
  • B.7 P6 FAMILY INSTRUCTION FORMATS AND ENCODINGS B-
  • B.8 SSE INSTRUCTION FORMATS AND ENCODINGS B-
  • B.9 SSE2 INSTRUCTION FORMATS AND ENCODINGS B-
  • B.9.1 Granularity Field (gg). B-
  • B.10 SSE3 FORMATS AND ENCODINGS TABLE B-
  • B.11 SSSE3 FORMATS AND ENCODING TABLE B-
  • B.12 AESNI AND PCLMULQDQ INSTRUCTION FORMATS AND ENCODINGS B-
  • B.13 SPECIAL ENCODINGS FOR 64-BIT MODE B-
  • B.14 SSE4.1 FORMATS AND ENCODING TABLE B-
  • B.15 SSE4.2 FORMATS AND ENCODING TABLE B-
  • B.16 AVX FORMATS AND ENCODING TABLE. B-
  • B.17 FLOATING-POINT INSTRUCTION FORMATS AND ENCODINGS B-
  • B.18 VMX INSTRUCTIONS B-
  • B.19 SMX INSTRUCTIONS B-
  • C.1 SIMPLE INTRINSICS C- INTEL® C/C++ COMPILER INTRINSICS AND FUNCTIONAL EQUIVALENTS
  • C.2 COMPOSITE INTRINSICS C-
  • Figure 1-1. Bit and Byte Order 1- FIGURES
  • Figure 1-2. Syntax for CPUID, CR, and MSR Data Presentation. 1-
  • Figure 2-1. Intel 64 and IA-32 Architectures Instruction Format. 2-
  • Figure 2-2. Table Interpretation of ModR/M Byte (C8H) 2-
  • Figure 2-3. Prefix Ordering in 64-bit Mode 2-
  • Figure 2-4. Memory Addressing Without an SIB Byte; REX.X Not Used 2-
  • Figure 2-5. Register-Register Addressing (No Memory Operand); REX.X Not Used 2-
  • Figure 2-6. Memory Addressing With a SIB Byte 2-
  • Figure 2-7. Register Operand Coded in Opcode Byte; REX.X & REX.R Not Used 2-
  • Figure 2-8. Instruction Encoding Format with VEX Prefix 2-
  • Figure 2-9. VEX bit fields. 2-
  • Figure 2-10. AVX-512 Instruction Format and the EVEX Prefix. 2-
  • Figure 2-11. Bit Field Layout of the EVEX Prefix. 2-
  • Figure 3-1. Bit Offset for BIT[RAX, 21] 3-
  • Figure 3-2. Memory Bit Indexing. 3-
  • Figure 3-3. ADDSUBPD—Packed Double-FP Add/Subtract 3-
  • Figure 3-4. ADDSUBPS—Packed Single-FP Add/Subtract 3-
  • Figure 3-5. Memory Layout of BNDMOV to/from Memory 3-
  • Figure 3-6. Version Information Returned by CPUID in EAX 3-
  • Figure 3-7. Feature Information Returned in the ECX Register 3-
  • Figure 3-8. Feature Information Returned in the EDX Register 3-
  • Figure 3-9. Determination of Support for the Processor Brand String. 3-
  • Figure 3-10. Algorithm for Extracting Processor Frequency 3-
  • Figure 3-11. CVTDQ2PD (VEX.256 encoded version) 3-
  • Figure 3-12. VCVTPD2DQ (VEX.256 encoded version) 3-
  • Figure 3-13. VCVTPD2PS (VEX.256 encoded version). 3-
  • Figure 3-14. CVTPS2PD (VEX.256 encoded version) 3-
  • Figure 3-15. VCVTTPD2DQ (VEX.256 encoded version) 3-
  • Figure 3-16. HADDPD—Packed Double-FP Horizontal Add 3-
  • Figure 3-17. VHADDPD operation. 3-
  • Figure 3-18. HADDPS—Packed Single-FP Horizontal Add 3-
  • Figure 3-19. VHADDPS operation 3-
  • Figure 3-20. HSUBPD—Packed Double-FP Horizontal Subtract. 3-
  • Figure 3-21. VHSUBPD operation 3-
  • Figure 3-22. HSUBPS—Packed Single-FP Horizontal Subtract. 3-
  • Figure 3-23. VHSUBPS operation 3-
  • Figure 3-24. INVPCID Descriptor 3-
  • Figure 4-1. Operation of PCMPSTRx and PCMPESTRx. 4-
  • Figure 4-2. VMOVDDUP Operation 4-
  • Figure 4-3. MOVSHDUP Operation 4-
  • Figure 4-4. MOVSLDUP Operation 4-
  • Figure 4-5. 256-bit VMPSADBW Operation 4-
  • Figure 4-6. Operation of the PACKSSDW Instruction Using 64-bit Operands. 4-
  • Figure 4-7. 256-bit VPALIGN Instruction Operation 4-
  • Figure 4-8. PDEP Example. 4-
  • Figure 4-9. PEXT Example 4-
  • Figure 4-10. 256-bit VPHADDD Instruction Operation. 4-
  • Figure 4-11. PMADDWD Execution Model Using 64-bit Operands 4-
  • Figure 4-12. PMULHUW and PMULHW Instruction Operation Using 64-bit Operands 4-
  • Figure 4-13. PMULLU Instruction Operation Using 64-bit Operands 4-
  • Figure 4-14. PSADBW Instruction Operation Using 64-bit Operands. 4-
  • Figure 4-15. PSHUFB with 64-Bit Operands 4-
  • Figure 4-16. 256-bit VPSHUFD Instruction Operation 4-
  • Figure 4-17. PSLLW, PSLLD, and PSLLQ Instruction Operation Using 64-bit Operand 4-
  • Figure 4-18. PSRAW and PSRAD Instruction Operation Using a 64-bit Operand 4-
  • Figure 4-19. PSRLW, PSRLD, and PSRLQ Instruction Operation Using 64-bit Operand 4-
  • Figure 4-20. PUNPCKHBW Instruction Operation Using 64-bit Operands 4-
  • Figure 4-21. 256-bit VPUNPCKHDQ Instruction Operation 4- PAGE
  • Figure 4-22. PUNPCKLBW Instruction Operation Using 64-bit Operands 4-
  • Figure 4-23. 256-bit VPUNPCKLDQ Instruction Operation 4-
  • Figure 4-24. Bit Control Fields of Immediate Byte for ROUNDxx Instruction 4-
  • Figure 4-25. 256-bit VSHUFPD Operation of Four Pairs of DP FP Values 4-
  • Figure 4-26. 256-bit VSHUFPS Operation of Selection from Input Quadruplet and Pair-wise Interleaved Result 4-
  • Figure 4-27. VUNPCKHPS Operation 4-
  • Figure 4-28. VUNPCKLPS Operation. 4-
  • Figure 5-1. VBROADCASTSS Operation (VEX.256 encoded version). 5-
  • Figure 5-2. VBROADCASTSS Operation (VEX.128-bit version) 5-
  • Figure 5-3. VBROADCASTSD Operation (VEX.256-bit version) 5-
  • Figure 5-4. VBROADCASTF128 Operation (VEX.256-bit version) 5-
  • Figure 5-5. VBROADCASTF64X4 Operation (512-bit version with writemask all 1s) 5-
  • Figure 5-6. VCVTPH2PS (128-bit Version). 5-
  • Figure 5-7. VCVTPS2PH (128-bit Version). 5-
  • Figure 5-8. 64-bit Super Block of SAD Operation in VDBPSADBW 5-
  • Figure 5-9. VFIXUPIMMPD Immediate Control Description 5-
  • Figure 5-10. VFIXUPIMMPS Immediate Control Description 5-
  • Figure 5-11. VFIXUPIMMSD Immediate Control Description 5-
  • Figure 5-12. VFIXUPIMMSS Immediate Control Description 5-
  • Figure 5-13. Imm8 Byte Specifier of Special Case FP Values for VFPCLASSPD/SD/PS/SS 5-
  • Figure 5-14. VGETEXPPS Functionality On Normal Input values. 5-
  • Figure 5-15. Imm8 Controls for VGETMANTPD/SD/PS/SS 5-
  • Figure 5-16. VPBROADCASTD Operation (VEX.256 encoded version) 5-
  • Figure 5-17. VPBROADCASTD Operation (128-bit version) 5-
  • Figure 5-18. VPBROADCASTQ Operation (256-bit version) 5-
  • Figure 5-19. VBROADCASTI128 Operation (256-bit version). 5-
  • Figure 5-20. VBROADCASTI256 Operation (512-bit version). 5-
  • Figure 5-21. VPERM2F128 Operation 5-
  • Figure 5-22. VPERM2I128 Operation. 5-
  • Figure 5-23. VPERMILPD Operation 5-
  • Figure 5-24. VPERMILPD Shuffle Control 5-
  • Figure 5-25. VPERMILPS Operation 5-
  • Figure 5-26. VPERMILPS Shuffle Control 5-
  • Figure 5-27. Imm8 Controls for VRANGEPD/SD/PS/SS 5-
  • Figure 5-28. Imm8 Controls for VREDUCEPD/SD/PS/SS 5-
  • Figure 5-29. Imm8 Controls for VRNDSCALEPD/SD/PS/SS 5-
  • Figure A-1. ModR/M Byte nnn Field (Bits 5, 4, and 3) A-
  • Figure B-1. General Machine Instruction Format .B-
  • Figure B-2. Hybrid Notation of VEX-Encoded Key Instruction Bytes. B-