Chapter 04: Instruction Sets and the Processor organizations. Lesson 20: RISC and converged Architecture

Similar documents
Chapter 06: Instruction Pipelining and Parallel Processing. Lesson 14: Example of the Pipelined CISC and RISC Processors

Lecture 4: Instruction Set Design/Pipelining

Lecture 04: Machine Instructions

Chapter 04: Instruction Sets and the Processor organizations. Lesson 08: Processor Instructions - Part 1

Chapter 05: Basic Processing Units Control Unit Design Organization. Lesson 14: Microprogrammed Control

ECE 486/586. Computer Architecture. Lecture # 7

Lecture 11: Control Unit and Instruction Encoding

Modern Processors. RISC Architectures

More advanced CPUs. August 4, Howard Huang 1

Final Exam Review. b) Using only algebra, prove or disprove the following:

Von Neumann architecture. The first computers used a single fixed program (like a numeric calculator).

Reduced Instruction Set Computer

ECE 341. Lecture # 15

Major Advances (continued)

Architectures & instruction sets R_B_T_C_. von Neumann architecture. Computer architecture taxonomy. Assembly language.

CSEE 3827: Fundamentals of Computer Systems

Processor Organization and Performance

MICROPROGRAMMED CONTROL

Microprogrammed Control

CISC Attributes. E.g. Pentium is considered a modern CISC processor

Basic Processor Design

COE608: Computer Organization and Architecture

CS 5803 Introduction to High Performance Computer Architecture: RISC vs. CISC. A.R. Hurson 323 Computer Science Building, Missouri S&T

instruction set computer or RISC.

Slides for Lecture 6

RISC Processors and Parallel Processing. Section and 3.3.6

TECH. CH14 Instruction Level Parallelism and Superscalar Processors. What is Superscalar? Why Superscalar? General Superscalar Organization

Reduced Instruction Set Computers

LC-3 Architecture. (Ch4 ish material)

EC 413 Computer Organization

Instruction-set Design Issues: what is the ML instruction format(s) ML instruction Opcode Dest. Operand Source Operand 1...

CSCI 402: Computer Architectures. Instructions: Language of the Computer (4) Fengguang Song Department of Computer & Information Science IUPUI

Instruction-set Design Issues: what is the ML instruction format(s) ML instruction Opcode Dest. Operand Source Operand 1...

Evolution of ISAs. Instruction set architectures have changed over computer generations with changes in the

EE4144: ARM Cortex-M Processor

Chapter 05: Basic Processing Units Control Unit Design. Lesson 15: Microinstructions

EJEMPLOS DE ARQUITECTURAS

Processing Unit CS206T

CPU Architecture and Instruction Sets Chapter 1

These actions may use different parts of the CPU. Pipelining is when the parts run simultaneously on different instructions.

Pipeline Architecture RISC

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: MIPS Instruction Set Architecture

DC57 COMPUTER ORGANIZATION JUNE 2013

Grundlagen Microcontroller Processor Core. Günther Gridling Bettina Weiss

Computer Organization CS 206 T Lec# 2: Instruction Sets

Practice Assignment 1

Microprocessor Architecture Dr. Charles Kim Howard University

CMSC Computer Architecture Lecture 2: ISA. Prof. Yanjing Li Department of Computer Science University of Chicago

Lecture: Pipelining Basics

What is Superscalar? CSCI 4717 Computer Architecture. Why the drive toward Superscalar? What is Superscalar? (continued) In class exercise

Micro-programmed Control Ch 15

G Compiler Construction Lecture 12: Code Generation I. Mohamed Zahran (aka Z)

Machine Instructions vs. Micro-instructions. Micro-programmed Control Ch 15. Machine Instructions vs. Micro-instructions (2) Hardwired Control (4)

Organisasi Sistem Komputer

Micro-programmed Control Ch 15

CSE A215 Assembly Language Programming for Engineers

Lecture 4: RISC Computers

Walking Four Machines by the Shore

Cpu Architectures Using Fixed Length Instruction Formats

CS311 Lecture: Pipelining, Superscalar, and VLIW Architectures revised 10/18/07

RISC & Superscalar. COMP 212 Computer Organization & Architecture. COMP 212 Fall Lecture 12. Instruction Pipeline no hazard.

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

Computer Architecture and Organization

Page 1. Structure of von Nuemann machine. Instruction Set - the type of Instructions

Topic Notes: MIPS Instruction Set Architecture

Outline. What Makes a Good ISA? Programmability. Implementability

COMP3221: Microprocessors and. and Embedded Systems. Instruction Set Architecture (ISA) What makes an ISA? #1: Memory Models. What makes an ISA?

Ti Parallel Computing PIPELINING. Michał Roziecki, Tomáš Cipr

Micro-programmed Control Ch 17

Control Structures. Code can be purely arithmetic assignments. At some point we will need some kind of control or decision making process to occur

Hardwired Control (4) Micro-programmed Control Ch 17. Micro-programmed Control (3) Machine Instructions vs. Micro-instructions

101. The memory blocks are mapped on to the cache with the help of a) Hash functions b) Vectors c) Mapping functions d) None of the mentioned

EC-801 Advanced Computer Architecture

Chapter 3 : Control Unit

Year 12 Computer Science Learning Cycle 2 Overview

COMPUTER ORGANIZATION & ARCHITECTURE

Lecture 4: RISC Computers

1 5. Addressing Modes COMP2611 Fall 2015 Instruction: Language of the Computer

Instruction Set Architecture. "Speaking with the computer"

