SlideShare a Scribd company logo
MIPS Processor Chapter 12 S. Dandamudi
Outline Introduction Evolution of CISC Processors RISC Design Principles MIPS Architecture
Introduction CISC Complex instruction set Pentium is the most popular example RISC Simple instructions Reduced complexity Modern processors use this design philosophy PowerPC, MIPS, SPARC, Intel Itanium Borrow some features from CISC No precise definition We can identify some common characteristics
Evolution of CISC Processors Motivation to efficiently use expensive resources Processor Memory High density code Complex instructions Hardware complexity is handled by  microprogramming Microprogramming is also helpful to Reduce the impact of memory access latency Offers flexibility Low-cost members of the same family Tailored to high-level language constructs
Evolution of CISC Designs (cont’d)
Evolution of CISC Designs (cont’d) Example Autoincrement addressing mode of VAX Performs the following actions: (R2) = (R2) + R3; R2 = R2 + 1 RISC equivalent R4 = (R2) R4 = R4 + R3 (R2) = R4 R2 = R2 + 1
Why RISC? Simple instructions Complex instructions are mostly ignored by compilers Due to semantic gap Few data types Complex data structures are used relatively infrequently Better to support a few simple data types efficiently Synthesize complex ones Simple addressing modes Complex addressing modes lead to variable length instructions Lead to inefficient instruction decoding and scheduling
Why RISC? (cont’d) Large register set Efficient support for procedure calls and returns Patterson and Sequin’s study Procedure call/return: 12  15% of HLL statements Constitute 31  33% of machine language instructions Generate nearly half (45%) of memory references Small activation record Tanenbaum’s study Only 1.25% of the calls have more than 6 arguments More than 93% have less than 6 local scalar variables Large register set can avoid memory references
RISC Design Principles Simple operations Simple instructions that can execute in one cycle Operations can be hardwired (see next figure) Register-to-register operations Only load and store operations access memory Rest of the operations on a register-to-register basis Simple addressing modes A few addressing modes (1 or 2) Large number of registers Needed to support register-to-register operations Minimize the procedure call and return overhead
RISC Design Principles (cont’d)
RISC Design Principles (cont’d) Fixed-length instructions Facilitates efficient instruction execution Simple instruction format Fixed boundaries for various fields  opcode, source operands,… Other features Tend to use Harvard architecture Pipelining is visible at the architecture level
MIPS Architecture Registers 32 general-purpose Identified as $0, $1, …,$31 Register $0 is hardwired to zero Used when zero operand is needed Register $31 is used as the link register Used to store the return address of a procedure A Program counter (PC) 2 special-purpose  HI and LO registers Used in multiply and divide operations
MIPS Architecture (cont’d)
MIPS Architecture (cont’d) MIPS registers and their conventional usage
MIPS Architecture (cont’d) MIPS addressing modes Bare machine supports only a single addressing mode disp(Rx) Virtual machine provides several additional addressing modes
Memory Usage Placement of segments allows sharing of unused memory by both data and stack segments   Last slide

More Related Content

PPTX
Evolution of processors
PPT
History of THE processors
PPT
Advanced micro -processor
PPTX
History of processor
PPT
I7 processor
PPTX
Evolution of Intel Processors
DOCX
8086 addressing modes
DOCX
8086 pin diagram description
Evolution of processors
History of THE processors
Advanced micro -processor
History of processor
I7 processor
Evolution of Intel Processors
8086 addressing modes
8086 pin diagram description

Similar to Al2ed chapter12 (20)

PPT
risc_and_cisc.ppt
PDF
M&m comparison for elcetrical engineering
PPTX
Data transfer and data manipulation & floating point.pptx
PPTX
Data transfer andn & floating point.pptx
PPT
ARM INTRODUCTION.ppt that hepls to unnderstand arm
PPTX
Central processing unit
PDF
CS304PC:Computer Organization and Architecture UNIT V_merged_merged.pdf
PPTX
Advanced Processor Power Point Presentation
PPSX
Processors used in System on chip
PPTX
RISC - Reduced Instruction Set Computing
PPT
PPTX
Topic 1 ARM to be written Introduction.pptx
PPTX
Instruction set.pptx
PPTX
Embedded System IoT_4.pptx ppt presentation
PPT
PPT
tibor.ppt RISC vs. CISC CISC/RISC Features
PDF
R&c
PPT
Risc and cisc eugene clewlow
PPTX
Computer Organization.pptx
PPTX
Risc and cisc computers
risc_and_cisc.ppt
M&m comparison for elcetrical engineering
Data transfer and data manipulation & floating point.pptx
Data transfer andn & floating point.pptx
ARM INTRODUCTION.ppt that hepls to unnderstand arm
Central processing unit
CS304PC:Computer Organization and Architecture UNIT V_merged_merged.pdf
Advanced Processor Power Point Presentation
Processors used in System on chip
RISC - Reduced Instruction Set Computing
Topic 1 ARM to be written Introduction.pptx
Instruction set.pptx
Embedded System IoT_4.pptx ppt presentation
tibor.ppt RISC vs. CISC CISC/RISC Features
R&c
Risc and cisc eugene clewlow
Computer Organization.pptx
Risc and cisc computers
Ad

