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/passes/Print.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/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index aca43924d..fd22f1b71 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -703,6 +703,9 @@ struct PrintExpressionContents case ExtractLaneVecI64x2: o << "i64x2.extract_lane"; break; + case ExtractLaneVecF16x8: + o << "f16x8.extract_lane"; + break; case ExtractLaneVecF32x4: o << "f32x4.extract_lane"; break; @@ -728,6 +731,9 @@ struct PrintExpressionContents case ReplaceLaneVecI64x2: o << "i64x2.replace_lane"; break; + case ReplaceLaneVecF16x8: + o << "f16x8.replace_lane"; + break; case ReplaceLaneVecF32x4: o << "f32x4.replace_lane"; break; @@ -1137,6 +1143,9 @@ struct PrintExpressionContents case SplatVecI64x2: o << "i64x2.splat"; break; + case SplatVecF16x8: + o << "f16x8.splat"; + break; case SplatVecF32x4: o << "f32x4.splat"; break; |