Intel 64 and IA-32 Architectures Software Developers Manual Volume 2B, Instruction Set Reference, N-Z

Vol. 2B 4-23
INSTRUCTION SET REFERENCE, N-Z
PABSB with 128 bit operands:
Unsigned DEST[7..0] <- ABS(SRC[7..0])
Repeat operation for 2nd through 15th bytes
Unsigned DEST[127..120] <- ABS(SRC[127..120])
PABSW with 64 bit operands:
Unsigned DEST[15..0] <- ABS(SRC[15..0])
Repeat operation for 2nd through 3rd 16-bit words
Unsigned DEST[63..48] <- ABS(SRC[63..48])
PABSW with 128 bit operands:
Unsigned DEST[15..0] <- ABS(SRC[15..0])
Repeat operation for 2nd through 7th 16-bit words
Unsigned DEST[127..112] <- ABS(SRC[127..112])
PABSD with 64 bit operands:
Unsigned DEST[31..0] <- ABS(SRC[31..0])
Unsigned DEST[63..32] <- ABS(SRC[63..32])
PABSD with 128 bit operands:
Unsigned DEST[31..0] <- ABS(SRC[31..0])
Repeat operation for 2nd through 3rd 32-bit double words
Unsigned DEST[127..96] <- ABS(SRC[127..96])
Intel C/C++ Compiler Intrinsic Equivalents
PABSB __m64 _mm_abs_pi8 (__m64 a)
PABSB __m128i _mm_abs_epi8 (__m128i a)
PABSW __m64 _mm_abs_pi16 (__m64 a)
PABSW __m128i _mm_abs_epi16 (__m128i a)
PABSD __m64 _mm_abs_pi32 (__m64 a)
PABSD __m128i _mm_abs_epi32 (__m128i a)
Protected Mode Exceptions
#GP(0): If a memory operand effective address is outside the CS, DS,
ES, FS or GS segments.
(128-bit operations only) If not aligned on 16-byte boundary,
regardless of segment.
#SS(0) If a memory operand effective address is outside the SS
segment limit.
#PF(fault-code) If a page fault occurs.
#UD If CR0.EM = 1.
(128-bit operations only) If CR4.OSFXSR(bit 9) = 0.