psignb
Packed Sign Byte
PSIGNB xmm1, xmm2/m128
Negates/Zeroes bytes in dest based on sign of src.
Details
The Packed Sign Byte instruction negates/Zeroes bytes in dest based on sign of src.
Pseudocode Operation
// Negates/Zeroes bytes in dest based on sign of src
Example
PSIGNB xmm1, xmm2/m128
Encoding
Binary Layout
66
+0
0F
+1
38
+2
08
+3
Operands
-
dest
128-bit XMM SIMD register -
src
128-bit XMM SIMD register or Memory operand