Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q 1 Consider the 8 - stage pipelined processor with two execution units and pipelined caches, as shown below. Instruction fetch is a two -
Q Consider the stage pipelined processor with two execution units and pipelined caches, as shown below. Instruction fetch is a twostage process followed by decode where registers are also read in the second half of the cycle. Additionally, the pipeline consists of a separate exccution unit for floating point FP operations. First unit is for all Integer ArithmeticBranch operations excluding multiply consisting of one stage. Second unit is for floating point FP AddSub and Multiply both integer and FP operations, comprising four stages. The data cache is pipelined and takes three stages for readwrite opcrations including integer and IP loads and stores The final stage performs registers writes in the first half of the cycle, if any. CIO C Integer AddSub Data Memory LdSt & Branch Instruction Fetch Decode M H M M RW EX EX EX EX Consider the clock cycle time for the above pipeline to be ps and assumc cach stage takes equal time. a Compute the latency of LD Instruction to load Double Precision Floating Point number. b Calculate the latency of "MUL.F FP multiply instruction. c Assuming there are no FP and multiply instructions in a program, comparing with a five stage MIPS pipeline compute how fast can the program run on this processor. Assume the cycle time for MIPS to be ps and no extra stall cycles due to hazards. d Determine what happens if register reads are performed in the first half of the cycle. e Create a sequence consisting of FP and Integer instructions and show through pipeline diagram that no structural hazards exist in this design. Determine how many stall cycles should be inserted between a load instruction and the different classes of instructions that use the load's result during the execution stage. g Considering that branch target address is calculated in ID stage and condition evaluated in EX determine how many stall cycles should be inserted between the following instructions considering no forwarding unit is available. ADD R R R BNE R R addr!
Q Consider the stage pipelined processor with two execution units and pipelined caches, as shown below. Instruction fetch is a twostage process followed by decode where registers are also read in the second half of the cycle. Additionally, the pipeline consists of a separate exccution unit for floating point FP operations. First unit is for all Integer ArithmeticBranch operations excluding multiply consisting of one stage. Second unit is for floating point FP AddSub and Multiply both integer and FP operations, comprising four stages. The data cache is pipelined and takes three stages for readwrite opcrations including integer and IP loads and stores The final stage performs registers writes in the first half of the cycle, if any. CIO C Integer AddSub Data Memory LdSt & Branch Instruction Fetch Decode M H M M RW EX EX EX EX Consider the clock cycle time for the above pipeline to be ps and assumc cach stage takes equal time. a Compute the latency of LD Instruction to load Double Precision Floating Point number. b Calculate the latency of "MUL.F FP multiply instruction. c Assuming there are no FP and multiply instructions in a program, comparing with a five stage MIPS pipeline compute how fast can the program run on this processor. Assume the cycle time for MIPS to be ps and no extra stall cycles due to hazards. d Determine what happens if register reads are performed in the first half of the cycle. e Create a sequence consisting of FP and Integer instructions and show through pipeline diagram that no structural hazards exist in this design. Determine how many stall cycles should be inserted between a load instruction and the different classes of instructions that use the load's result during the execution stage. g Considering that branch target address is calculated in ID stage and condition evaluated in EX determine how many stall cycles should be inserted between the following instructions considering no forwarding unit is available. ADD R R R BNE R R addr!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started