Real instruction set architectures. Part 2: a representative sample

Supplement for MIPS (Section 4.14 of the textbook)

Chapter 2. Instruction Set. RISC vs. CISC Instruction set. The University of Adelaide, School of Computer Science 18 September 2017

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015

EITF20: Computer Architecture Part2.2.1: Pipeline-1

EITF20: Computer Architecture Part2.2.1: Pipeline-1

Instruction Level Parallelism

RISC Principles. Introduction

Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE

Topics Power tends to corrupt; absolute power corrupts absolutely. Computer Organization CS Data Representation

55:132/22C:160, HPCA Spring 2011

Outline. What Makes a Good ISA? Programmability. Implementability. Programmability Easy to express programs efficiently?

THE MICROPROCESSOR Von Neumann s Architecture Model

TYPES OF INTERRUPTS: -

Pipelining, Branch Prediction, Trends

Lecture 3: Instruction Set Architecture

Universität Dortmund. ARM Architecture

SISTEMI EMBEDDED. Computer Organization Pipelining. Federico Baronti Last version:

5008: Computer Architecture HW#2

Chapter 04: Instruction Sets and the Processor organizations. Lesson 11: Generation of Memory Addresses and Addressing Modes

Chapter 4. The Processor

Transcription:

Chapter 04: Instruction Sets and the Processor organizations Lesson 20: RISC and converged Architecture 1

Objective Learn the RISC architecture Learn the Converged Architecture 2

Reduced Instruction Set Computer (RISC) and fixed length instructions 3

Reduced Instruction Set Computer (RISC) Fixed length encoding of instructions Each instruction executes in a single clock cycle by hardwired implementation of each instruction 4

Reduced Instruction Set Computer (RISC) Focus on reducing the number of instructions and working with simpler instruction sets having a limited number of addressing modes Allowing them to execute more instructions in the same amount of time 5

Reduced Instruction Set Computer (RISC) Programs written for RISC architectures tend to take more space in memory but the RISC processor's increased clock rate allows it to execute its programs in less time than a CISC processor takes to execute its programs (which require fewer instructions) 6

Reduced Instruction Set Computer (RISC) and differences from CISC 7

Major differences between RISC and CISC architectures The set of instructions that can access memory A related issue that affects both RISC and CISC architectures is the choice of which addressing modes the architecture supports 8

Architecture addressing modes Architecture addressing modes are the set of syntaxes and methods that instructions use to specify a memory address, either as the target address of a memory reference or as the address that a branch will jump to 9

Clear delineation between RISC and CISC architectures RISC architectures load-store architectures, meaning that only load and store instructions may access the memory system The GPR architecture provides for loadstore architecture plus several other instructions 10

Difference between load-store architectures and other architectures Difference between load-store architectures and other architectures that can merge memory references with other operations Because RISC architectures are implemented using the load-store model, an RISC processor would require several instructions to implement the single CISC ADD operation ADD (r1), (r2), (r3) 11

Difference with RISC RISC architecture may require many more operations to implement a function than CISC architecture, although ADD (r1), (r2), (r3) is an extreme example 12

Load and store architecture All of the inputs of an instruction must be loaded into the register file before the instruction can execute 13

Reduced Instruction Set Computer (RISC) Advantage 14

RISC processors advantage Breaking a complex CISC operation into multiple RISC operations can allow the compiler to schedule the RISC operations for better performance 15

RISC processors advantage Example If memory references take multiple cycles to execute (as they generally do), a compiler for RISC architecture can place other instructions between the LD instructions in the example and the ADD This gives the LD instructions time to complete before the ADD, preventing the ADD from having to wait for its inputs 16

Contrast to the CISC instruction No choice but to wait for its inputs to come back from the memory system, potentially delaying other instructions 17

RISC convergence with most used CISC instructions 18

Modern RISC Processor instructions Incorporates some of most useful complex instructions from CISC architectures, relying on their micro-architecture to implement these instructions with little impact on the clock cycle For example, modern RISC organizations allow arithmetic operations to reference memory 19

Modern CISC Processor instructions Modern CISCs also do not include complex instructions that are not used sufficiently often to justify their implementation (inclusion in the instruction set) and CISC have dropped arithmetic operations to reference memory 20

Modern CISC Processor instructions Examples For example, arithmetic operations and logical operations (AND, OR) generally take one or two inputs and generate one output, and the operations read their inputs from and write their outputs to the register file Some CISC (complex instruction set computer) organizations allow arithmetic operations to reference memory 21

Present Status Earlier when most computer programming was done in assembly language, instruction set architecture was considered the most important part of computer architecture, because it determined how difficult it was to obtain optimal performance from the system 22

Present Status Instruction set architecture has become less significant, for several reasons. First, most programming is now done in high-level languages, so the programmer never interacts with the instruction set 23

Need of compatibility between different generations of a computer system Second, and more significant, we have come to expect compatibility We expect programs that ran on their old system to run on their new system without changes 24

Need of compatibility between different generations of a computer system The instruction set of a new processor often required to be the same as the instruction set of the company's previous processor, sometimes with a few additional instructions, meaning that most of the processor design effort for a processor goes into improving the micro-architecture to increase performance 25

Summary 26

We learnt RISC single cycle and fixed length instructions Modern RISC have few most often required CISC instructions also RISC have Load, Compute and store architecture RISC performance is higher than CISC due to simpler machine design and ease in pipelining the instructions 27

End of Lesson 20 on RISC and converged Architecture 28