diff options
Diffstat (limited to 'test/min.fromasm')
-rw-r--r-- | test/min.fromasm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/min.fromasm b/test/min.fromasm new file mode 100644 index 000000000..6a1b5a1f0 --- /dev/null +++ b/test/min.fromasm @@ -0,0 +1,27 @@ +(module + (memory 16777216 16777216) + (export "floats" $floats) + (func $floats (param $f f32) (result f32) + (local $t f32) + (f32.add + (get_local $t) + (get_local $f) + ) + ) + (func $neg (param $k i32) (param $p i32) + (local $n f32) + (set_local $n + (f32.neg + (block + (i32.store align=4 + (get_local $k) + (get_local $p) + ) + (f32.load align=4 + (get_local $k) + ) + ) + ) + ) + ) +) |