Commit 384b9417 authored by Milad Farazmand's avatar Milad Farazmand Committed by Commit Bot

PPC/s390: [wasm-simd] [liftoff] Implement add for f64x2, i64x2, i8x16 on X64 and IA32

Port 485e66ba

R=fanchen.kong@intel.com, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
BUG=
LOG=N

Change-Id: I2e1b79a995661243ff05b3d13e310f6315de0c97
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2097450Reviewed-by: 's avatarJunliang Yan <jyan@ca.ibm.com>
Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#66662}
parent 931bdbd7
...@@ -537,6 +537,11 @@ void LiftoffAssembler::emit_f64x2_splat(LiftoffRegister dst, ...@@ -537,6 +537,11 @@ void LiftoffAssembler::emit_f64x2_splat(LiftoffRegister dst,
bailout(kUnsupportedArchitecture, "emit_f64x2splat"); bailout(kUnsupportedArchitecture, "emit_f64x2splat");
} }
void LiftoffAssembler::emit_f64x2_add(LiftoffRegister dst, LiftoffRegister lhs,
LiftoffRegister rhs) {
bailout(kUnsupportedArchitecture, "emit_f64x2add");
}
void LiftoffAssembler::emit_f32x4_splat(LiftoffRegister dst, void LiftoffAssembler::emit_f32x4_splat(LiftoffRegister dst,
LiftoffRegister src) { LiftoffRegister src) {
bailout(kUnsupportedArchitecture, "emit_f32x4_splat"); bailout(kUnsupportedArchitecture, "emit_f32x4_splat");
...@@ -552,6 +557,11 @@ void LiftoffAssembler::emit_i64x2_splat(LiftoffRegister dst, ...@@ -552,6 +557,11 @@ void LiftoffAssembler::emit_i64x2_splat(LiftoffRegister dst,
bailout(kUnsupportedArchitecture, "emit_i64x2splat"); bailout(kUnsupportedArchitecture, "emit_i64x2splat");
} }
void LiftoffAssembler::emit_i64x2_add(LiftoffRegister dst, LiftoffRegister lhs,
LiftoffRegister rhs) {
bailout(kUnsupportedArchitecture, "emit_i64x2add");
}
void LiftoffAssembler::emit_i32x4_splat(LiftoffRegister dst, void LiftoffAssembler::emit_i32x4_splat(LiftoffRegister dst,
LiftoffRegister src) { LiftoffRegister src) {
bailout(kUnsupportedArchitecture, "emit_i32x4_splat"); bailout(kUnsupportedArchitecture, "emit_i32x4_splat");
...@@ -577,6 +587,11 @@ void LiftoffAssembler::emit_i8x16_splat(LiftoffRegister dst, ...@@ -577,6 +587,11 @@ void LiftoffAssembler::emit_i8x16_splat(LiftoffRegister dst,
bailout(kUnsupportedArchitecture, "emit_i8x16splat"); bailout(kUnsupportedArchitecture, "emit_i8x16splat");
} }
void LiftoffAssembler::emit_i8x16_add(LiftoffRegister dst, LiftoffRegister lhs,
LiftoffRegister rhs) {
bailout(kUnsupportedArchitecture, "emit_i8x16add");
}
void LiftoffAssembler::StackCheck(Label* ool_code, Register limit_address) { void LiftoffAssembler::StackCheck(Label* ool_code, Register limit_address) {
bailout(kUnsupportedArchitecture, "StackCheck"); bailout(kUnsupportedArchitecture, "StackCheck");
} }
......
...@@ -541,6 +541,11 @@ void LiftoffAssembler::emit_f64x2_splat(LiftoffRegister dst, ...@@ -541,6 +541,11 @@ void LiftoffAssembler::emit_f64x2_splat(LiftoffRegister dst,
bailout(kUnsupportedArchitecture, "emit_f64x2splat"); bailout(kUnsupportedArchitecture, "emit_f64x2splat");
} }
void LiftoffAssembler::emit_f64x2_add(LiftoffRegister dst, LiftoffRegister lhs,
LiftoffRegister rhs) {
bailout(kUnsupportedArchitecture, "emit_f64x2add");
}
void LiftoffAssembler::emit_f32x4_splat(LiftoffRegister dst, void LiftoffAssembler::emit_f32x4_splat(LiftoffRegister dst,
LiftoffRegister src) { LiftoffRegister src) {
bailout(kUnsupportedArchitecture, "emit_f32x4_splat"); bailout(kUnsupportedArchitecture, "emit_f32x4_splat");
...@@ -556,6 +561,11 @@ void LiftoffAssembler::emit_i64x2_splat(LiftoffRegister dst, ...@@ -556,6 +561,11 @@ void LiftoffAssembler::emit_i64x2_splat(LiftoffRegister dst,
bailout(kUnsupportedArchitecture, "emit_i64x2splat"); bailout(kUnsupportedArchitecture, "emit_i64x2splat");
} }
void LiftoffAssembler::emit_i64x2_add(LiftoffRegister dst, LiftoffRegister lhs,
LiftoffRegister rhs) {
bailout(kUnsupportedArchitecture, "emit_i64x2add");
}
void LiftoffAssembler::emit_i32x4_splat(LiftoffRegister dst, void LiftoffAssembler::emit_i32x4_splat(LiftoffRegister dst,
LiftoffRegister src) { LiftoffRegister src) {
bailout(kUnsupportedArchitecture, "emit_i32x4_splat"); bailout(kUnsupportedArchitecture, "emit_i32x4_splat");
...@@ -581,6 +591,11 @@ void LiftoffAssembler::emit_i8x16_splat(LiftoffRegister dst, ...@@ -581,6 +591,11 @@ void LiftoffAssembler::emit_i8x16_splat(LiftoffRegister dst,
bailout(kUnsupportedArchitecture, "emit_i8x16splat"); bailout(kUnsupportedArchitecture, "emit_i8x16splat");
} }
void LiftoffAssembler::emit_i8x16_add(LiftoffRegister dst, LiftoffRegister lhs,
LiftoffRegister rhs) {
bailout(kUnsupportedArchitecture, "emit_i8x16add");
}
void LiftoffAssembler::StackCheck(Label* ool_code, Register limit_address) { void LiftoffAssembler::StackCheck(Label* ool_code, Register limit_address) {
bailout(kUnsupportedArchitecture, "StackCheck"); bailout(kUnsupportedArchitecture, "StackCheck");
} }
......
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