
Optimizing for SIMD Floating-point Applications
5
5-23
SSE3 and Complex Arithmetics
The flexibility of SSE3 in dealing with AOS-type of data structure can
be demonstrated by the example of multiplication and division of
complex numbers. For example, a complex number can be stored in a
structure consisting of its real and imaginary part. This naturally leads to
the use of an array of structure. Example 5-11 demonstrates using SSE3
Figure 5-4
Asymmetric Arithmetic Operation of the SSE3 Instruction
Figure 5-5
Horizontal Arithmetic Operation of the SSE3 Instruction HADDPD
X1
X0
X1 + Y1
X0 -Y0
SUB
Y1
Y0
ADD
X1
X0
Y0 + Y1
X0 + X1
ADD
Y1
Y0
ADD
Содержание ARCHITECTURE IA-32
Страница 1: ...IA 32 Intel Architecture Optimization Reference Manual Order Number 248966 013US April 2006...
Страница 220: ...IA 32 Intel Architecture Optimization 3 40...
Страница 434: ...IA 32 Intel Architecture Optimization 9 20...
Страница 514: ...IA 32 Intel Architecture Optimization B 60...
Страница 536: ...IA 32 Intel Architecture Optimization C 22...
Страница 560: ...IA 32 Intel Architecture Optimization E 14...