3-34
INSTRUCTION SET REFERENCE
ANDPSBit-wise Logical And For Single FP
Description
The ANDPS instruction returns a bit-wise logical AND between XMM1 and XMM2/Mem.
Figure 3-6. Operation of the ANDPS Instruction
Operation
DEST[127-0] AND= SRC/m128[127-0];
Intel C/C++ Compiler Intrinsic Equivalent
__m128 _mm_and_ps(__m128 a, __m128 b)
Computes the bitwise And of the four SP FP values of a and b.
Exceptions
General protection exception if not aligned on 16-byte boundary, regardless of segment.
OpcodeInstruction
Description
0F,54,/rANDPS xmm1, xmm2/m128Logical AND of 128 bits from XMM2/Mem to XMM1
register.
=
Xmm1
=
=
=
Xmm2/
m128
ANDPS xmm1, xmm2/m128
0x11110000
0X00000000
0X00000000
0X000000000X00000000
0x11110000 0x00001111 0x11110000
0x00001111
0x00001111
0x11110000
0x00001111
Xmm1
&
&
&
&