From 03ae7fcbfc5cedefd25c2414616cb1d3f77ab51b Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Fri, 20 Mar 2020 16:31:16 -0700 Subject: SIMD integer abs and bitmask instructions (#2703) Adds full support for the {i8x16,i16x8,i32x4}.abs instructions merged to the SIMD proposal in https://github.com/WebAssembly/simd/pull/128 as well as the {i8x16,i16x8,i32x4}.bitmask instructions proposed in https://github.com/WebAssembly/simd/pull/201. --- 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 2a483efd3..daa7e7ac6 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -717,6 +717,9 @@ struct PrintExpressionContents case NotVec128: o << "v128.not"; break; + case AbsVecI8x16: + o << "i8x16.abs"; + break; case NegVecI8x16: o << "i8x16.neg"; break; @@ -726,6 +729,12 @@ struct PrintExpressionContents case AllTrueVecI8x16: o << "i8x16.all_true"; break; + case BitmaskVecI8x16: + o << "i8x16.bitmask"; + break; + case AbsVecI16x8: + o << "i16x8.abs"; + break; case NegVecI16x8: o << "i16x8.neg"; break; @@ -735,6 +744,12 @@ struct PrintExpressionContents case AllTrueVecI16x8: o << "i16x8.all_true"; break; + case BitmaskVecI16x8: + o << "i16x8.bitmask"; + break; + case AbsVecI32x4: + o << "i32x4.abs"; + break; case NegVecI32x4: o << "i32x4.neg"; break; @@ -744,6 +759,9 @@ struct PrintExpressionContents case AllTrueVecI32x4: o << "i32x4.all_true"; break; + case BitmaskVecI32x4: + o << "i32x4.bitmask"; + break; case NegVecI64x2: o << "i64x2.neg"; break; -- cgit v1.2.3