x86 Assembly Language Reference Manual

SSE2 Compare Instructions

The SSE2 compare instructions compare packed and scalar double-precision floating-point values and return the results of the comparison to either the destination operand or to the EFLAGS register.

Table 3–39 SSE2 Compare Instructions

Solaris Mnemonic 

Intel/AMD Mnemonic 

Description 

Notes 

cmppd

CMPPD

compare packed double-precision floating-point values 

 

cmpsd

CMPSD

compare scalar double-precision floating-point values 

 

comisd

COMISD

perform ordered comparison of scalar double-precision floating-point values and set flags in EFLAGS register 

 

ucomisd

UCOMISD

perform unordered comparison of scalar double-precision floating-point values and set flags in EFLAGS register