Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2 . 1 Identify all of the data hazards and their resolution with NOPs assuming no forwarding or hazard detection hardware is being used Hazards

2.1 Identify all of the data hazards and their resolution with NOPs assuming no forwarding or
hazard detection hardware is being used
Hazards identified:
or x13, x12, x11
ld x10,0(x13) EX to 1st RAW Hazard
ld x11,8(x13) EX to 2nd RAW Hazard
add x12, x10, x11 MEM to 1st RAW [load-use-data] & MEM to 2nd Hazards
subi x13, x12,16 Ex to 1st RAW Hazard
NOPS introduced to resolve Hazards:
or x13, x12, x11
NOPS
NOPS
ld x10,0(x13) EX to 1st RAW Hazard resolution with 2 NOPs
ld x11,8(x13) EX to 2nd RAW Hazard resolved as well from above 2 NOPs
NOPS
NOPS
add x12, x10, x11 MEM to 1st RAW [load-use-data] & MEM to 2nd Hazards
resolved with 2 NOPs
NOPS
NOPS
subi x13, x12,16 Ex to 1st only RAW Hazard resolved with 2 NOP

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

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions

Question

=+8.8. Suppose that S = (0,1,2 ,... ], Poo =1, and f,o>0 for all i.

Answered: 1 week ago

Question

here) and other areas you consider relevant.

Answered: 1 week ago