Intel 253666-024US Computer Hardware User Manual


 
3-450 Vol. 2A HSUBPS—Packed Single-FP Horizontal Subtract
INSTRUCTION SET REFERENCE, A-M
In 64-bit mode, use of the REX.R prefix permits this instruction to access additional
registers (XMM8-XMM15).
Operation
xmm1[31:0] = xmm1[31:0] xmm1[63:32];
xmm1[63:32] = xmm1[95:64]
xmm1[127:96];
xmm1[95:64] = xmm2/m128[31:0]
xmm2/m128[63:32];
xmm1[127:96] = xmm2/m128[95:64]
xmm2/m128[127:96];
Intel C/C++ Compiler Intrinsic Equivalent
HSUBPS __m128 _mm_hsub_ps(__m128 a, __m128 b)
Exceptions
When the source operand is a memory operand, the operand must be aligned on a
16-byte boundary or a general-protection exception (#GP) will be generated.
Figure 3-13. HSUBPS—Packed Single-FP Horizontal Subtract
20
+68%36[PP[PPP
5(68/7
[PP
[PP
P
[PP>@
[PP>@
>@
[PP>@
[PP>@
>@
>@ >@
[PP
>@>@
[PPP
>@[PP
P>@
>@
[PPP
>@[PP
P>@
>@
>@ >@
>@>@