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...

Create successful ePaper yourself

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

GENERAL OPTIMIZATION GUIDELINESExample 3-24. Using Four Registers to Reduce Memory Spills <strong>and</strong> Simplify Result Passingmov eax, [ebp+4]mov [ebp], eaxcall foomovd xmm0, eaxmov eax, [ebp+8]mov [ebp], eaxcall foomovd xmm1, eaxmov eax, [ebp+12]mov [ebp], eaxcall foomovd xmm2, eaxmov eax, [ebp+12+4]mov [ebp], eaxcall foomovd xmm3, eax3-43

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

Saved successfully!

Ooh no, something went wrong!