summaryrefslogtreecommitdiff
path: root/tests/tcg/lm32/test_bi.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/lm32/test_bi.S')
-rw-r--r--tests/tcg/lm32/test_bi.S23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/tcg/lm32/test_bi.S b/tests/tcg/lm32/test_bi.S
new file mode 100644
index 0000000000..a1fbd6fc07
--- /dev/null
+++ b/tests/tcg/lm32/test_bi.S
@@ -0,0 +1,23 @@
+.include "macros.inc"
+
+start
+
+test_name BI_1
+bi jump
+tc_fail
+end
+
+jump_back:
+tc_pass
+end
+
+jump:
+tc_pass
+
+test_name BI_2
+bi jump_back
+tc_fail
+
+end
+
+