aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/lm32/test_cmpgeui.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/lm32/test_cmpgeui.S')
-rw-r--r--tests/tcg/lm32/test_cmpgeui.S15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/tcg/lm32/test_cmpgeui.S b/tests/tcg/lm32/test_cmpgeui.S
index b9d1755e22..3866d96cb7 100644
--- a/tests/tcg/lm32/test_cmpgeui.S
+++ b/tests/tcg/lm32/test_cmpgeui.S
@@ -52,4 +52,19 @@ mvi r3, 0
cmpgeui r3, r3, 0
check_r3 1
+test_name CMPGEUI_11
+mvi r1, 0
+cmpgeui r3, r1, 0x8000
+check_r3 0
+
+test_name CMPGEUI_12
+mvi r1, -1
+cmpgeui r3, r1, 0x8000
+check_r3 1
+
+test_name CMPGEUI_13
+ori r1, r0, 0x8000
+cmpgeui r3, r1, 0x8000
+check_r3 1
+
end