summaryrefslogtreecommitdiff
path: root/src/wasm-interpreter.h
diff options
context:
space:
mode:
authorBrendan Dahl <brendan.dahl@gmail.com>2024-08-27 13:07:49 -0700
committerGitHub <noreply@github.com>2024-08-27 13:07:49 -0700
commite2ceaa58c10e9ee3e9eece42466243f5a8aff125 (patch)
tree3815a50a2394632b1dab7bf83e737f828771e76f /src/wasm-interpreter.h
parent52118e536238c10f6873390a6ca475a44350bc71 (diff)
downloadbinaryen-e2ceaa58c10e9ee3e9eece42466243f5a8aff125.tar.gz
binaryen-e2ceaa58c10e9ee3e9eece42466243f5a8aff125.tar.bz2
binaryen-e2ceaa58c10e9ee3e9eece42466243f5a8aff125.zip
Rename relaxed SIMD fma instructions to match spec. (#6876)
The instructions relaxed_fma and relaxed_fnma have been renamed to relaxed_madd and relaxed_nmadd. https://github.com/WebAssembly/relaxed-simd/blob/main/proposals/relaxed-simd/Overview.md#binary-format
Diffstat (limited to 'src/wasm-interpreter.h')
-rw-r--r--src/wasm-interpreter.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h
index 50fc296fe..578b0a569 100644
--- a/src/wasm-interpreter.h
+++ b/src/wasm-interpreter.h
@@ -1201,14 +1201,14 @@ public:
case LaneselectI64x2:
return c.bitselectV128(a, b);
- case RelaxedFmaVecF32x4:
- return a.relaxedFmaF32x4(b, c);
- case RelaxedFmsVecF32x4:
- return a.relaxedFmsF32x4(b, c);
- case RelaxedFmaVecF64x2:
- return a.relaxedFmaF64x2(b, c);
- case RelaxedFmsVecF64x2:
- return a.relaxedFmsF64x2(b, c);
+ case RelaxedMaddVecF32x4:
+ return a.relaxedMaddF32x4(b, c);
+ case RelaxedNmaddVecF32x4:
+ return a.relaxedNmaddF32x4(b, c);
+ case RelaxedMaddVecF64x2:
+ return a.relaxedMaddF64x2(b, c);
+ case RelaxedNmaddVecF64x2:
+ return a.relaxedNmaddF64x2(b, c);
default:
// TODO: implement signselect and dot_add
WASM_UNREACHABLE("not implemented");