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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

PSUBQ Packed Subtract Quadword<br />

Subtracts each packed <strong>64</strong>-bit integer value in the second source operand from the<br />

corresponding packed <strong>64</strong>-bit integer in the first source operand and writes the integer<br />

result of each subtraction in the corresponding quadword of the destination (first<br />

source). The first source/destination and source operands are an XMM register and<br />

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

Mnemonic Opcode Description<br />

PSUBQ xmm1, xmm2/mem<strong>128</strong> 66 0F FB /r Subtracts packed <strong>64</strong>-bit integer values in an XMM register or <strong>128</strong>bit<br />

memory location from packed <strong>64</strong>-bit integer values in another<br />

XMM register and writes the result in the destination XMM<br />

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 <strong>64</strong> bits of each result are written in the destination.<br />

Related Instructions<br />

PSUBB, PSUBD, PSUBSB, PSUBSW, PSUBUSB, PSUBUSW, PSUBW<br />

rFLAGS Affected<br />

None<br />

MXCSR Flags Affected<br />

None<br />

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

127 <strong>64</strong><br />

63 0<br />

subtract<br />

subtract<br />

127 <strong>64</strong> 63 0<br />

psubq-<strong>128</strong>.eps<br />

PSUBQ 313

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

Saved successfully!

Ooh no, something went wrong!