aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/set-uimm3.c
diff options
Diffstat (limited to 'validation/optim/set-uimm3.c')
-rw-r--r--validation/optim/set-uimm3.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/validation/optim/set-uimm3.c b/validation/optim/set-uimm3.c
new file mode 100644
index 00000000..5160f741
--- /dev/null
+++ b/validation/optim/set-uimm3.c
@@ -0,0 +1,10 @@
+int le(int x) { return (x <= 0x7fffffffU) == (x >= 0); }
+int gt(int x) { return (x > 0x7fffffffU) == (x < 0); }
+
+/*
+ * check-name: set-uimm3
+ * check-command: test-linearize -Wno-decl $file
+ *
+ * check-output-ignore
+ * check-output-returns: 1
+ */