Computers and Technology

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.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 01:00, shayyy49
How can a broadcast station be received through cable and satellite systems?
Answers: 1
image
Computers and Technology, 22.06.2019 17:00, shimmerandshine1
Aisha has finished working on a word processing document that contains 15 pages. she has added some special elements in the first three pages, page 9 and 10, and page 15 from the document. she wants to print only these pages to see how they look. which option is the correct way to represent (in the print dialog box) the pages that aisha wants to print
Answers: 3
image
Computers and Technology, 22.06.2019 17:30, kallee10
The forerunner to cell phones, pdas, and smartphones was
Answers: 1
image
Computers and Technology, 23.06.2019 06:00, sebcbal
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
Answers: 2
Do you know the correct answer?
Consider two threads, T1 and T2, with the following codes ($zero represents a register that is hardw...

Questions in other subjects:

Konu
Mathematics, 18.11.2020 22:40