1 © 2004 Hill, from Falsafi, Hill, Hoe, Lipasti, Shen, Smith, Sohi, Vijaykumar, & Wood  Chapter 2: Instruction Sets CS/ECE/752 Vax & Emer/Clark Instructor:

Slides:



Advertisements
Similar presentations
Chapter 3 Instruction Set Architecture Advanced Computer Architecture COE 501.
Advertisements

CEG3420 Lec2.1 ©UCB Fall 1997 ISA Review CEG3420 Computer Design Lecture 2.
1 Lecture 3: Instruction Set Architecture ISA types, register usage, memory addressing, endian and alignment, quantitative evaluation.
EECC551 - Shaaban #1 Lec # 2 Fall Instruction Set Architecture (ISA) “... the attributes of a [computing] system as seen by the programmer,
INSTRUCTION SET ARCHITECTURES
10/9: Lecture Topics Starting a Program Exercise 3.2 from H+P Review of Assembly Language RISC vs. CISC.
ELEN 468 Advanced Logic Design
CSC 3650 Introduction to Computer Architecture Time: 3:30 to 6:30Meeting Days: WLocation: Oxendine 1237B Textbook: Essentials of Computer Architecture,
Instruction Set Architecture
1: Background1 System Programming ( 系統程式 ) Main goal: r What is a system software? m Compiler m Assembler m Loader and Linker m Debugger… r To design and.
CSE378 ISA evolution1 Evolution of ISA’s ISA’s have changed over computer “generations”. A traditional way to look at ISA complexity encompasses: –Number.
COMP381 by M. Hamdi 1 Instruction Set Architectures.
Execution of an instruction
MIPS Architecture CPSC 321 Computer Architecture Andreas Klappenecker.
Computer Architecture Lecture 5 Design Decisions for a 64-bit RISC Architecture Source of almost all Slide: Text Book.
CIS429/529 ISA - 1 Instruction Set Architectures Classification Addressing Modes Types of Instructions Encoding Instructions MIPS64 Instruction Set.
A Dynamic Binary Translation Approach to Architectural Simulation Harold “Trey” Cain, Kevin Lepak, and Mikko Lipasti Computer Sciences Department Department.
Pentium Addressing Modes
Chapter 11 Instruction Sets: Addressing Modes and Formats HW: 11.4, 5, 13, 16 (Due 11/15)
Princess Sumaya Univ. Computer Engineering Dept. Chapter 2:
Chapter 5: ISAs In MARIE, we had simple instructions –4 bit op code followed by either 12 bit address for load, store, add, subt, jump 2 bit condition.
VAX-11/780 – A Virtual Address Extension to the DEC PDP-11 Family ( Author : W.D.Strecker ) By Padmaja chowti.
Machine Instruction Characteristics
Instruction Set Architecture
Classifying GPR Machines TypeNumber of Operands Memory Operands Examples Register- Register 30 SPARC, MIPS, etc. Register- Memory 21 Intel 80x86, Motorola.
VAX. Agenda VAX and its History VAX ISA VAX Virtual Address Microcode.
Lecture 4: MIPS Subroutines and x86 Architecture Professor Mike Schulte Computer Architecture ECE 201.
1 Instruction Set Architecture (ISA) Alexander Titov 10/20/2012.
Introduction to Computer Engineering CS/ECE 252, Fall 2009 Prof. Mark D. Hill Computer Sciences Department University of Wisconsin – Madison.
Instruction Set Architecture The portion of the machine visible to the programmer Issues: Internal storage model Addressing modes Operations Operands Encoding.
VAX-11/780 A VIRTUAL ADDRESS EXTENSION TO THE DEC PDP-11 FAMILY VAX-11/780 A VIRTUAL ADDRESS EXTENSION TO THE DEC PDP-11 FAMILY W.D.STRECKER W.D.STRECKER.
Oct. 25, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 9: Alternative Instruction Sets * Jeremy R. Johnson Wed. Oct. 25, 2000.
Computer Architecture Lecture 03 Fasih ur Rehman.
Addressing Modes and Formats
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO Session 7, 8 Instruction Set Architecture.
COMPUTER ORGANIZATION LECTURE 3: ISA YASSER MOHAMMAD.
Lecture 6: Instruction Set Architecture Computer Engineering 585 Fall 2001.
1/11/02CSE ISA's part 2 Instruction Set Architectures Part 2 I/O systemInstr. Set Proc. Compiler Operating System Application Digital Design Circuit.
Computer Architecture & Operations I
Computer Architecture & Operations I
15-740/ Computer Architecture Lecture 3: Performance
A Closer Look at Instruction Set Architectures
ELEN 468 Advanced Logic Design
COMP2121: Microprocessors and Interfacing
Alvaro Mauricio Peña Dariusz Niworowski Frank Rodriguez
Prof. Sirer CS 316 Cornell University
A Closer Look at Instruction Set Architectures: Expanding Opcodes
Introduction to Computer Engineering
Advanced Computer Architecture 5MD00 / 5Z032 Instruction Set Design
ECE/CS 552: Instruction Sets – MIPS
CS170 Computer Organization and Architecture I
ECE/CS 552: Instruction Sets – x86
The University of Adelaide, School of Computer Science
Chapter 8 Central Processing Unit
ECEG-3202 Computer Architecture and Organization
Introduction to Micro Controllers & Embedded System Design
ECEG-3202 Computer Architecture and Organization
Evolution of ISA’s ISA’s have changed over computer “generations”.
Instruction Set Principles
Evolution of ISA’s ISA’s have changed over computer “generations”.
Central Processing Unit.
Evolution of ISA’s ISA’s have changed over computer “generations”.
Introduction to Computer Engineering
Introduction to Computer Engineering
Evolution of ISA’s ISA’s have changed over computer “generations”.
Introduction to Computer Engineering
Computer Organization
Presentation transcript:

