aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/d30v-elf/br-bratnz.S
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/d30v-elf/br-bratnz.S')
-rw-r--r--sim/testsuite/d30v-elf/br-bratnz.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/sim/testsuite/d30v-elf/br-bratnz.S b/sim/testsuite/d30v-elf/br-bratnz.S
new file mode 100644
index 0000000..cea048a
--- /dev/null
+++ b/sim/testsuite/d30v-elf/br-bratnz.S
@@ -0,0 +1,12 @@
+ add r3, r0, dest1
+ sub r3, r3, off1
+off1:
+ bratnz r3, r3
+
+ .align 4
+dest1:
+ bratnz r0, dest2
+ .long 0x0e000004, 0x00f00000
+
+ .align 5
+dest2: