Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A superscalar processor, shown below, uses in-order-issue-in-order-completion policy. Consider a program having following sequence of instructions, where the syntax consists of an opcode followed by

image text in transcribed

A superscalar processor, shown below, uses in-order-issue-in-order-completion" policy. Consider a program having following sequence of instructions, where the syntax consists of an opcode followed by the destination register followed by one or two source registers. Instructions requiring floating Point Unit (FPU) are indicated in the comment field. Please note that LOAD, STORE and FPU operations require 4, 4 and 3 clock cycles respectively whereas integer operations require one clock cycle only. Show the execution sequence of the program. Also calculate the run time if the CPU uses 2GHz clock. Instructions Comment ADDR3, R1, R2 FPU LOAD R6, [R3] AND R1, R6, R1 ADD R1, R6, RO FPU FPU SUB R2, R1, R6 AND R4, R3, 15 LOAD R6, [R4] SUB RS, R3, R4 ADD RO, R1, R6 SHL R7, RO, 8 System Integer ALU Write-back Unit-1 Decode Unit-1 Fetch Unit-1 Floating Point Unit Write-back Unit-2 Decode Unit-2 Fetch Unit-2 Integer ALU A superscalar processor, shown below, uses in-order-issue-in-order-completion" policy. Consider a program having following sequence of instructions, where the syntax consists of an opcode followed by the destination register followed by one or two source registers. Instructions requiring floating Point Unit (FPU) are indicated in the comment field. Please note that LOAD, STORE and FPU operations require 4, 4 and 3 clock cycles respectively whereas integer operations require one clock cycle only. Show the execution sequence of the program. Also calculate the run time if the CPU uses 2GHz clock. Instructions Comment ADDR3, R1, R2 FPU LOAD R6, [R3] AND R1, R6, R1 ADD R1, R6, RO FPU FPU SUB R2, R1, R6 AND R4, R3, 15 LOAD R6, [R4] SUB RS, R3, R4 ADD RO, R1, R6 SHL R7, RO, 8 System Integer ALU Write-back Unit-1 Decode Unit-1 Fetch Unit-1 Floating Point Unit Write-back Unit-2 Decode Unit-2 Fetch Unit-2 Integer ALU

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

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions

Question

4. What sales experience have you had?

Answered: 1 week ago

Question

15-5 How will MIS help my career?

Answered: 1 week ago