diff options
author | Brendan Dahl <brendan.dahl@gmail.com> | 2024-08-08 10:22:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-08 10:22:51 -0700 |
commit | d945aa489a1ad62c130e04ceea8492c7a728ab57 (patch) | |
tree | 04e529f11ed8b2dfe9d98f84d25f7bef05f158b0 /src/wasm/wasm.cpp | |
parent | c9fd92c25a74a70c9730f1b39b49ef3d91a1a7f1 (diff) | |
download | binaryen-d945aa489a1ad62c130e04ceea8492c7a728ab57.tar.gz binaryen-d945aa489a1ad62c130e04ceea8492c7a728ab57.tar.bz2 binaryen-d945aa489a1ad62c130e04ceea8492c7a728ab57.zip |
[FP16] Implement lane access instructions. (#6821)
Specified at
https://github.com/WebAssembly/half-precision/blob/main/proposals/half-precision/Overview.md
Diffstat (limited to 'src/wasm/wasm.cpp')
-rw-r--r-- | src/wasm/wasm.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp index b17250e6c..ae70e4a22 100644 --- a/src/wasm/wasm.cpp +++ b/src/wasm/wasm.cpp @@ -386,6 +386,7 @@ void SIMDExtract::finalize() { case ExtractLaneVecI64x2: type = Type::i64; break; + case ExtractLaneVecF16x8: case ExtractLaneVecF32x4: type = Type::f32; break; @@ -636,6 +637,7 @@ void Unary::finalize() { case SplatVecI16x8: case SplatVecI32x4: case SplatVecI64x2: + case SplatVecF16x8: case SplatVecF32x4: case SplatVecF64x2: case NotVec128: |