Index: test/mjsunit/wasm/asm-wasm-f32.js |
diff --git a/test/mjsunit/wasm/asm-wasm-f32.js b/test/mjsunit/wasm/asm-wasm-f32.js |
index a5d5a6c2cc2c6e01503764ac2bc626da51264838..66ef2747969a197db264851a7b12ed5981f4c64c 100644 |
--- a/test/mjsunit/wasm/asm-wasm-f32.js |
+++ b/test/mjsunit/wasm/asm-wasm-f32.js |
@@ -159,6 +159,11 @@ function f32_gteq(a, b) { |
return 0; |
} |
+function f32_neg(a) { |
+ a = fround(a); |
+ return fround(-a); |
+} |
+ |
var inputs = [ |
0, 1, 2, 3, 4, |
@@ -211,6 +216,7 @@ var funcs = [ |
f32_lteq, |
f32_gt, |
f32_gteq, |
+ f32_neg, |
]; |
(function () { |