aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/lm32/test_cmpgei.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/lm32/test_cmpgei.S')
-rw-r--r--tests/tcg/lm32/test_cmpgei.S15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/tcg/lm32/test_cmpgei.S b/tests/tcg/lm32/test_cmpgei.S
index 6a8870f4c3..6e388a2a35 100644
--- a/tests/tcg/lm32/test_cmpgei.S
+++ b/tests/tcg/lm32/test_cmpgei.S
@@ -52,4 +52,19 @@ mvi r3, 0
cmpgei r3, r3, 0
check_r3 1
+test_name CMPGEI_11
+mvi r1, 0
+cmpgei r3, r1, -32768
+check_r3 1
+
+test_name CMPGEI_12
+mvi r1, -1
+cmpgei r3, r1, -32768
+check_r3 1
+
+test_name CMPGEI_13
+mvi r1, -32768
+cmpgei r3, r1, -32768
+check_r3 1
+
end