cmpsd
Compare Scalar Double-Precision
CMPSD xmm1, xmm2/m64, imm8
Compares low double-precision values and returns mask.
Details
The Compare Scalar Double-Precision instruction compares low double-precision values and returns mask.
Pseudocode Operation
// Flags <- DEST - SRC (result discarded)
// Flags affected: OF, SF, ZF, AF, CF, PF
Example
CMPSD xmm1, xmm2/m64, 3
Encoding
Binary Layout
F2
+0
0F
+1
C2
+2
Operands
-
dest
128-bit XMM SIMD register -
src1
128-bit XMM SIMD register or Memory operand -
src2
8-bit signed immediate