Commit bdaa7d66 authored by Zhao Jiazhong's avatar Zhao Jiazhong Committed by Commit Bot

[mips][wasm-simd][liftoff] Implement i16x8.splat

Port 59e96890 https://crrev.com/c/2036739

Change-Id: Ie90aa9afffe36938a97b06947db136dda7e2b840
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2063194
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Auto-Submit: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Reviewed-by: 's avatarZhi An Ng <zhin@chromium.org>
Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66328}
parent 9f0f2cb7
......@@ -1522,7 +1522,7 @@ void LiftoffAssembler::emit_f32x4_splat(LiftoffRegister dst,
// TODO(mips): Support this on loongson 3a4000. Currently, the main MIPS
// CPU, Loongson 3a3000 does not support MSA(simd128), but the upcoming
// 3a4000 support MSA.
bailout(kUnsupportedArchitecture, "emit_f32x4_splat");
bailout(kSimd, "emit_f32x4_splat");
}
void LiftoffAssembler::emit_i32x4_splat(LiftoffRegister dst,
......@@ -1530,7 +1530,15 @@ void LiftoffAssembler::emit_i32x4_splat(LiftoffRegister dst,
// TODO(mips): Support this on loongson 3a4000. Currently, the main MIPS
// CPU, Loongson 3a3000 does not support MSA(simd128), but the upcoming
// 3a4000 support MSA.
bailout(kUnsupportedArchitecture, "emit_i32x4_splat");
bailout(kSimd, "emit_i32x4_splat");
}
void LiftoffAssembler::emit_i16x8_splat(LiftoffRegister dst,
LiftoffRegister src) {
// TODO(mips): Support this on loongson 3a4000. Currently, the main MIPS
// CPU, Loongson 3a3000 does not support MSA(simd128), but the upcoming
// 3a4000 support MSA.
bailout(kSimd, "emit_i16x8_splat");
}
void LiftoffAssembler::StackCheck(Label* ool_code, Register limit_address) {
......
......@@ -1314,7 +1314,7 @@ void LiftoffAssembler::emit_f32x4_splat(LiftoffRegister dst,
// TODO(mips): Support this on loongson 3a4000. Currently, the main MIPS
// CPU, Loongson 3a3000 does not support MSA(simd128), but the upcoming
// 3a4000 support MSA.
bailout(kUnsupportedArchitecture, "emit_f32x4_splat");
bailout(kSimd, "emit_f32x4_splat");
}
void LiftoffAssembler::emit_i32x4_splat(LiftoffRegister dst,
......@@ -1322,7 +1322,15 @@ void LiftoffAssembler::emit_i32x4_splat(LiftoffRegister dst,
// TODO(mips): Support this on loongson 3a4000. Currently, the main MIPS
// CPU, Loongson 3a3000 does not support MSA(simd128), but the upcoming
// 3a4000 support MSA.
bailout(kUnsupportedArchitecture, "emit_i32x4_splat");
bailout(kSimd, "emit_i32x4_splat");
}
void LiftoffAssembler::emit_i16x8_splat(LiftoffRegister dst,
LiftoffRegister src) {
// TODO(mips): Support this on loongson 3a4000. Currently, the main MIPS
// CPU, Loongson 3a3000 does not support MSA(simd128), but the upcoming
// 3a4000 support MSA.
bailout(kSimd, "emit_i16x8_splat");
}
void LiftoffAssembler::StackCheck(Label* ool_code, Register limit_address) {
......
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