[問題] 計組-管線指令
請教一下
Schedule the following instruction segment into a superscaler
pipeline for MIPS. Assume that the pipeline can execute one ALU Or
branch instruction and one data transfer instruction concurrently.
For the best, the instruction segment can be executed in four clock
cycles. Fill in the instruction identifiers into the table.
NOte that data dependency should be taken into account.
(Identifier) (Instruction)
In-1 loop: lw $t0.0($1)
In-2 addu $t0.$t0.$s2
In-3 sw $t0.0($1)
In-4 addi $s1.$s1,-4
In-5 bne $s1.$zero.Loop
__________________________________
▕clock ▕ alu or branch instruction ▕data transfer instruction ▕
▕___▕_______________▕______________
▕1___▕______________▕______________▕
▕2___▕______________▕______________▕
▕3___▕______________▕______________▕
▕4___▕______________▕______________▕
表格我盡力了...不會畫...
麻煩了,謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.228.97.36
※ 編輯: bernachom 來自: 61.228.97.36 (05/09 00:55)
→
05/09 10:05, , 1F
05/09 10:05, 1F
→
05/09 10:06, , 2F
05/09 10:06, 2F
→
05/09 10:06, , 3F
05/09 10:06, 3F
→
05/09 10:08, , 4F
05/09 10:08, 4F
→
05/09 10:15, , 5F
05/09 10:15, 5F
→
05/09 14:30, , 6F
05/09 14:30, 6F
推
05/09 17:19, , 7F
05/09 17:19, 7F
→
05/09 17:20, , 8F
05/09 17:20, 8F
→
05/09 21:32, , 9F
05/09 21:32, 9F
→
05/09 23:31, , 10F
05/09 23:31, 10F