More from Abdullelah Al-Fahad (17)

PPT
Al2ed chapter17
PPT
Al2ed chapter16
PPT
Al2ed chapter15
PPT
Al2ed chapter14
PPT
Al2ed chapter13
PPT
Al2ed chapter11
PPT
Al2ed chapter10
PPT
Al2ed chapter9
PPT
Al2ed chapter8
PPT
Al2ed chapter7
PPT
Al2ed chapter6
PPT
Al2ed chapter5
PPT
Al2ed chapter4
PPT
Al2ed chapter3
PPT
Al2ed chapter2
PPT
Al2ed chapter1
PPT
Al2ed chapter18
Al2ed chapter17
Al2ed chapter16
Al2ed chapter15
Al2ed chapter14
Al2ed chapter13
Al2ed chapter11
Al2ed chapter10
Al2ed chapter9
Al2ed chapter8
Al2ed chapter7
Al2ed chapter6
Al2ed chapter5
Al2ed chapter4
Al2ed chapter3
Al2ed chapter2
Al2ed chapter1
Al2ed chapter18
Ad

Recently uploaded (20)

PPTX
Unit 4 Skeletal System.ppt.pptxopresentatiom
PDF
What if we spent less time fighting change, and more time building what’s rig...
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
PDF
Empowerment Technology for Senior High School Guide
PDF
advance database management system book.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Lesson notes of climatology university.
Unit 4 Skeletal System.ppt.pptxopresentatiom
What if we spent less time fighting change, and more time building what’s rig...
A powerpoint presentation on the Revised K-10 Science Shaping Paper
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
Practical Manual AGRO-233 Principles and Practices of Natural Farming
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
UNIT III MENTAL HEALTH NURSING ASSESSMENT
Weekly quiz Compilation Jan -July 25.pdf
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
Empowerment Technology for Senior High School Guide
advance database management system book.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Complications of Minimal Access Surgery at WLH
Lesson notes of climatology university.

Al2ed chapter12

  • 1. MIPS Processor Chapter 12 S. Dandamudi
  • 2. Outline Introduction Evolution of CISC Processors RISC Design Principles MIPS Architecture
  • 3. Introduction CISC Complex instruction set Pentium is the most popular example RISC Simple instructions Reduced complexity Modern processors use this design philosophy PowerPC, MIPS, SPARC, Intel Itanium Borrow some features from CISC No precise definition We can identify some common characteristics
  • 4. Evolution of CISC Processors Motivation to efficiently use expensive resources Processor Memory High density code Complex instructions Hardware complexity is handled by microprogramming Microprogramming is also helpful to Reduce the impact of memory access latency Offers flexibility Low-cost members of the same family Tailored to high-level language constructs
  • 5. Evolution of CISC Designs (cont’d)
  • 6. Evolution of CISC Designs (cont’d) Example Autoincrement addressing mode of VAX Performs the following actions: (R2) = (R2) + R3; R2 = R2 + 1 RISC equivalent R4 = (R2) R4 = R4 + R3 (R2) = R4 R2 = R2 + 1
  • 7. Why RISC? Simple instructions Complex instructions are mostly ignored by compilers Due to semantic gap Few data types Complex data structures are used relatively infrequently Better to support a few simple data types efficiently Synthesize complex ones Simple addressing modes Complex addressing modes lead to variable length instructions Lead to inefficient instruction decoding and scheduling
  • 8. Why RISC? (cont’d) Large register set Efficient support for procedure calls and returns Patterson and Sequin’s study Procedure call/return: 12  15% of HLL statements Constitute 31  33% of machine language instructions Generate nearly half (45%) of memory references Small activation record Tanenbaum’s study Only 1.25% of the calls have more than 6 arguments More than 93% have less than 6 local scalar variables Large register set can avoid memory references
  • 9. RISC Design Principles Simple operations Simple instructions that can execute in one cycle Operations can be hardwired (see next figure) Register-to-register operations Only load and store operations access memory Rest of the operations on a register-to-register basis Simple addressing modes A few addressing modes (1 or 2) Large number of registers Needed to support register-to-register operations Minimize the procedure call and return overhead
  • 11. RISC Design Principles (cont’d) Fixed-length instructions Facilitates efficient instruction execution Simple instruction format Fixed boundaries for various fields opcode, source operands,… Other features Tend to use Harvard architecture Pipelining is visible at the architecture level
  • 12. MIPS Architecture Registers 32 general-purpose Identified as $0, $1, …,$31 Register $0 is hardwired to zero Used when zero operand is needed Register $31 is used as the link register Used to store the return address of a procedure A Program counter (PC) 2 special-purpose HI and LO registers Used in multiply and divide operations
  • 14. MIPS Architecture (cont’d) MIPS registers and their conventional usage
  • 15. MIPS Architecture (cont’d) MIPS addressing modes Bare machine supports only a single addressing mode disp(Rx) Virtual machine provides several additional addressing modes
  • 16. Memory Usage Placement of segments allows sharing of unused memory by both data and stack segments Last slide