summaryrefslogtreecommitdiff
path: root/tests/10optimizer_bytecode/cmp_sqr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/10optimizer_bytecode/cmp_sqr')
-rw-r--r--tests/10optimizer_bytecode/cmp_sqr7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/10optimizer_bytecode/cmp_sqr b/tests/10optimizer_bytecode/cmp_sqr
new file mode 100644
index 0000000..91cf41c
--- /dev/null
+++ b/tests/10optimizer_bytecode/cmp_sqr
@@ -0,0 +1,7 @@
+T=d f ld li
+V=x
+R=-10,10,1
+F=1*((x*x)=16) + 2*((x*x)<16) + 4*((x*x)<=16) + \
+ 8*((x*x)>16) + 16*((x*x)>=16) + 32*((x*x)!=16)
+C=1*fp_equal((x*x),16) + 2*fp_less((x*x),16) + 4*fp_lessOrEq((x*x),16) + \
+ 8*fp_greater((x*x),16) + 16*fp_greaterOrEq((x*x),16) + 32*fp_nequal((x*x),16)