Global Information Lookup Global Information

FCMOV information


FCMOV is a floating point conditional move opcode of the Intel x86 architecture, first introduced in Pentium Pro processors. It copies the contents of one of the floating point stack register, depending on the contents of EFLAGS integer flag register, to the ST(0) (top of stack) register. There are 8 variants of the instruction selected by the condition codes that need be set for the instruction to perform the move.

Similar to the CMOV instruction, FCMOV allows some conditional operations to be performed without the usual branching overhead.[1] However, it has a higher latency than conditional branch instructions.[2] Therefore, it is most useful for simple yet unpredictable comparison or conditional operations, where it can provide substantial performance gains.

The instruction is usually used with the FCOMI instruction or the FCOM-FSTSW-SAHF idiom to set the relevant condition codes based on the result of a floating point comparison.

  1. ^ Intel Architecture Software Developer Manual, Volume 2: Instruction Set Reference. Available for download at [1]
  2. ^ Fog, A: Optimizing subroutines in assembly language. An optimization guide for x86 platforms. Available for download at [2]

and 3 Related for: FCMOV information

Request time (Page generated in 0.534 seconds.)

FCMOV

Last Update:

FCMOV is a floating point conditional move opcode of the Intel x86 architecture, first introduced in Pentium Pro processors. It copies the contents of...

Word Count : 259

Processor supplementary capability

Last Update:

Range Register PGE PTE Global Bit (also see Page table) MCA Machine Check Architecture CMOV Conditional Move and Compare Instructions (also see FCMOV)...

Word Count : 564

CPUID

Last Update:

SYSENTER and SYSEXIT instructions are not supported on the Pentium Pro. FCMOV and FCOMI instructions only available if onboard x87 FPU also present (indicated...

Word Count : 11721

PDF Search Engine © AllGlobal.net