1 © 2004 Hill, from Falsafi, Hill, Hoe, Lipasti, Shen, Smith, Sohi, Vijaykumar, & Wood  Chapter 2: Instruction Sets CS/ECE/752 Vax & Emer/Clark Instructor: Prof. Mark D. Hill Slides developed by Profs. Falsafi, Hill, Hoe, Lipasti, Shen, Smith, Sohi, Vijaykumar & Wood of Carnegie Mellon University, Purdue University, & University of Wisconsin CS/ECE/752 Vax & Emer/Clark Instructor: Prof. Mark D. Hill Slides developed by Profs. Falsafi, Hill, Hoe, Lipasti, Shen, Smith, Sohi, Vijaykumar & Wood of Carnegie Mellon University, Purdue University, & University of Wisconsin Computer Sciences Department Electrical & Computer Engineering Department University of Wisconsin-Madison

2 © 2004 Hill, from Falsafi, Hill, Hoe, Lipasti, Shen, Smith, Sohi, Vijaykumar, & Wood  Chapter 2: Instruction Sets VAX DEC 1977 VAX 11/780  upward compatible from PDP-11  32-bit words and addresses  virtual memory  16 GPRs (R15 PC, R14 SP), CCs  extremely orthogonal and memory-memory  decode as byte stream, variable in length (1-61 bytes)  opcode, operation, #operands, operand types

3 © 2004 Hill, from Falsafi, Hill, Hoe, Lipasti, Shen, Smith, Sohi, Vijaykumar, & Wood  Chapter 2: Instruction Sets VAX Data Types  8, 16, 32, 64, 128  char string, 8 bits/char  decimal, 4 bits/char  numeric string, 8 bits/digit

4 © 2004 Hill, from Falsafi, Hill, Hoe, Lipasti, Shen, Smith, Sohi, Vijaykumar, & Wood  Chapter 2: Instruction Sets VAX Addressing Modes  literal, 6 bits  8, 16, 32 bit immediates  register, register deferred  8, 16, 32 bit displacements  8, 16, 32 bit displacements deferred  indexed (scaled)  autoincrement, autodecrement  autoincrement deferred

5 © 2004 Hill, from Falsafi, Hill, Hoe, Lipasti, Shen, Smith, Sohi, Vijaykumar, & Wood  Chapter 2: Instruction Sets VAX Operations  data transfer including string move  arithmetic and logical (2 and 3 operands)  control (branch, jump, etc.)  e.g., AOBLEQ  function calls save state  bit manipulation  floating point: add, sub, mul, div, polyf  system: exception, VM  other: CRC, INSQUE

6 © 2004 Hill, from Falsafi, Hill, Hoe, Lipasti, Shen, Smith, Sohi, Vijaykumar, & Wood  Chapter 2: Instruction Sets VAX Example addl3 R1, 737(R2), #456  byte 1:addl3  byte 2:mode, R1  byte 3:mode, R2  byte 4-5:737  byte 6:mode  byte 7-10:456 VAX has too many modes and formats However, few modes/formats => fast decoding in the pipeline Argument for RISC?

7 © 2004 Hill, from Falsafi, Hill, Hoe, Lipasti, Shen, Smith, Sohi, Vijaykumar, & Wood  Chapter 2: Instruction Sets Emer and Clark’s VAX study Evaluation method: Microcode profiler 1 microPC

8 © 2004 Hill, from Falsafi, Hill, Hoe, Lipasti, Shen, Smith, Sohi, Vijaykumar, & Wood  Chapter 2: Instruction Sets Emer and Clark, cont. Opcode Frequencies  84% Simple opcodes  39% Change PC  17% Simple conditional branches  2.4% Procedure call/return  4.5% (fast) subroutine call/return PC Changing Instructions Type% Instr% Taken%All Taken Simple Loop Bit6433 Total How do these compare to RISC ISAs?

9 © 2004 Hill, from Falsafi, Hill, Hoe, Lipasti, Shen, Smith, Sohi, Vijaykumar, & Wood  Chapter 2: Instruction Sets Emer and Clark, cont. Operand Specifiers  1.3 specifiers per instruction  0.3 branch displacements per instruction Average instruction size = 3.8 bytes SpecifierFrequency Register41% Short literal16% Immediate 3% Base-displacement25% Register deferred 9% Total94% Scaled 6% RISC-like addressing modes