subject

Given the following mips code snippet (note that instruction #6 could be anything):
loop:
1. addi $t0, $t0, 4
2. lw $v0, 0($t0)
3. sw $v0, 20($t0)
4. lw $s0 60($t0)
5. bne $s0, $0, loop
6. ##the following instruction could be anything
a. detect hazards and insert no-ops to insure correct operation. assume no delayed branch, no forwarding units and no interlocked pipeline stages. your answer on the right should take the form of pair(s) of numbers: num@location – indicating num no-ops should be placed at location. e. g., if you wanted to place 6 noops between lines 2 and 3 (i. e., location=2.5) and 8 noops between lines 5 and 6 (i. e., location=5.5), you would write: "[email protected], [email protected]". b. now, reorder/rewrite the program to maximize performance. assume delayed branch and forwarding units, but no interlocked pipeline stages. for unknown reasons, the first instruction after the loop label must be the addi. feel free to insert no-ops where needed.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
Business professionals of america, and future business leaders of america – phi beta lambda are both open to business students at which levels? check all that apply. elementary school middle school high school college
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
After you present a proposal, the committee starts asking you questions, some beyond the strict focus of your proposal. they ask questions about implications in other fields and knowledge about other fields. you are asked to redo your proposal. what is most likely missing? breadth of material depth of material clarity of material details of material
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Idon’t understand the double8 coding problem. it is java
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
Which steps will open the system so that you can enter a question and do a search for
Answers: 1
You know the right answer?
Given the following mips code snippet (note that instruction #6 could be anything):
loop:
Questions
question
Geography, 21.09.2019 18:30
question
Mathematics, 21.09.2019 18:30
question
Mathematics, 21.09.2019 18:30
Questions on the website: 13722362