09.01.2013 Views

AMD x86-64 Architecture Programmer's Manual, Volume 4, 128-Bit ...

AMD x86-64 Architecture Programmer's Manual, Volume 4, 128-Bit ...

AMD x86-64 Architecture Programmer's Manual, Volume 4, 128-Bit ...

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.

<strong>AMD</strong><strong>64</strong> Technology 26568—Rev. 3.05—September 2003<br />

PADDB Packed Add Bytes<br />

Adds each packed 8-bit integer value in the first source operand to the corresponding<br />

packed 8-bit integer in the second source operand and writes the integer result of each<br />

addition in the corresponding byte of the destination (first source). The first<br />

source/destination operand is an XMM register and the second source operand is<br />

another XMM register or <strong>128</strong>-bit memory location.<br />

Mnemonic Opcode Description<br />

PADDB xmm1, xmm2/mem<strong>128</strong> 66 0F FC /r Adds packed byte integer values in an XMM register and another<br />

XMM register or <strong>128</strong>-bit memory location and writes the result in<br />

the destination XMM register.<br />

This instruction operates on both signed and unsigned integers. If the result<br />

overflows, the carry is ignored (neither the overflow nor carry bit in rFLAGS is set),<br />

and only the low-order 8 bits of each result are written in the destination.<br />

Related Instructions<br />

PADDD, PADDQ, PADDSB, PADDSW, PADDUSB, PADDUSW, PADDW<br />

rFLAGS Affected<br />

None<br />

MXCSR Flags Affected<br />

None<br />

127 0 127 0<br />

add<br />

xmm1 xmm2/mem<strong>128</strong><br />

. . . . . . . . . . . . . .<br />

. . . . . . . . . . . . . .<br />

212 PADDB<br />

add<br />

. . . . . . . . . . . . . .<br />

paddb-<strong>128</strong>.eps

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

Saved successfully!

Ooh no, something went wrong!