diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2019-09-24 16:57:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-24 16:57:57 -0700 |
commit | ed2c3cd0892be8a1380a6c6bfddfa3492c16f91c (patch) | |
tree | 32e5f1499f69caa359c130c92e1d28153e7506d3 /src/passes/Print.cpp | |
parent | 034ed383a968204427befda3f9fb8bb5d2f63f75 (diff) | |
download | binaryen-ed2c3cd0892be8a1380a6c6bfddfa3492c16f91c.tar.gz binaryen-ed2c3cd0892be8a1380a6c6bfddfa3492c16f91c.tar.bz2 binaryen-ed2c3cd0892be8a1380a6c6bfddfa3492c16f91c.zip |
SIMD load and extend instructions (#2353)
Adds support for the new load and extend instructions. Also updates
from C++11 to C++17 in order to use generic lambdas in the interpreter
implementation.
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index e73747a4f..b856b2000 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -406,6 +406,24 @@ struct PrintExpressionContents case LoadSplatVec64x2: o << "v64x2.load_splat"; break; + case LoadExtSVec8x8ToVecI16x8: + o << "i16x8.load8x8_s"; + break; + case LoadExtUVec8x8ToVecI16x8: + o << "i16x8.load8x8_u"; + break; + case LoadExtSVec16x4ToVecI32x4: + o << "i32x4.load16x4_s"; + break; + case LoadExtUVec16x4ToVecI32x4: + o << "i32x4.load16x4_u"; + break; + case LoadExtSVec32x2ToVecI64x2: + o << "i64x2.load32x2_s"; + break; + case LoadExtUVec32x2ToVecI64x2: + o << "i64x2.load32x2_u"; + break; } restoreNormalColor(o); if (curr->offset) { |