diff options
Diffstat (limited to 'test/wasm2asm/float-ops.wast')
-rw-r--r-- | test/wasm2asm/float-ops.wast | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/wasm2asm/float-ops.wast b/test/wasm2asm/float-ops.wast index 4ca32bb49..de26c9931 100644 --- a/test/wasm2asm/float-ops.wast +++ b/test/wasm2asm/float-ops.wast @@ -101,4 +101,10 @@ (func (export "f64.sqrt") (param $0 f64) (result f64) (f64.sqrt (get_local $0))) + + ;; copysign + (func $copysign64 (param $0 f64) (param $1 f64) (result f64) + (f64.copysign (get_local $0) (get_local $1))) + (func $copysign32 (param $0 f32) (param $1 f32) (result f32) + (f32.copysign (get_local $0) (get_local $1))) ) |