diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/full-pipeline/002-nops.test | 12 | ||||
-rw-r--r-- | test/full-pipeline/003-rtype.test | 6 | ||||
-rw-r--r-- | test/full-pipeline/004-itype.test | 5 |
3 files changed, 23 insertions, 0 deletions
diff --git a/test/full-pipeline/002-nops.test b/test/full-pipeline/002-nops.test new file mode 100644 index 0000000..45a3cbf --- /dev/null +++ b/test/full-pipeline/002-nops.test @@ -0,0 +1,12 @@ +nop +nop +nop +nop +add $0, $0, $0 +nop +bn 0 +nop +nop +jn $0 +nop +nop diff --git a/test/full-pipeline/003-rtype.test b/test/full-pipeline/003-rtype.test new file mode 100644 index 0000000..7ed5f78 --- /dev/null +++ b/test/full-pipeline/003-rtype.test @@ -0,0 +1,6 @@ +; Test for some sort of parity between pseudo instructions for rtypes +mv $0, $1 +mv $H, $2 +mv $2, $1 +neg $1 +neg $0 diff --git a/test/full-pipeline/004-itype.test b/test/full-pipeline/004-itype.test new file mode 100644 index 0000000..4fbc032 --- /dev/null +++ b/test/full-pipeline/004-itype.test @@ -0,0 +1,5 @@ +; Test for some sort of parity between pseudo instructions for itypes +ldi $0, 1234 +ldi $1, 0x1234 +ldi $1, 1 +ldi $1, 10 |