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, 22.06.2019 21:10
Dameas communication challenge is due to which factor
Answers: 2
question
Computers and Technology, 22.06.2019 22:30
The qwerty keyboard is the most common layout of keys on a keyboard
Answers: 3
question
Computers and Technology, 23.06.2019 22:30
You draw two cards from a standard deck of 52 cards, but before you draw the second card, you put the first one back and reshuffle the deck. (a) are the outcomes on the two cards independent? why?
Answers: 3
question
Computers and Technology, 24.06.2019 15:30
During the software planning process, rick, a project manager, finds that his team has made an incorrect estimation of funds. what kind of risk has rick identified? rick has identified a risk.
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
question
English, 22.09.2019 06:00
question
English, 22.09.2019 06:00
Questions on the website: 13722367