3-32
INSTRUCTION SET REFERENCE
ANDNPSBit-wise Logical And Not For Single-FP
Description
The ANDNPS instructions returns a bit-wise logical AND between the complement of XMM1
and XMM2/Mem.
Operation
DEST[127-0] = NOT (DEST[127-0]) AND SRC/m128[127-0];
Intel C/C++ Compiler Intrinsic Equivalent
__m128 _mm_andnot_ps(__m128 a, __m128 b)
Computes the bitwise AND-NOT of the four SP FP values of a and b.
OpcodeInstruction
Description
0F,55,/rANDNPS xmm1, xmm2/m128Invert the 128 bits in XMM1and then AND the result
with 128 bits from XMM2/Mem.
Figure 3-5. Operation of the ANDNPS Instruction
Xmm1
Xmm2/
m128
Xmm1
0x11110000
0x11110000 0x00001111
0x11110000
0x00001111
0x00001111
0x11110000
0x00001111
ANDNPS xmm1, xmm2/M12
8
0x00001111
0x11110000
&
&
&
=
=
=
=