aboutsummaryrefslogtreecommitdiffstats
path: root/test/mppa/instr/individual/cb.wltz.c
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2019-03-22 11:10:11 +0100
committerCyril SIX <cyril.six@kalray.eu>2019-03-22 11:10:11 +0100
commit4f45e2926fa9d0dba400ec6b6a1506c898cad13d (patch)
treeaf88ffeec69c62f6df1bd99fbea591168c631186 /test/mppa/instr/individual/cb.wltz.c
parent49ea6f7d4b9e18f8aa740d068bb3fb9e49596e00 (diff)
downloadcompcert-kvx-4f45e2926fa9d0dba400ec6b6a1506c898cad13d.tar.gz
compcert-kvx-4f45e2926fa9d0dba400ec6b6a1506c898cad13d.zip
Reorganized the test/mppa/ tests to have fewer of them
Diffstat (limited to 'test/mppa/instr/individual/cb.wltz.c')
-rw-r--r--test/mppa/instr/individual/cb.wltz.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/mppa/instr/individual/cb.wltz.c b/test/mppa/instr/individual/cb.wltz.c
new file mode 100644
index 00000000..5d52c72a
--- /dev/null
+++ b/test/mppa/instr/individual/cb.wltz.c
@@ -0,0 +1,10 @@
+#include "framework.h"
+
+BEGIN_TEST(int)
+{
+ if ((a & 0x1) - 1 >= 0)
+ c = 1;
+ else
+ c = 0;
+}
+END_TEST32()