cs8803SC_lecture20 - CS8803SC Software and Hardware...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CS8803SC Software and Hardware Cooperative Computing Intel X86/SSE/software optimizations Prof. Hyesoon Kim School of Computer Science Georgia Institute of Technology Today’s Goal • Be familiar with x86 ISA – Helpful to use Pin also • Some code optimization examples • More on this: look at Intel’s manuals (http://www.intel.com/products/processor/m anuals/)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 IA-32 • Little endian Byte3 Byte2 Byte1 Byte0 Base address+0 Byte0 Base address+1 Byte1 Base address+2 Byte2 Base address+3 Byte3 objdump –d a.out 400469: 48 89 e5 mov %rsp, %rbp E5 89 48 LSB MSB Instruction Format Intel manual
Background image of page 2
3 Prefixes • Operand size override • Segment register override • Repeat string operation (For MOVS only) • Lock • Up to 4 prefixes (legacy prefix in 64-bit mode) Addressing Modes • Immediate • Register • Mod R/M Byte • SIB Byte ( scale index bit: 2D array)
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 Data Types • Quad word • Double word • Word • Byte General Purpose Registers
Background image of page 4
General-purpose registers in 64-bit mode
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/06/2010 for the course CS 8803 taught by Professor Staff during the Spring '08 term at Georgia Institute of Technology.

Page1 / 13

cs8803SC_lecture20 - CS8803SC Software and Hardware...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online