Commit ef77fe0f authored by Liu Yu's avatar Liu Yu Committed by V8 LUCI CQ

[loong64][mips][wasm-simd] Prototype Relaxed Rounding Q-format Multiplication

Port commit fe443a4e

Bug: v8:12284
Change-Id: I242c4161ecff09fd7bcfeda27560a6c881c87d09
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3641034
Auto-Submit: Yu Liu <liuyu@loongson.cn>
Commit-Queue: Yu Liu <liuyu@loongson.cn>
Reviewed-by: 's avatarZhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Cr-Commit-Position: refs/heads/main@{#80483}
parent b415cd7c
...@@ -1821,6 +1821,13 @@ void LiftoffAssembler::emit_i8x16_relaxed_swizzle(LiftoffRegister dst, ...@@ -1821,6 +1821,13 @@ void LiftoffAssembler::emit_i8x16_relaxed_swizzle(LiftoffRegister dst,
bailout(kSimd, "emit_i8x16_relaxed_swizzle"); bailout(kSimd, "emit_i8x16_relaxed_swizzle");
} }
void LiftoffAssembler::emit_s128_relaxed_laneselect(LiftoffRegister dst,
LiftoffRegister src1,
LiftoffRegister src2,
LiftoffRegister mask) {
bailout(kSimd, "emit_s128_relaxed_laneselect");
}
void LiftoffAssembler::emit_i8x16_splat(LiftoffRegister dst, void LiftoffAssembler::emit_i8x16_splat(LiftoffRegister dst,
LiftoffRegister src) { LiftoffRegister src) {
bailout(kSimd, "emit_i8x16_splat"); bailout(kSimd, "emit_i8x16_splat");
...@@ -1890,6 +1897,12 @@ void LiftoffAssembler::emit_i16x8_q15mulr_sat_s(LiftoffRegister dst, ...@@ -1890,6 +1897,12 @@ void LiftoffAssembler::emit_i16x8_q15mulr_sat_s(LiftoffRegister dst,
bailout(kSimd, "emit_i16x8_q15mulr_sat_s"); bailout(kSimd, "emit_i16x8_q15mulr_sat_s");
} }
void LiftoffAssembler::emit_relaxed_i16x8_q15mulr_s(LiftoffRegister dst,
LiftoffRegister src1,
LiftoffRegister src2) {
bailout(kSimd, "emit_relaxed_i16x8_q15mulr_s");
}
void LiftoffAssembler::emit_i8x16_eq(LiftoffRegister dst, LiftoffRegister lhs, void LiftoffAssembler::emit_i8x16_eq(LiftoffRegister dst, LiftoffRegister lhs,
LiftoffRegister rhs) { LiftoffRegister rhs) {
bailout(kSimd, "emit_i8x16_eq"); bailout(kSimd, "emit_i8x16_eq");
...@@ -3139,13 +3152,6 @@ void LiftoffStackSlots::Construct(int param_slots) { ...@@ -3139,13 +3152,6 @@ void LiftoffStackSlots::Construct(int param_slots) {
} }
} }
void LiftoffAssembler::emit_s128_relaxed_laneselect(LiftoffRegister dst,
LiftoffRegister src1,
LiftoffRegister src2,
LiftoffRegister mask) {
bailout(kSimd, "emit_s128_relaxed_laneselect");
}
} // namespace wasm } // namespace wasm
} // namespace internal } // namespace internal
} // namespace v8 } // namespace v8
......
...@@ -1912,6 +1912,12 @@ void LiftoffAssembler::emit_i16x8_q15mulr_sat_s(LiftoffRegister dst, ...@@ -1912,6 +1912,12 @@ void LiftoffAssembler::emit_i16x8_q15mulr_sat_s(LiftoffRegister dst,
bailout(kSimd, "i16x8_q15mulr_sat_s"); bailout(kSimd, "i16x8_q15mulr_sat_s");
} }
void LiftoffAssembler::emit_relaxed_i16x8_q15mulr_s(LiftoffRegister dst,
LiftoffRegister src1,
LiftoffRegister src2) {
bailout(kSimd, "emit_relaxed_i16x8_q15mulr_s");
}
void LiftoffAssembler::emit_i8x16_eq(LiftoffRegister dst, LiftoffRegister lhs, void LiftoffAssembler::emit_i8x16_eq(LiftoffRegister dst, LiftoffRegister lhs,
LiftoffRegister rhs) { LiftoffRegister rhs) {
bailout(kSimd, "emit_i8x16_eq"); bailout(kSimd, "emit_i8x16_eq");
......
...@@ -2235,6 +2235,12 @@ void LiftoffAssembler::emit_i16x8_q15mulr_sat_s(LiftoffRegister dst, ...@@ -2235,6 +2235,12 @@ void LiftoffAssembler::emit_i16x8_q15mulr_sat_s(LiftoffRegister dst,
mulr_q_h(dst.fp().toW(), src1.fp().toW(), src2.fp().toW()); mulr_q_h(dst.fp().toW(), src1.fp().toW(), src2.fp().toW());
} }
void LiftoffAssembler::emit_relaxed_i16x8_q15mulr_s(LiftoffRegister dst,
LiftoffRegister src1,
LiftoffRegister src2) {
bailout(kSimd, "emit_relaxed_i16x8_q15mulr_s");
}
void LiftoffAssembler::emit_i8x16_eq(LiftoffRegister dst, LiftoffRegister lhs, void LiftoffAssembler::emit_i8x16_eq(LiftoffRegister dst, LiftoffRegister lhs,
LiftoffRegister rhs) { LiftoffRegister rhs) {
ceq_b(dst.fp().toW(), lhs.fp().toW(), rhs.fp().toW()); ceq_b(dst.fp().toW(), lhs.fp().toW(), rhs.fp().toW());
......
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