From a4d1b53ff3374a5d7843b0a879a7908334d5bb46 Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Tue, 19 Jan 2021 19:32:10 -0500 Subject: Prototype additional f64x2 conversions (#3501) As proposed in https://github.com/WebAssembly/simd/pull/383, with opcodes coordinated with the WIP V8 prototype. --- src/passes/Print.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/passes/Print.cpp') diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index b6da29861..0696ea4ec 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -1080,6 +1080,24 @@ struct PrintExpressionContents case WidenHighUVecI32x4ToVecI64x2: o << "i64x2.widen_high_i32x4_u"; break; + case ConvertLowSVecI32x4ToVecF64x2: + o << "f64x2.convert_low_i32x4_s"; + break; + case ConvertLowUVecI32x4ToVecF64x2: + o << "f64x2.convert_low_i32x4_u"; + break; + case TruncSatZeroSVecF64x2ToVecI32x4: + o << "i32x4.trunc_sat_f64x2_zero_s"; + break; + case TruncSatZeroUVecF64x2ToVecI32x4: + o << "i32x4.trunc_sat_f64x2_zero_u"; + break; + case DemoteZeroVecF64x2ToVecF32x4: + o << "f32x4.demote_f64x2_zero"; + break; + case PromoteLowVecF32x4ToVecF64x2: + o << "f64x2.promote_low_f32x4"; + break; case InvalidUnary: WASM_UNREACHABLE("unvalid unary operator"); } -- cgit v1.2.3