From 3082bf8b37b0306df9f835f20006309ccf68c28c Mon Sep 17 00:00:00 2001 From: Milad Fa Date: Mon, 19 Oct 2020 12:46:04 +0000 Subject: [PATCH] PPC/s390: [wasm-simd][liftoff][ia32][x64] Implement i32x4_dot_i16x8_s Port 2bc52ff7d06e66fedd5f15c231dc7c0614f82649 Original Commit Message: Implement i32x4.dot_i16x8_s for Liftoff on on ia32 and x64. ARM implementation will come later. R=zhin@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com BUG= LOG=N Change-Id: I2cc3afe63802aa00b8e5e7dcfb710c49d1486a90 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2484337 Reviewed-by: Junliang Yan Commit-Queue: Milad Fa Cr-Commit-Position: refs/heads/master@{#70611} --- src/wasm/baseline/ppc/liftoff-assembler-ppc.h | 6 ++++++ src/wasm/baseline/s390/liftoff-assembler-s390.h | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/wasm/baseline/ppc/liftoff-assembler-ppc.h b/src/wasm/baseline/ppc/liftoff-assembler-ppc.h index 688b7b9999..01fb545fb8 100644 --- a/src/wasm/baseline/ppc/liftoff-assembler-ppc.h +++ b/src/wasm/baseline/ppc/liftoff-assembler-ppc.h @@ -944,6 +944,12 @@ void LiftoffAssembler::emit_i32x4_max_u(LiftoffRegister dst, bailout(kUnsupportedArchitecture, "emit_i32x4_max_u"); } +void LiftoffAssembler::emit_i32x4_dot_i16x8_s(LiftoffRegister dst, + LiftoffRegister lhs, + LiftoffRegister rhs) { + bailout(kSimd, "i32x4_dot_i16x8_s"); +} + void LiftoffAssembler::emit_i16x8_splat(LiftoffRegister dst, LiftoffRegister src) { bailout(kUnsupportedArchitecture, "emit_i16x8splat"); diff --git a/src/wasm/baseline/s390/liftoff-assembler-s390.h b/src/wasm/baseline/s390/liftoff-assembler-s390.h index cfe7d2ae02..7397dbe950 100644 --- a/src/wasm/baseline/s390/liftoff-assembler-s390.h +++ b/src/wasm/baseline/s390/liftoff-assembler-s390.h @@ -948,6 +948,12 @@ void LiftoffAssembler::emit_i32x4_max_u(LiftoffRegister dst, bailout(kUnsupportedArchitecture, "emit_i32x4_max_u"); } +void LiftoffAssembler::emit_i32x4_dot_i16x8_s(LiftoffRegister dst, + LiftoffRegister lhs, + LiftoffRegister rhs) { + bailout(kSimd, "i32x4_dot_i16x8_s"); +} + void LiftoffAssembler::emit_i16x8_splat(LiftoffRegister dst, LiftoffRegister src) { bailout(kUnsupportedArchitecture, "emit_i16x8splat");