以下に示す部分のプログラムを実行するために必要なメモリの最小量と、5 つのパイプライン ステージの MIPS、固定小数点演算のステージごとに 2 ナノ秒のランタイムはどれですか? 浮動小数点演算では、ステージ EX のコストは 16 ns です。命令は、その実行に必要な数のパイプライン ステージのみを継続します (パイプラインの競合がないと仮定します)。
.data
Pf1: .word 0x41400000
Vet1: .double 1.0, 2.0, 3.0, 4.0
.text
leaf_example:
addi $sp, $sp, -48
sw $s0, 0($sp)
sll $t0, $s0, 5
label: addu $t0, $t0, $s2
sll $t0, $t0, 3
addu $t0, $a1, $t0
bgt $t0, $s0, label
l.d $f18, 0($t0)