DEC Alpha Course : CS 420 Student : Narith Kun Instructor : Dr. Chi-cheng Lin Date : April 26, 2010.

Slides:



Advertisements
Similar presentations
Chapter 8: Central Processing Unit
Advertisements

1 Lecture 3: Instruction Set Architecture ISA types, register usage, memory addressing, endian and alignment, quantitative evaluation.
INSTRUCTION SET ARCHITECTURES
Some Other Instruction Set Architectures. Overview Alpha SPARC i386.
Systems Architecture Lecture 5: MIPS Instruction Set
Chapter 2.
Computer Organization and Architecture
Computer Organization and Architecture
Instructions Set Bo Cheng Instruction Set Design An Instruction Set provides a functional description of a processor. It is the visible.
MIPS Architecture CPSC 321 Computer Architecture Andreas Klappenecker.
Lecture 5 Sept 14 Goals: Chapter 2 continued MIPS assembly language instruction formats translating c into MIPS - examples.
Chapter 12 CPU Structure and Function. Example Register Organizations.
1 RISC Machines l RISC system »instruction –standard, fixed instruction format –single-cycle execution of most instructions –memory access is available.
CSE378 MIPS ISA1 MIPS History MIPS is a computer family –R2000/R3000 (32-bit); R4000/4400 (64-bit); R8000; R10000 (64-bit) etc. MIPS originated as a Stanford.
Chapter 5 Basic Processing Unit
Instruction Set Architecture
Alpha AXP Architecture Dr. Richard L. Sites Dr. Richard L. Sites Digital Technical Journal Digital Technical Journal Volume 4, Number 4 Volume 4, Number.
1 4.2 MARIE This is the MARIE architecture shown graphically.
Alpha AXP Architecture Dr. Richard L. Sites Digital Technical Journal Volume 4, Number 4 Special Issue 1992 Oliver Hampton Friday, January 31, 2003.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CS-334: Computer.
Chapter Six Sun SPARC Architecture. SPARC Processor The name SPARC stands for Scalable Processor Architecture SPARC architecture follows the RISC design.
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.
Ted Pedersen – CS 3011 – Chapter 10 1 A brief history of computer architectures CISC – complex instruction set computing –Intel x86, VAX –Evolved from.
COMPUTER ORGANIZATION AND ASSEMBLY LANGUAGE Lecture 19 & 20 Instruction Formats PDP-8,PDP-10,PDP-11 & VAX Course Instructor: Engr. Aisha Danish.
Oct. 25, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 9: Alternative Instruction Sets * Jeremy R. Johnson Wed. Oct. 25, 2000.
Csci 136 Computer Architecture II – Summary of MIPS ISA Xiuzhen Cheng
Chapter 2 — Instructions: Language of the Computer — 1 Memory Operands Main memory used for composite data – Arrays, structures, dynamic data To apply.
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO Session 7, 8 Instruction Set Architecture.
Ass. Prof. Dr Masri Ayob TK 2123 Lecture 14: Instruction Set Architecture Level (Level 2)
Jan. 5, 2000Systems Architecture II1 Machine Organization (CS 570) Lecture 1: Overview of High Performance Processors * Jeremy R. Johnson Wed. Sept. 27,
Instruction Sets: Characteristics and Functions  Software and Hardware interface Machine Instruction Characteristics Types of Operands Types of Operations.
High Performance Computing1 High Performance Computing (CS 680) Lecture 2a: Overview of High Performance Processors * Jeremy R. Johnson *This lecture was.
CSC 221 Computer Organization and Assembly Language Lecture 06: Machine Instruction Characteristics.
Computer Architecture & Operations I
Computer Architecture & Operations I
Advanced Architectures
Immediate Addressing Mode
A Closer Look at Instruction Set Architectures
CS161 – Design and Architecture of Computer Systems
ELEN 468 Advanced Logic Design
Processor Architecture: Introduction to RISC Datapath (MIPS and Nios II) CSCE 230.
William Stallings Computer Organization and Architecture 8th Edition
The University of Adelaide, School of Computer Science
CS170 Computer Organization and Architecture I
Computer Organization “Central” Processing Unit (CPU)
Systems Architecture I (CS ) Lecture 5: MIPS Instruction Set*
The Computer Architecture
The University of Adelaide, School of Computer Science
Rocky K. C. Chang 6 November 2017
ECEG-3202 Computer Architecture and Organization
Computer Architecture
ECEG-3202 Computer Architecture and Organization
Instruction Set Principles
What is Computer Architecture?
What is Computer Architecture?
CPU Structure CPU must:
Lecture 4: Instruction Set Design/Pipelining
Chapter 11 Processor Structure and function
Systems Architecture I (CS ) Lecture 5: MIPS Instruction Set*
Presentation transcript:

DEC Alpha Course : CS 420 Student : Narith Kun Instructor : Dr. Chi-cheng Lin Date : April 26, 2010

