Commit 632dbd9e authored by Zhao Jiazhong's avatar Zhao Jiazhong Committed by Commit Bot

[mips][wasm-simd][liftoff] Implement i32x4_dot_i16x8_s

Bug: v8:10993
Change-Id: Ic46ce5e6e2195ff8ba2e340ddba11dd25b7ddf6e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2479225Reviewed-by: 's avatarZhi An Ng <zhin@chromium.org>
Commit-Queue: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Cr-Commit-Position: refs/heads/master@{#70588}
parent 13414fb8
...@@ -2147,6 +2147,12 @@ void LiftoffAssembler::emit_i32x4_max_u(LiftoffRegister dst, ...@@ -2147,6 +2147,12 @@ void LiftoffAssembler::emit_i32x4_max_u(LiftoffRegister dst,
bailout(kSimd, "emit_i32x4_max_u"); bailout(kSimd, "emit_i32x4_max_u");
} }
void LiftoffAssembler::emit_i32x4_dot_i16x8_s(LiftoffRegister dst,
LiftoffRegister lhs,
LiftoffRegister rhs) {
bailout(kSimd, "emit_i32x4_dot_i16x8_s");
}
void LiftoffAssembler::emit_i64x2_neg(LiftoffRegister dst, void LiftoffAssembler::emit_i64x2_neg(LiftoffRegister dst,
LiftoffRegister src) { LiftoffRegister src) {
bailout(kSimd, "emit_i64x2_neg"); bailout(kSimd, "emit_i64x2_neg");
......
...@@ -2132,6 +2132,12 @@ void LiftoffAssembler::emit_i32x4_max_u(LiftoffRegister dst, ...@@ -2132,6 +2132,12 @@ void LiftoffAssembler::emit_i32x4_max_u(LiftoffRegister dst,
max_u_w(dst.fp().toW(), lhs.fp().toW(), rhs.fp().toW()); max_u_w(dst.fp().toW(), lhs.fp().toW(), rhs.fp().toW());
} }
void LiftoffAssembler::emit_i32x4_dot_i16x8_s(LiftoffRegister dst,
LiftoffRegister lhs,
LiftoffRegister rhs) {
dotp_s_w(dst.fp().toW(), lhs.fp().toW(), rhs.fp().toW());
}
void LiftoffAssembler::emit_i64x2_neg(LiftoffRegister dst, void LiftoffAssembler::emit_i64x2_neg(LiftoffRegister dst,
LiftoffRegister src) { LiftoffRegister src) {
xor_v(kSimd128RegZero, kSimd128RegZero, kSimd128RegZero); xor_v(kSimd128RegZero, kSimd128RegZero, kSimd128RegZero);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment