Chapter Six Sun SPARC Architecture. SPARC Processor The name SPARC stands for Scalable Processor Architecture SPARC architecture follows the RISC design.

Slides:



Advertisements
Similar presentations
THE SPARC ARCHITECTURE Presented By M. SHAHADAT HOSSAIN NAIEEM TOURZO KHAN SARDER FERDOUS SADIQUE
Advertisements

Chapter 8: Central Processing Unit
Chapter 3 Instruction Set Architecture Advanced Computer Architecture COE 501.
RISC / CISC Architecture By: Ramtin Raji Kermani Ramtin Raji Kermani Rayan Arasteh Rayan Arasteh An Introduction to Professor: Mr. Khayami Mr. Khayami.
Microprocessors General Features To be Examined For Each Chip Jan 24 th, 2002.
THE SPARC ARCHITECTURE: THE SUPERSPARC MICROPROCESSOR Presented By OZAN AKTAN
Tuan Tran. What is CISC? CISC stands for Complex Instruction Set Computer. CISC are chips that are easy to program and which make efficient use of memory.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
PART 4: (2/2) Central Processing Unit (CPU) Basics CHAPTER 13: REDUCED INSTRUCTION SET COMPUTERS (RISC) 1.
Computer Architecture and Data Manipulation Chapter 3.
COMP3221: Microprocessors and Embedded Systems Lecture 2: Instruction Set Architecture (ISA) Lecturer: Hui Wu Session.
Chapter XI Reduced Instruction Set Computing (RISC) CS 147 Li-Chuan Fang.
CS2422 Assembly Language & System Programming November 28, 2006.
RISC By Don Nichols. Contents Introduction History Problems with CISC RISC Philosophy Early RISC Modern RISC.
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
State Machines Timing Computer Bus Computer Performance Instruction Set Architectures RISC / CISC Machines.
Chapter 2.2 Machine Language.
Microprocessors Introduction to RISC Mar 19th, 2002.
1 RISC Machines l RISC system »instruction –standard, fixed instruction format –single-cycle execution of most instructions –memory access is available.
Unit -II CPU Organization By- Mr. S. S. Hire. CPU organization.
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.
RISC and CISC by Eugene Clewlow. Overview History of CISC and RISC CISC and RISC  Philosophy  Attributes and disadvantages Summation.
Reduced Instruction Set Computers (RISC) Computer Organization and Architecture.
SUPERSCALAR EXECUTION. two-way superscalar The DLW-2 has two ALUs, so it’s able to execute two arithmetic instructions in parallel (hence the term two-way.
Processor Organization and Architecture
RISC and CISC. Dec. 2008/Dec. and RISC versus CISC The world of microprocessors and CPUs can be divided into two parts:
The Instruction Set Architecture Level Dept. of Computer Science Virginia Commonwealth University.
Data Representation By- Mr. S. S. Hire. Data Representation.
1 4.2 MARIE This is the MARIE architecture shown graphically.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
RISC By Ryan Aldana. Agenda Brief Overview of RISC and CISC Features of RISC Instruction Pipeline Register Windowing and renaming Data Conflicts Branch.
Advanced Processor Technology Architectural families of modern computers are CISC RISC Superscalar VLIW Super pipelined Vector processors Symbolic processors.
4-1 Chapter 4 - The Instruction Set Architecture Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Principles.
RISC and CISC. What is CISC? CISC is an acronym for Complex Instruction Set Computer and are chips that are easy to program and which make efficient use.
COMPUTER ORGANIZATION AND ASSEMBLY LANGUAGE Lecture 19 & 20 Instruction Formats PDP-8,PDP-10,PDP-11 & VAX Course Instructor: Engr. Aisha Danish.
ARM (Advanced RISC Machine; initially Acorn RISC Machine) Load/store architecture 65 instructions (all fixed length – one word each = 32 bits) 16 registers.
ECEG-3202 Computer Architecture and Organization Chapter 7 Reduced Instruction Set Computers.
CISC and RISC 12/25/ What is CISC? acronym for Complex Instruction Set Computer Chips that are easy to program and which make efficient use of memory.
1 The Instruction Set Architecture September 27 th, 2007 By: Corbin Johnson CS 146.
Page 1 Computer Architecture and Organization 55:035 Midterm Exam Review Spring 2011.
Sun Microsystems’ UltraSPARC-IIi a Stunt-Free Presentation by Christine Munson Amanda Peters Carl Sadler.
RISC / CISC Architecture by Derek Ng. Overview CISC Architecture RISC Architecture  Pipelining RISC vs CISC.
CISC. What is it?  CISC - Complex Instruction Set Computer  CISC is a design philosophy that:  1) uses microcode instruction sets  2) uses larger.
INSTRUCTION SET PRINCIPLES. Computer Architecture’s Changing Definition  1950s to 1960s: Computer Architecture Course = Computer Arithmetic  1970s to.
ARM (Advanced RISC Machine; initially Acorn RISC Machine) Load/store architecture 65 instructions (all fixed length – one word each = 32 bits) 16 registers.
© 2015 Pearson Education Limited 2015 Quiz in last 15 minutes Midterm 1 is next Sunday Assignment 1 due today at 4pm Assignment 2 will be up today; due.
Addressing modes, memory architecture, interrupt and exception handling, and external I/O. An ISA includes a specification of the set of opcodes (machine.
Microprocessor and Microcontroller Fundamentals
RISC and CISC Lecture 8.
Immediate Addressing Mode
Visit for more Learning Resources
A Closer Look at Instruction Set Architectures
Overview Introduction General Register Organization Stack Organization
CISC (Complex Instruction Set Computer)
Chapter 1 Fundamentals of Computer Design
Computer Architecture
Central Processing Unit
CISC AND RISC SYSTEM Based on instruction set, we broadly classify Computer/microprocessor/microcontroller into CISC and RISC. CISC SYSTEM: COMPLEX INSTRUCTION.
RISC and CISC.
Classification of instructions
What is Computer Architecture?
Introduction to Microprocessor Programming
What is Computer Architecture?
What is Computer Architecture?
CSE378 Introduction to Machine Organization
Presentation transcript:

Chapter Six Sun SPARC Architecture

SPARC Processor The name SPARC stands for Scalable Processor Architecture SPARC architecture follows the RISC design philosophy by stressing importance of – Large CPU register file – Similar register window features

RISC Vs CISC The historical background: – In first 25 years ( ) performance came from both technology and design. – Design considerations: o small and slow memories: compact programs are fast. o small no. of registers: memory operands are used instead o attempts to bridge the semantic gap: model high level language features in instructions. o no need for portability: same vendor application, OS and hardware. o backward compatibility: every new ISA must carry the good and bad of all past ones. Result: powerful and complex instructions that are rarely used. Such type of processors were classified as CISC.

CISC CISC is an acronym for Complex Instruction Set Computer. These chips are easy to program and make efficient use of memory. CISC philosophy made sense as the earliest machines were programmed in assembly language and memory was slow and expensive Most common microprocessor designs such as Intel 80x86 and Motorola 68K series followed the CISC philosophy.

RISC Vs CISC Later it was found as follows:

What is RISC? Reduced Instruction Set Computer(RISC) is a type of microprocessor architecture that utilizes a small, highly-optimized set of instructions than a more specialized set of instructions often found in other types of architectures The characteristic of most RISC processors are: – one cycle execution time: RISC processors have a CPI (clock per instruction) of one cycle. This is for the optimization of CPU pipelining – large number of registers: RISC design generally incorporates a larger number of registers to reduce the number of interactions with memory

RISC Reduced instruction set. Less complex, simple instructions. Hardwired control unit and machine instructions. Few addressing schemes for memory operands with two basic instructions - LOAD and STORE Many symmetric registers which are organised into a register file. CISC Extensive instructions. Complex and efficient machine instructions. Microencoding of the machine instructions. Extensive addressing capabilities for memory operations. Relatively few registers.

SPARC Processor SPARC Processor was introduced by Sun Microsystems in 1987 as an architectural family. It is an open architecture : semiconductor vendors can produce SPARC chips using various implementation domains: CMOS,ECL and GaAs

SPARC Features A linear 32-bit address space Few and simple instruction formats — All instructions are 32 bits wide. – Only 3 basic instruction formats – Uniform placement of opcode and register address fields in instruction – Only LOAD and STORE instructions access memory and I/O. Few addressing modes — An address may be “register + register” or “register+immediate.”

SPARC Features Triadic register addresses— Most instructions operate on two register operands (or one register and a constant) and place the result in a third register. A large “windowed” register file — At any one instant, a program sees 8 global integer registers plus a 24-register window into a larger register file. A separate floating-point register file

SPARC Features Delayed control transfer— The processor always fetches the next instruction after a delayed control-transfer instruction. Fast trap handler Tagged instructions Multiprocessor synchronization instructions Coprocessor— The architecture defines a straightforward coprocessor instruction set, in addition to the floating-point instruction set.

SPARC Architecture SPARC is an instruction set architecture (ISA) with 32-bit integer and 32-, 64-,and 128-bit floating point as its principal data types. SPARC processor logically comprises 3 units: – an Integer Unit (IU) – a Floating-Point Unit (FPU) – an optional Coprocessor (CP), each with its own registers. (32-bits wide).

SPARC Processor SPARC processor can be in either of 2 modes: – Supervisor mode: The processor can execute any instruction including the privileged instructions. – User mode: “User Application” programs will be executed in user mode. An attempt to execute a privileged instruction will cause a trap to supervisor software.

THE MODULES Integer Unit (IU) Floating-Point Unit (FPU) CoProcessor (CP)

THE MODULES Integer Unit (IU) Floating-Point Unit (FPU) CoProcessor (CP)

INTEGER UNIT (IU) Contains the general purpose registers and controls the overall operation of the processor. Executes the integer arithmetic instructions and computes memory addresses for loads and stores. Maintains the program counters and controls instruction execution for the FPU and the CP. May contain from 40 to 520 general-purpose 32-bit registers It corresponds to – 8 global registers and – a circular stack of from 2 to 32 sets of 16 registers known as register windows. – Thus (2*16=32+8=40) to (32*16+8 =520) Integer Unit (IU)

REGISTER WINDOW CONCEPT Each instruction can access the 8-globals and a register window A 24- register window comprises – 8 in – 8 local registers – 8 out registers( which are together with the 8 in registers of an adjacent register set, addressable from the current window) Integer Unit (IU)

THE MODULES Integer Unit (IU) Floating-Point Unit (FPU) CoProcessor (CP)

FLOATING-POINT UNIT (FPU) The FPU has thirty-two 32-bit-wide registers. – Double-precision values occupy an even-odd pair of registers – Quad-precision values occupy a quad aligned group of four registers. Floating point load/store instructions are used to move data between the FPU and memory. The memory address is calculated by IU FPop(Floating Point Operate) instructions perform the actual Floating Point Arithmetic

THE MODULES Integer Unit (IU) Floating-Point Unit (FPU) CoProcessor (CP)

Coprocessor Unit The instruction set includes support for a single, implementation-dependent coprocessor. The coprocessor has its own set of 32-bit registers. Coprocessor load/store instructions are used to move data between the coprocessor registers and memory.

Data Formats

SPARC Data Formats The SPARC architecture recognizes three fundamental data formats (or types): – Signed Integer— 8, 16, 32, and 64 bits – Unsigned Integer— 8, 16, 32, and 64 bits – Floating-Point — 32, 64, and 128 bits The format widths are defined as – Byte — 8 bits – Halfword— 16 bits – Word/Singleword — 32 bits

SPARC Data Formats – Tagged Word— 32 bits (30-bit value plus 2 tag bits) – Doubleword— 64 bits – Quadword— 128 bits

Signed Integer Signed Integer formats encode two’s- complement whole numbers

Signed Integer

Unsigned Integer Unsigned Integer formats are general-purpose and hence they do not encode any particular data type. They can represent a whole number, string, fraction, boolean value, etc.

Unsigned Integer

Floating Point Numbers