History Alpha was born out of an earlier RISC project named PRISM but it was cancelled. The decision was also made to upgrade the design to a full 64-bit implementation from PRISM's 32-bit, a conversion all of the major RISC vendors were undertaking The primary Alpha instruction set architects were Richard L. Sites and Richard T. Witek.

Instruction Set Architecture The Alpha Approach to RISC Architecture Alpha is a 64-bit architecture that is designed with particular emphasis on the three elements that most affect performance: clock speed, multiple instruction issue, and multiple processors.

What is ISA (alpha DEC) Aspects of the computer visible to the programmer: Data Types Registers Instruction format Addressing

Data format Alpha is a load/store RISC architecture with the following data characteristics: All operations are done between 64-bit registers. Memory is accessed via 64-bit virtual byte addresses, using the little- endian or, optionally, the big-endian byte numbering convention. There are 32 integer registers and 32 floating-point registers. Longword (32-bit) and quadword (64-bit) integers are supported. Five floating-point data types are supported: – VAX F_floating (32-bit) – VAX G_floating (64-bit) – IEEE single (32-bit) – IEEE double (64-bit) – IEEE extended (128-bit)

Instruction commone

Instruction

Instruction Format Op codeNumberPAL format Op codeRADispBranch format Op codeRARBDispMemory format Op codeRARBFunctionRCOperate format Op codeFAFBFunctionFCFloating Op

Instruction format PAL code (Privileged Architecture Library) use to specify extended processor function. It specify in the function code field, one of a few dozen complex Conditional branch instructions test register Ra and specify a signed 21-bit PC-relative longword target displacement. Subroutine calls put the return address in register Ra. Load and store instructions move bytes, words, longwords, or quadwords between register Ra and memory, using Rb plus a signed 16-bit displacement as the memory address.

Instruction Format Op codeRaRbSBZ0FunctionRc Op codeRaLit1FunctionRc

Instruction format Operate instructions for floating-point and integer operations -Word and byte sign-extension operators. -Floating-point operations use Ra and Rb as source registers and write the result in register Rc. There is an 11-bit extended opcode in the function field. - Integer operations use Ra and Rb or an 8-bit literal as the source operand, and write the result in register Rc. -Integer operate instructions can use the Rb field and part of the function field to specify an 8-bit literal. There is a 7-bit extended op code in the function field.

Operand Notation Ra An integer register operand in the Ra field of the instruction Rb An integer register operand in the Rb field of the instruction #b An integer literal operand in the Rb field of the instruction Rc An integer register operand in the Rc field of the instruction Fa A floating-point register operand in the Ra field of the instruction Fb A floating-point register operand in the Rb field of the instruction Fc A floating-point register operand in the Rc field of the instruction

Load Address Format: LDAx Ra.wq, disp.ab (Rb.ab) !Memory format Operation: Ra  Rbv + SEXT(disp) !LDA Ra  Rbv + SEXT(disp*65536) (sign extension) !LDAH Exceptions: None Instruction mnemonics: LDA Load Address LDAH Load Address High Qualifiers: None Description: The virtual address is computed by adding register Rb to the sign extended 16-bit displacement for LDA, and times the sign- extended 16-bit displacement for LDAH. The 64-bit result is written to register Ra.

Addressing Mode Register direct Immediate Register indirect with displacement PC-relative Operands in the Alpha can be 1, 2, 4 or 8 bytes in length.

Processor Design Alpha 21264:

Pipelining Stages DEC Alpha 21264: 9 stages pipeline Address translat e and cache access Decode instruct ion and read register Executi on Address translat e and cache access Tag check Write register file Write Memor y

Data path

Bran prediction Instruction Cache I resister rename map FP resister rename map I issue Que ue I issue Que ue Fp issue Que ue Fp issue Que ue I regis ter File I regis ter File FP regis ter File FP regis ter File ALU Shifter ALU Shifter ALU Shifter Mutiplier ALU Shifter Mutiplier F-Add, divide, square root F- Multiply Data Cache

Conclusion Design Policies Design Principle 1: Simplicity favors regularity 32 register Design Principle 2: Smaller is faster Design Principle 3: Make the common case fast Immediate operand avoids a load instruction Design Principle 4: Good design demands good compromises Different formats complicate decoding, but allow 32-bit instructions uniformly Keep formats as similar as possible Bi-endian

Conclusion Memory mapped file can be more difficult to implement in 32-bit architectures. A large files cannot be memory mapped easily to 32-bit architectures data encryption software can benefit greatly from 64- bit registers the same data occupies more space in memory x86-based 64-bit systems sometimes lack equivalents to software that is written for 32-bit architectures  this architecture should be more developing in the future. It is good way to deal with large data files.

Work cited The Alpha architecture handbook, version 4 lphaahb.pdf Patterson and Hennessy.Computer Organization and Design, 4 ed, Chapter Six Pipelined Processor Pipelining 00/pdf/lec_04_notes.pdf