The following sequence of instructions will execute on the 5-stage pipelined MIPS datapath: I-MEM Address Instruction OXAO L1: slt $4, $t0, $t1 OXA4 beq $4, $1, L2 OXA8 slt $t4, $t0, $t2 ОХАС beq $14, $1, L2 slt $t4, $t0, $t3 Охво OXB4 beq $t4, $1, L2 OXB8 į L3 L2: addi $t0, $t0, 5 OXBC OXCO j L1 OXC4 L3: List data dependencies for the entire code (i.e. a->b would mean instruction b is dependent on instruction a ): Which data dependencies are hazards? How many clock cycles does it take to execute the entire code for a normal pipelined processor? (i.e. all 5 stages of the last instruction have been completed) How many clock cycles will it take for a 2-issue in-order superscalar pipelined processor to execute the entire code?

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
The following sequence of instructions will execute on the 5-stage pipelined MIPS datapath:
I-MEM Address
Instruction
OXAO
L1:
slt $t4, $t0, $t1
OXA4
beq $t4, $1, L2
OXA8
slt $14, $t0, $t2
OXAC
beq $t4, $1, L2
OXBO
slt $t4, $t0, $t3
ОхВ4
beq $t4, $1, L2
OXB8
j L3
OXBC
L2:
addi $t0, $t0, 5
OXCO
j L1
ОХC4
L3:
List data dependencies for the entire code (i.e. a->b would mean instruction b is dependent on instruction a ):
Which data dependencies are hazards?
How many clock cycles does it take to execute the entire code for a normal pipelined processor? (i.e. all 5 stages of the last
instruction have been completed)
How many clock cycles will it take for a 2-issue in-order superscalar pipelined processor to execute the entire code?
Transcribed Image Text:The following sequence of instructions will execute on the 5-stage pipelined MIPS datapath: I-MEM Address Instruction OXAO L1: slt $t4, $t0, $t1 OXA4 beq $t4, $1, L2 OXA8 slt $14, $t0, $t2 OXAC beq $t4, $1, L2 OXBO slt $t4, $t0, $t3 ОхВ4 beq $t4, $1, L2 OXB8 j L3 OXBC L2: addi $t0, $t0, 5 OXCO j L1 ОХC4 L3: List data dependencies for the entire code (i.e. a->b would mean instruction b is dependent on instruction a ): Which data dependencies are hazards? How many clock cycles does it take to execute the entire code for a normal pipelined processor? (i.e. all 5 stages of the last instruction have been completed) How many clock cycles will it take for a 2-issue in-order superscalar pipelined processor to execute the entire code?
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Embedded software development
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education