03.03.2013 Views

Intel® Architecture Instruction Set Extensions Programming Reference

Intel® Architecture Instruction Set Extensions Programming Reference

Intel® Architecture Instruction Set Extensions Programming Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DEST[191:144] 000000000000H<br />

DEST[207:192] SUM(TEMP24:TEMP31)<br />

DEST[223:208] 00000000000H<br />

VPSADBW (VEX.128 encoded version)<br />

TEMP0 ABS(SRC1[7:0] - SRC2[7:0])<br />

(* Repeat operation for bytes 2 through 14 *)<br />

TEMP15 ABS(SRC1[127:120] - SRC2[127:120])<br />

DEST[15:0] SUM(TEMP0:TEMP7)<br />

DEST[63:16] 000000000000H<br />

DEST[79:64] SUM(TEMP8:TEMP15)<br />

DEST[127:80] 00000000000H<br />

DEST[VLMAX:128] 0<br />

PSADBW (128-bit Legacy SSE version)<br />

TEMP0 ABS(DEST[7:0] - SRC[7:0])<br />

(* Repeat operation for bytes 2 through 14 *)<br />

TEMP15 ABS(DEST[127:120] - SRC[127:120])<br />

DEST[15:0] SUM(TEMP0:TEMP7)<br />

DEST[63:16] 000000000000H<br />

DEST[79:64] SUM(TEMP8:TEMP15)<br />

DEST[127:80] 00000000000<br />

DEST[VLMAX:128] (Unmodified)<br />

Intel C/C++ Compiler Intrinsic Equivalent<br />

(V)PSADBW: __m128i _mm_sad_epu8(__m128i a, __m128i b)<br />

VPSADBW: __m256i _mm256_sad_epu8( __m256i a, __m256i b)<br />

SIMD Floating-Point Exceptions<br />

None<br />

Other Exceptions<br />

See Exceptions Type 4<br />

INSTRUCTION SET REFERENCE<br />

Ref. # 319433-014 5-119

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!