From d945aa489a1ad62c130e04ceea8492c7a728ab57 Mon Sep 17 00:00:00 2001 From: Brendan Dahl Date: Thu, 8 Aug 2024 10:22:51 -0700 Subject: [FP16] Implement lane access instructions. (#6821) Specified at https://github.com/WebAssembly/half-precision/blob/main/proposals/half-precision/Overview.md --- src/passes/Print.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/passes/Print.cpp') 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; -- cgit v1.2.3