
Coding for SIMD Architectures
3
3-9
Figure 3-1
Converting to Streaming SIMD Extensions Chart
O M15156
Code benefits
from SIMD
STO P
Identify Hot Spots in Code
Integer or
floating-point?
Yes
Floating Point
W hy FP?
Can convert
to Integer?
Range or
Precision
If possible, re-arrange data
for SIMD efficiency
Integer
Change to use
SIM D Integer
Yes
Change to use
Single Precision
Can convert to
Single-precision?
Yes
No
No
Align data structures
Convert to code to use
SIMD Technologies
Follow general coding
guidelines and SIMD
coding guidelines
Use m em ory optim izations
and prefetch if appropriate
Schedule instructions to
optim ize perform ance
No
Perform ance
Summary of Contents for ARCHITECTURE IA-32
Page 1: ...IA 32 Intel Architecture Optimization Reference Manual Order Number 248966 013US April 2006...
Page 220: ...IA 32 Intel Architecture Optimization 3 40...
Page 434: ...IA 32 Intel Architecture Optimization 9 20...
Page 514: ...IA 32 Intel Architecture Optimization B 60...
Page 536: ...IA 32 Intel Architecture Optimization C 22...