aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/arm/bl.cgs
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/arm/bl.cgs')
-rw-r--r--sim/testsuite/arm/bl.cgs21
1 files changed, 21 insertions, 0 deletions
diff --git a/sim/testsuite/arm/bl.cgs b/sim/testsuite/arm/bl.cgs
new file mode 100644
index 0000000..fbc7ef5
--- /dev/null
+++ b/sim/testsuite/arm/bl.cgs
@@ -0,0 +1,21 @@
+# arm testcase for bl$cond $offset24
+# mach: all
+
+ .include "testutils.inc"
+
+ start
+
+ .global bl
+bl:
+ mvi_h_gr r14,0
+ bl bl2
+bl1:
+ fail
+bl2:
+ mvaddr_h_gr r4,bl1
+ cmp r14,r4
+ beq bl3
+ fail
+bl3:
+
+ pass