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
 
Format SSSE3
Opcode 66 0F 38 08
Extension SSSE3

Operands

  • dest
    128-bit XMM SIMD register
  • src
    128-bit XMM SIMD register or Memory operand