Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a 32-bit in-order pipeline that has the following stages. Note the many differences from the examples in class: a stage that converts CISC instructions

Consider a 32-bit in-order pipeline that has the following stages. Note the many differences from the examples in class: a stage that converts CISC instructions to micro-ops, one stage to do register reads, one stage to do register writes, three stages to access the data memory, and 4 stages for the FP-ALU. For the questions below, assume that each CISC instruction is simple and is converted to a single micro-op.

image text in transcribed

After instruction fetch, the instruction goes through the micro-op conversion stage, a Decode stage where dependencies are analyzed, and a Regread stage where input operands are read from the register file. After this, an instruction takes one of three possible paths. Int-adds go through the stages labeled "IntALU" and "Regwrite". Loads/stores go through the stages labeled "IntALU", "Datamem1", "Datamem2", "Datamem3", and "Regwrite". FP-adds go through the stages labeled "FPALU1", "FPALU2", "FPALU3", "FPALU4", and "Regwrite". Assume that the register file has an infinite number of write ports so stalls are never introduced because of structural hazards. How many stall cycles are introduced between the following pairs of successive instructions (i) for a processor with no register bypassing and (ii) for a processor with full bypassing?

image text in transcribed

Convert Fetch Decode Regread | IntALU Regwrite micro- ops IntALU Datamem1||Datamem2|Datamem3||Regwrite FPALU1|| FPALU2 | FPALU3 | FPALU4 Regwrite 1. Int-add, followed by a dependent Int-add 2. FP-add, followed by a dependent FP-add 3. Load, providing the address for a store 4. Load, providing the data for a store 5. FP-add, providing the data for a store Convert Fetch Decode Regread | IntALU Regwrite micro- ops IntALU Datamem1||Datamem2|Datamem3||Regwrite FPALU1|| FPALU2 | FPALU3 | FPALU4 Regwrite 1. Int-add, followed by a dependent Int-add 2. FP-add, followed by a dependent FP-add 3. Load, providing the address for a store 4. Load, providing the data for a store 5. FP-add, providing the data for a store

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Carlos Coronel, Steven Morris

14th Edition

978-0357673034

More Books

Students also viewed these Databases questions