summaryrefslogtreecommitdiff
path: root/test/parse/expr/compare.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/expr/compare.txt')
-rw-r--r--test/parse/expr/compare.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/parse/expr/compare.txt b/test/parse/expr/compare.txt
new file mode 100644
index 00000000..9df5bae3
--- /dev/null
+++ b/test/parse/expr/compare.txt
@@ -0,0 +1,34 @@
+(module
+ (func
+ (i32.eq (i32.const 0) (i32.const 0))
+ (i64.eq (i64.const 0) (i64.const 0))
+ (f32.eq (f32.const 0) (f32.const 0))
+ (f64.eq (f64.const 0) (f64.const 0))
+ (i32.ne (i32.const 0) (i32.const 0))
+ (i64.ne (i64.const 0) (i64.const 0))
+ (f32.ne (f32.const 0) (f32.const 0))
+ (f64.ne (f64.const 0) (f64.const 0))
+ (i32.lt_s (i32.const 0) (i32.const 0))
+ (i64.lt_s (i64.const 0) (i64.const 0))
+ (i32.lt_u (i32.const 0) (i32.const 0))
+ (i64.lt_u (i64.const 0) (i64.const 0))
+ (f32.lt (f32.const 0) (f32.const 0))
+ (f64.lt (f64.const 0) (f64.const 0))
+ (i32.le_s (i32.const 0) (i32.const 0))
+ (i64.le_s (i64.const 0) (i64.const 0))
+ (i32.le_u (i32.const 0) (i32.const 0))
+ (i64.le_u (i64.const 0) (i64.const 0))
+ (f32.le (f32.const 0) (f32.const 0))
+ (f64.le (f64.const 0) (f64.const 0))
+ (i32.gt_s (i32.const 0) (i32.const 0))
+ (i64.gt_s (i64.const 0) (i64.const 0))
+ (i32.gt_u (i32.const 0) (i32.const 0))
+ (i64.gt_u (i64.const 0) (i64.const 0))
+ (f32.gt (f32.const 0) (f32.const 0))
+ (f64.gt (f64.const 0) (f64.const 0))
+ (i32.ge_s (i32.const 0) (i32.const 0))
+ (i64.ge_s (i64.const 0) (i64.const 0))
+ (i32.ge_u (i32.const 0) (i32.const 0))
+ (i64.ge_u (i64.const 0) (i64.const 0))
+ (f32.ge (f32.const 0) (f32.const 0))
+ (f64.ge (f64.const 0) (f64.const 0))))