diff options
Diffstat (limited to 'test/parse/expr/unary.txt')
-rw-r--r-- | test/parse/expr/unary.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/parse/expr/unary.txt b/test/parse/expr/unary.txt new file mode 100644 index 00000000..64d5a610 --- /dev/null +++ b/test/parse/expr/unary.txt @@ -0,0 +1,23 @@ +(module + (func + (f32.neg (f32.const 0)) + (f64.neg (f64.const 0)) + (f32.abs (f32.const 0)) + (f64.abs (f64.const 0)) + (f32.sqrt (f32.const 0)) + (f64.sqrt (f64.const 0)) + (i32.not (i32.const 0)) + (i32.clz (i32.const 0)) + (i64.clz (i64.const 0)) + (i32.ctz (i32.const 0)) + (i64.ctz (i64.const 0)) + (i32.popcnt (i32.const 0)) + (i64.popcnt (i64.const 0)) + (f32.ceil (f32.const 0)) + (f64.ceil (f64.const 0)) + (f32.floor (f32.const 0)) + (f64.floor (f64.const 0)) + (f32.trunc (f32.const 0)) + (f64.trunc (f64.const 0)) + (f32.nearest (f32.const 0)) + (f64.nearest (f64.const 0)))) |