From 091c684bf1d2cca09da001b9170b205dbe5c333f Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 1 Oct 2024 18:22:10 -0400 Subject: add recursion test, add noops for branch delay slots --- test/out/div | 15 --------------- test/out/div.status | 1 - test/out/fault | 15 --------------- test/out/fault.status | 1 - test/out/fpe | 15 +++++++++++++++ test/out/fpe.status | 1 + test/out/recursion | 0 test/out/recursion.status | 1 + test/out/segv | 15 +++++++++++++++ test/out/segv.status | 1 + 10 files changed, 33 insertions(+), 32 deletions(-) delete mode 100644 test/out/div delete mode 100644 test/out/div.status delete mode 100644 test/out/fault delete mode 100644 test/out/fault.status create mode 100644 test/out/fpe create mode 100644 test/out/fpe.status create mode 100644 test/out/recursion create mode 100644 test/out/recursion.status create mode 100644 test/out/segv create mode 100644 test/out/segv.status (limited to 'test/out') diff --git a/test/out/div b/test/out/div deleted file mode 100644 index 94b9ab8..0000000 --- a/test/out/div +++ /dev/null @@ -1,15 +0,0 @@ - - !!! An exception has occurred !!! - -error: floating point exception -pc: 0x00400004 -ins: 0x0108409a -registers: -$zero: 0x00000000 $t0: 0x00000000 $s0: 0x00000000 $t8: 0x00000000 -$at: 0x00000000 $t1: 0x00000000 $s1: 0x00000000 $t9: 0x00000000 -$v0: 0x00000000 $t2: 0x00000000 $s2: 0x00000000 $k0: 0x00000000 -$v1: 0x00000000 $t3: 0x00000000 $s3: 0x00000000 $k1: 0x00000000 -$a0: 0x00000000 $t4: 0x00000000 $s4: 0x00000000 $gp: 0x00000000 -$a1: 0x00000000 $t5: 0x00000000 $s5: 0x00000000 $sp: 0x10001000 -$a2: 0x00000000 $t6: 0x00000000 $s6: 0x00000000 $fp: 0x00000000 -$a3: 0x00000000 $t7: 0x00000000 $s7: 0x00000000 $ra: 0x0040001c diff --git a/test/out/div.status b/test/out/div.status deleted file mode 100644 index d00491f..0000000 --- a/test/out/div.status +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/test/out/fault b/test/out/fault deleted file mode 100644 index 938bb46..0000000 --- a/test/out/fault +++ /dev/null @@ -1,15 +0,0 @@ - - !!! An exception has occurred !!! - -error: page fault at (nil): address not mapped to object -pc: 0x00400000 -ins: 0x8c080000 -registers: -$zero: 0x00000000 $t0: 0x00000000 $s0: 0x00000000 $t8: 0x00000000 -$at: 0x00000000 $t1: 0x00000000 $s1: 0x00000000 $t9: 0x00000000 -$v0: 0x00000000 $t2: 0x00000000 $s2: 0x00000000 $k0: 0x00000000 -$v1: 0x00000000 $t3: 0x00000000 $s3: 0x00000000 $k1: 0x00000000 -$a0: 0x00000000 $t4: 0x00000000 $s4: 0x00000000 $gp: 0x00000000 -$a1: 0x00000000 $t5: 0x00000000 $s5: 0x00000000 $sp: 0x10001000 -$a2: 0x00000000 $t6: 0x00000000 $s6: 0x00000000 $fp: 0x00000000 -$a3: 0x00000000 $t7: 0x00000000 $s7: 0x00000000 $ra: 0x00400018 diff --git a/test/out/fault.status b/test/out/fault.status deleted file mode 100644 index d00491f..0000000 --- a/test/out/fault.status +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/test/out/fpe b/test/out/fpe new file mode 100644 index 0000000..e6aeb31 --- /dev/null +++ b/test/out/fpe @@ -0,0 +1,15 @@ + + !!! An exception has occurred !!! + +error: floating point exception +pc: 0x00400004 +ins: 0x0108409a +registers: +$zero: 0x00000000 $t0: 0x00000000 $s0: 0x00000000 $t8: 0x00000000 +$at: 0x00000000 $t1: 0x00000000 $s1: 0x00000000 $t9: 0x00000000 +$v0: 0x00000000 $t2: 0x00000000 $s2: 0x00000000 $k0: 0x00000000 +$v1: 0x00000000 $t3: 0x00000000 $s3: 0x00000000 $k1: 0x00000000 +$a0: 0x00000000 $t4: 0x00000000 $s4: 0x00000000 $gp: 0x00000000 +$a1: 0x00000000 $t5: 0x00000000 $s5: 0x00000000 $sp: 0x10001000 +$a2: 0x00000000 $t6: 0x00000000 $s6: 0x00000000 $fp: 0x00000000 +$a3: 0x00000000 $t7: 0x00000000 $s7: 0x00000000 $ra: 0x00400024 diff --git a/test/out/fpe.status b/test/out/fpe.status new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/test/out/fpe.status @@ -0,0 +1 @@ +1 diff --git a/test/out/recursion b/test/out/recursion new file mode 100644 index 0000000..e69de29 diff --git a/test/out/recursion.status b/test/out/recursion.status new file mode 100644 index 0000000..60d3b2f --- /dev/null +++ b/test/out/recursion.status @@ -0,0 +1 @@ +15 diff --git a/test/out/segv b/test/out/segv new file mode 100644 index 0000000..1796539 --- /dev/null +++ b/test/out/segv @@ -0,0 +1,15 @@ + + !!! An exception has occurred !!! + +error: page fault at (nil): address not mapped to object +pc: 0x00400000 +ins: 0x8c080000 +registers: +$zero: 0x00000000 $t0: 0x00000000 $s0: 0x00000000 $t8: 0x00000000 +$at: 0x00000000 $t1: 0x00000000 $s1: 0x00000000 $t9: 0x00000000 +$v0: 0x00000000 $t2: 0x00000000 $s2: 0x00000000 $k0: 0x00000000 +$v1: 0x00000000 $t3: 0x00000000 $s3: 0x00000000 $k1: 0x00000000 +$a0: 0x00000000 $t4: 0x00000000 $s4: 0x00000000 $gp: 0x00000000 +$a1: 0x00000000 $t5: 0x00000000 $s5: 0x00000000 $sp: 0x10001000 +$a2: 0x00000000 $t6: 0x00000000 $s6: 0x00000000 $fp: 0x00000000 +$a3: 0x00000000 $t7: 0x00000000 $s7: 0x00000000 $ra: 0x00400020 diff --git a/test/out/segv.status b/test/out/segv.status new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/test/out/segv.status @@ -0,0 +1 @@ +1 -- cgit v1.2.3-freya