From 5930ada5bee7061d8063f2638cdb1cb25dce5292 Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Tue, 12 May 2020 09:58:37 -0700 Subject: Implement pseudo-min/max SIMD instructions (#2847) As specified in https://github.com/WebAssembly/simd/pull/122. --- src/passes/Print.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/passes/Print.cpp') diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index 0839b3feb..3ed6edcb5 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -1337,6 +1337,12 @@ struct PrintExpressionContents case MaxVecF32x4: o << "f32x4.max"; break; + case PMinVecF32x4: + o << "f32x4.pmin"; + break; + case PMaxVecF32x4: + o << "f32x4.pmax"; + break; case AddVecF64x2: o << "f64x2.add"; break; @@ -1355,6 +1361,12 @@ struct PrintExpressionContents case MaxVecF64x2: o << "f64x2.max"; break; + case PMinVecF64x2: + o << "f64x2.pmin"; + break; + case PMaxVecF64x2: + o << "f64x2.pmax"; + break; case NarrowSVecI16x8ToVecI8x16: o << "i8x16.narrow_i16x8_s"; -- cgit v1.2.3