Tidy up and change bash to ./

This commit is contained in:
jl7719 2020-12-14 17:49:30 +00:00
parent 51dbe68ea8
commit 63abcf671a
4 changed files with 48 additions and 61 deletions

View file

@ -1,4 +0,0 @@
12341234
01010101
12312312
88888888

View file

@ -1 +0,0 @@
8

View file

@ -1,8 +0,0 @@
00000008
34020008
00000000
00000000
00000000
00000000
00000000
00000000

View file

@ -1,67 +1,67 @@
#!/bin/bash
# arithmetic
bash test/test_mips_cpu_harvard.sh rtl addu #Pass
bash test/test_mips_cpu_harvard.sh rtl addiu #Pass
bash test/test_mips_cpu_harvard.sh rtl subu #Pass
bash test/test_mips_cpu_harvard.sh rtl and #Pass
bash test/test_mips_cpu_harvard.sh rtl andi #Pass
bash test/test_mips_cpu_harvard.sh rtl or #Pass
bash test/test_mips_cpu_harvard.sh rtl ori #Pass
bash test/test_mips_cpu_harvard.sh rtl xor #Pass
bash test/test_mips_cpu_harvard.sh rtl xori #Pass
#bash test/test_mips_cpu_harvard.sh rtl div
#bash test/test_mips_cpu_harvard.sh rtl divu
#bash test/test_mips_cpu_harvard.sh rtl mthi
#bash test/test_mips_cpu_harvard.sh rtl mtlo
#bash test/test_mips_cpu_harvard.sh rtl mult
#bash test/test_mips_cpu_harvard.sh rtl multu
./test/test_mips_cpu_harvard.sh rtl addu #Pass
./test/test_mips_cpu_harvard.sh rtl addiu #Pass
./test/test_mips_cpu_harvard.sh rtl subu #Pass
./test/test_mips_cpu_harvard.sh rtl and #Pass
./test/test_mips_cpu_harvard.sh rtl andi #Pass
./test/test_mips_cpu_harvard.sh rtl or #Pass
./test/test_mips_cpu_harvard.sh rtl ori #Pass
./test/test_mips_cpu_harvard.sh rtl xor #Pass
./test/test_mips_cpu_harvard.sh rtl xori #Pass
#./test/test_mips_cpu_harvard.sh rtl div
#./test/test_mips_cpu_harvard.sh rtl divu
#./test/test_mips_cpu_harvard.sh rtl mthi
#./test/test_mips_cpu_harvard.sh rtl mtlo
#./test/test_mips_cpu_harvard.sh rtl mult
#./test/test_mips_cpu_harvard.sh rtl multu
# branches
bash test/test_mips_cpu_harvard.sh rtl beq #Pass
bash test/test_mips_cpu_harvard.sh rtl bgez #Pass
#bash test/test_mips_cpu_harvard.sh rtl bgezal #Place return address thing how??
bash test/test_mips_cpu_harvard.sh rtl bgtz #Pass
bash test/test_mips_cpu_harvard.sh rtl blez #Pass
#bash test/test_mips_cpu_harvard.sh rtl bltz #Probably fails due to jump register thing?
bash test/test_mips_cpu_harvard.sh rtl bltzal #Pass
bash test/test_mips_cpu_harvard.sh rtl bne #Pass
./test/test_mips_cpu_harvard.sh rtl beq #Pass
./test/test_mips_cpu_harvard.sh rtl bgez #Pass
#./test/test_mips_cpu_harvard.sh rtl bgezal #Place return address thing how??
./test/test_mips_cpu_harvard.sh rtl bgtz #Pass
./test/test_mips_cpu_harvard.sh rtl blez #Pass
#./test/test_mips_cpu_harvard.sh rtl bltz #Probably fails due to jump register thing?
./test/test_mips_cpu_harvard.sh rtl bltzal #Pass
./test/test_mips_cpu_harvard.sh rtl bne #Pass
# jumps
#bash test/test_mips_cpu_harvard.sh rtl j #Need new testcase
#bash test/test_mips_cpu_harvard.sh rtl jalr #Again how to link?
#bash test/test_mips_cpu_harvard.sh rtl jal #how to link?
bash test/test_mips_cpu_harvard.sh rtl jr #Pass
#./test/test_mips_cpu_harvard.sh rtl j #Need new testcase
#./test/test_mips_cpu_harvard.sh rtl jalr #Again how to link?
#./test/test_mips_cpu_harvard.sh rtl jal #how to link?
./test/test_mips_cpu_harvard.sh rtl jr #Pass
# shift
bash test/test_mips_cpu_harvard.sh rtl sll #Pass
bash test/test_mips_cpu_harvard.sh rtl srl #Pass
bash test/test_mips_cpu_harvard.sh rtl sra #Pass
bash test/test_mips_cpu_harvard.sh rtl srav #Pass
bash test/test_mips_cpu_harvard.sh rtl sllv #Pass
bash test/test_mips_cpu_harvard.sh rtl srlv #Pass
./test/test_mips_cpu_harvard.sh rtl sll #Pass
./test/test_mips_cpu_harvard.sh rtl srl #Pass
./test/test_mips_cpu_harvard.sh rtl sra #Pass
./test/test_mips_cpu_harvard.sh rtl srav #Pass
./test/test_mips_cpu_harvard.sh rtl sllv #Pass
./test/test_mips_cpu_harvard.sh rtl srlv #Pass
# load & store
bash test/test_mips_cpu_harvard.sh rtl lw #Pass
bash test/test_mips_cpu_harvard.sh rtl lb #Pass
bash test/test_mips_cpu_harvard.sh rtl lbu #Pass
bash test/test_mips_cpu_harvard.sh rtl lh #Pass
bash test/test_mips_cpu_harvard.sh rtl lhu #Pass
bash test/test_mips_cpu_harvard.sh rtl lui #Pass
bash test/test_mips_cpu_harvard.sh rtl lwl #Pass
bash test/test_mips_cpu_harvard.sh rtl lwr #Pass
bash test/test_mips_cpu_harvard.sh rtl sw #Pass
#bash test/test_mips_cpu_harvard.sh rtl sb #Once switched to bus
#bash test/test_mips_cpu_harvard.sh rtl sh #Once switched to bus
./test/test_mips_cpu_harvard.sh rtl lw #Pass
./test/test_mips_cpu_harvard.sh rtl lb #Pass
./test/test_mips_cpu_harvard.sh rtl lbu #Pass
./test/test_mips_cpu_harvard.sh rtl lh #Pass
./test/test_mips_cpu_harvard.sh rtl lhu #Pass
./test/test_mips_cpu_harvard.sh rtl lui #Pass
./test/test_mips_cpu_harvard.sh rtl lwl #Pass
./test/test_mips_cpu_harvard.sh rtl lwr #Pass
./test/test_mips_cpu_harvard.sh rtl sw #Pass
#./test/test_mips_cpu_harvard.sh rtl sb #Once switched to bus
#./test/test_mips_cpu_harvard.sh rtl sh #Once switched to bus
# set on less than **Branch delay slots dont work on these...
bash test/test_mips_cpu_harvard.sh rtl slti #Pass
bash test/test_mips_cpu_harvard.sh rtl sltiu #Pass
bash test/test_mips_cpu_harvard.sh rtl slt #Pass
bash test/test_mips_cpu_harvard.sh rtl sltu #Pass
./test/test_mips_cpu_harvard.sh rtl slti #Pass
./test/test_mips_cpu_harvard.sh rtl sltiu #Pass
./test/test_mips_cpu_harvard.sh rtl slt #Pass
./test/test_mips_cpu_harvard.sh rtl sltu #Pass