Volume 3: General-Purpose and System Instructions - Stanford ...

Volume 3: General-Purpose and System Instructions - Stanford ... Volume 3: General-Purpose and System Instructions - Stanford ...

scs.stanford.edu
from scs.stanford.edu More from this publisher
13.07.2015 Views

AMD64 Technology 24594 Rev. 3.10 February 2005Table D-1.Instruction Subsets and CPUID Feature Sets (continued)FSTPFSTSWFloating-Point StoreStack Top and PopFloating-Point Store x87Status Word33FSUB Floating-Point Subtract 3 X87FSUBPFSUBRFSUBRPFTSTFUCOMFUCOMIInstructionMnemonic Description CPLFloating-Point Subtractand PopFloating-Point SubtractReverseFloating-Point SubtractReverse and PopFloating-Point Test withZeroFloating-PointUnordered CompareFloating-PointUnordered Compareand Set Flags333333General-PurposeInstruction Subsetand CPUID Feature Set(s) 1128-BitMedia64-BitMediax87X87X87X87X87X87X87X87X87SystemFUCOMIPFloating-PointUnordered Compareand Set Flags and Pop3X87FUCOMPFloating-PointUnordered Compareand Pop3X87FUCOMPPFloating-PointUnordered Compareand Pop Twice3X87FWAITWait for x87 Floating-Point Exceptions3X871. Columns indicate the instruction subsets. Entries indicate the CPUID feature set(s) to which the instruction belongs.2. Mnemonic is used for two different instructions. Assemblers can distinguish them by the number and type of operands.470 Appendix D: Instruction Subsets and CPUID Feature Sets

24594 Rev. 3.10 February 2005 AMD64 TechnologyTable D-1.Instruction Subsets and CPUID Feature Sets (continued)FXAM Floating-Point Examine 3 X87FXCH Floating-Point Exchange 3 X87FXRSTORFXSAVEFXTRACTRestore XMM, MMX, andx87 StateSave XMM, MMX, andx87 StateFloating-Point ExtractExponent andSignificand333FXSAVE,FXRSTORFXSAVE,FXRSTORFXSAVE,FXRSTORFXSAVE,FXRSTORFXSAVE,FXRSTORFXSAVE,FXRSTORFYL2X Floating-Point y * log2x 3 X87FYL2XP1HADDPDHADDPSFloating-Pointy * log2(x +1)Horizontal Add PackedDoubleHorizontal Add PackedSingle33SSE33 SSE3HLT Halt 0 BasicHSUBPDHSUBPSInstructionMnemonic Description CPLHorizontal SubtractPacked DoubleHorizontal SubtractPacked SingleGeneral-Purpose3 SSE33 SSE3IDIV Signed Divide 3 BasicIMUL Signed Multiply 3 BasicIN Input from Port 3 BasicINC Increment by 1 3 BasicINS Input String 3 BasicINSB Input String Byte 3 BasicInstruction Subsetand CPUID Feature Set(s) 1128-BitMedia64-BitMedia1. Columns indicate the instruction subsets. Entries indicate the CPUID feature set(s) to which the instruction belongs.2. Mnemonic is used for two different instructions. Assemblers can distinguish them by the number and type of operands.x87X87X87SystemAppendix D: Instruction Subsets and CPUID Feature Sets 471

AMD64 Technology 24594 Rev. 3.10 February 2005Table D-1.Instruction Subsets <strong>and</strong> CPUID Feature Sets (continued)FSTPFSTSWFloating-Point StoreStack Top <strong>and</strong> PopFloating-Point Store x87Status Word33FSUB Floating-Point Subtract 3 X87FSUBPFSUBRFSUBRPFTSTFUCOMFUCOMIInstructionMnemonic Description CPLFloating-Point Subtract<strong>and</strong> PopFloating-Point SubtractReverseFloating-Point SubtractReverse <strong>and</strong> PopFloating-Point Test withZeroFloating-PointUnordered CompareFloating-PointUnordered Compare<strong>and</strong> Set Flags333333<strong>General</strong>-<strong>Purpose</strong>Instruction Subset<strong>and</strong> CPUID Feature Set(s) 1128-BitMedia64-BitMediax87X87X87X87X87X87X87X87X87<strong>System</strong>FUCOMIPFloating-PointUnordered Compare<strong>and</strong> Set Flags <strong>and</strong> Pop3X87FUCOMPFloating-PointUnordered Compare<strong>and</strong> Pop3X87FUCOMPPFloating-PointUnordered Compare<strong>and</strong> Pop Twice3X87FWAITWait for x87 Floating-Point Exceptions3X871. Columns indicate the instruction subsets. Entries indicate the CPUID feature set(s) to which the instruction belongs.2. Mnemonic is used for two different instructions. Assemblers can distinguish them by the number <strong>and</strong> type of oper<strong>and</strong>s.470 Appendix D: Instruction Subsets <strong>and</strong> CPUID Feature Sets

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

Saved successfully!

Ooh no, something went wrong!