chapter1-AppendixA-m2-ziavras

With a constant loading reg with constant may not be

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ted from D. Culler & D. Patterson (UCB) S. Ziavras Use of Memory Addressing Modes They represent 97-100% of modes. Reg. & memory modes are missing here 3 SPEC89 benchmarks on VAX Some material is adapted from D. Culler & D. Patterson (UCB) S. Ziavras Displacement Addressing Mode Displ/ field sizes directly affect instr. length CINT2000 CFP2000 Load-store Alpha arch. Full optimization Alpha arch Full optimization for SPEC CPU2000 Some material is adapted from D. Culler & D. Patterson (UCB) S. Ziavras Immediate/Literal Addressing Mode • Used in – Arithmetic operations – Comparisons (primarily for branches) – Loading a reg. with a constant Loading reg with constant • May not be supported by all operations • Size of immediate values affects instr. length of immediate values affects instr. length Some material is adapted from D. Culler & D. Patterson (UCB) S. Ziavras Immediate/Literal Addressing Mode (2) Same programs & system as in previous figure About one-quarter of data tra...
View Full Document

Ask a homework question - tutors are online