From 3c78269032071490bc13dc5dbac02567d4d491e0 Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Thu, 3 Oct 2019 18:07:02 -0700 Subject: v8x16.swizzle (#2368) As specified at https://github.com/WebAssembly/simd/blob/master/proposals/simd/SIMD.md#swizzling-using-variable-indices. --- src/wasm-interpreter.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/wasm-interpreter.h') diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h index 8c429caa9..5995808a5 100644 --- a/src/wasm-interpreter.h +++ b/src/wasm-interpreter.h @@ -816,6 +816,9 @@ public: case NarrowUVecI32x4ToVecI16x8: return left.narrowUToVecI16x8(right); + case SwizzleVec8x16: + return left.swizzleVec8x16(right); + case InvalidBinary: WASM_UNREACHABLE(); } -- cgit v1.2.3