13.07.2015 Views

Intel® 64 and IA-32 Architectures Optimization Reference Manual

Intel® 64 and IA-32 Architectures Optimization Reference Manual

Intel® 64 and IA-32 Architectures Optimization Reference Manual

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CODING FOR SIMD ARCHITECTURESIdentify Hot Spots in CodeNoCode benefitsfrom SIMDYesFloating PointInteger orfloating-point?IntegerWhy FP?PerformanceIf possible, re-arrange datafor SIMD efficiencyRange orPrecisionAlign data structuresCan convertto Integer?YesChange to useSIMD IntegerConvert to code to useSIMD TechnologiesNoFollow general codingguidelines <strong>and</strong> SIMDcoding guidelinesCan convert toSingle-precision?YesChange to useSingle PrecisionUse memory optimizations<strong>and</strong> prefetch if appropriateNoSchedule instructions tooptimize performanceSTOPOM15156Figure 4-1. Converting to Streaming SIMD Extensions Chart4-5

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

Saved successfully!

Ooh no, something went wrong!