subject

Consider two threads, T1 and T2, with the following codes ($zero represents a register that is hardwired to value "0"): T1
my_again:
lw r2, 0(r1)
lw r4, 4(r1)
add r2, r2, r8
add r4, r4, r8
sw r2, 4(r1)
sw r4, 0(r1)
sub r1, r1,-4
bne r1, $zero, m
Each of these threads is to be separately scheduled and executed on a two-slot VLIW machine with the goal of achieving a minimum number of cycles. A bundle in this architecture has two instructions. The first of these instructions can be only an ALU or branch instruction, whereas the second one can be only a load or store instruction. You are allowed to reorder independent instructions and change the offset of addressing (if needed). You are not allowed to combine instructions.
5-a: Map T1 to this VLIW machine. Explain each instruction-to-execution slot mapping decision you make in sufficient detail (i. e., why you have decided so, couldn’t instruction be scheduled in an earlier slot (cycle)?).
5-b: Map T2 to this VLIW machine. Explain each instruction-to-execution slot mapping decision you make in sufficient detail (i. e., why you have decided so, couldn’t instruction be scheduled in an earlier slot (cycle)?)
5-c: Repeat 5-a, but this time assuming that any instruction can be mapped to any execution slot.
5-d: Repeat 5-b, but this time assuming that any instruction can be mapped to any execution slot.
Now, you decided to move to a fine-grain multi-threaded architecture (FGMT). The FGMT architecture you are considering can execute up to 4 instructions in parallel. Further, in a given cycle, any combination of independent instructions can be executed in parallel.
5-e: Show a scheduling of these two threads together on the FGMT machine with the goal of improving throughput.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 16:30
If i wanted to include a built-in calendar in a document, what option could i select? draw table insert table insert chart quick tables
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
What is one reason why indoor air pollution has become an increasing problem.
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
Me ajude por favor , coloquei uma senha e nĂŁo consigo tira-la no chorme
Answers: 2
question
Computers and Technology, 23.06.2019 20:30
What is the biggest difference between section breaks and regular page breaks
Answers: 1
You know the right answer?
Consider two threads, T1 and T2, with the following codes ($zero represents a register that is hardw...
Questions
Questions on the website: 13722363