指令列表
在下表中,“✓” 表示对应测试中需要这条指令。
指令 | test1 | test2 | test3 | test4 | bitcount | bubble_sort | coremark | crc32 | dhrystone | quick_sort | select_sort | sha | stream_copy | stringsearch |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
addi | ✓ | |||||||||||||
addiu | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
andi | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||
beq | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
bgtz | ✓ | ✓ | ✓ | ✓ | ||||||||||
blez | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||||
bne | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
bgez | ✓ | ✓ | ✓ | |||||||||||
bgezal | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||
bltz | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |||||||
bltzal | ✓ | ✓ | ||||||||||||
eret | ✓ | |||||||||||||
mfc0 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |||
mtc0 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |||
j | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||
jal | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
lb | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |||
lbu | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||||||||
lh | ✓ | ✓ | ✓ | |||||||||||
lhu | ✓ | ✓ | ✓ | ✓ | ||||||||||
lui | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
lw | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
ori | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
add | ✓ | |||||||||||||
addu | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
and | ✓ | ✓ | ✓ | ✓ | ✓ | |||||||||
break | ✓ | |||||||||||||
div | ✓ | ✓ | ||||||||||||
divu | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||
jalr | ✓ | ✓ | ✓ | |||||||||||
jr | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
mfhi | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||
mflo | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||
mthi | ✓ | ✓ | ||||||||||||
mtlo | ✓ | ✓ | ||||||||||||
mult | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||||||||
multu | ✓ | ✓ | ||||||||||||
nor | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||||||||
or | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
sll | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
sllv | ✓ | |||||||||||||
slt | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |||
sltu | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||||
sra | ✓ | ✓ | ✓ | ✓ | ✓ | |||||||||
srav | ✓ | |||||||||||||
srl | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |||
srlv | ✓ | |||||||||||||
sub | ✓ | |||||||||||||
subu | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
syscall | ✓ | |||||||||||||
xor | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |||||||
sb | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |||
sh | ✓ | ✓ | ✓ | ✓ | ||||||||||
slti | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |||
sltiu | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |||
sw | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
xori | ✓ | ✓ | ✓ | ✓ |