diff --git a/src/wasm/baseline/ppc/liftoff-assembler-ppc.h b/src/wasm/baseline/ppc/liftoff-assembler-ppc.h index 28921b6392..ebf0b6cd12 100644 --- a/src/wasm/baseline/ppc/liftoff-assembler-ppc.h +++ b/src/wasm/baseline/ppc/liftoff-assembler-ppc.h @@ -725,76 +725,6 @@ void LiftoffAssembler::FillStackSlotsWithZero(int start, int size) { pop(r0); } -#define UNIMPLEMENTED_I32_BINOP(name) \ - void LiftoffAssembler::emit_##name(Register dst, Register lhs, \ - Register rhs) { \ - bailout(kUnsupportedArchitecture, "i32 binop:: " #name); \ - } -#define UNIMPLEMENTED_I32_BINOP_I(name) \ - UNIMPLEMENTED_I32_BINOP(name) \ - void LiftoffAssembler::emit_##name##i(Register dst, Register lhs, \ - int32_t imm) { \ - bailout(kUnsupportedArchitecture, "i32 binop_i: " #name); \ - } -#define UNIMPLEMENTED_I64_BINOP(name) \ - void LiftoffAssembler::emit_##name(LiftoffRegister dst, LiftoffRegister lhs, \ - LiftoffRegister rhs) { \ - bailout(kUnsupportedArchitecture, "i64 binop: " #name); \ - } -#define UNIMPLEMENTED_I64_BINOP_I(name) \ - UNIMPLEMENTED_I64_BINOP(name) \ - void LiftoffAssembler::emit_##name##i(LiftoffRegister dst, \ - LiftoffRegister lhs, int32_t imm) { \ - bailout(kUnsupportedArchitecture, "i64_i binop: " #name); \ - } -#define UNIMPLEMENTED_GP_UNOP(name) \ - void LiftoffAssembler::emit_##name(Register dst, Register src) { \ - bailout(kUnsupportedArchitecture, "gp unop: " #name); \ - } -#define UNIMPLEMENTED_FP_BINOP(name) \ - void LiftoffAssembler::emit_##name(DoubleRegister dst, DoubleRegister lhs, \ - DoubleRegister rhs) { \ - bailout(kUnsupportedArchitecture, "fp binop: " #name); \ - } -#define UNIMPLEMENTED_FP_UNOP(name) \ - void LiftoffAssembler::emit_##name(DoubleRegister dst, DoubleRegister src) { \ - bailout(kUnsupportedArchitecture, "fp unop: " #name); \ - } -#define UNIMPLEMENTED_FP_UNOP_RETURN_TRUE(name) \ - bool LiftoffAssembler::emit_##name(DoubleRegister dst, DoubleRegister src) { \ - bailout(kUnsupportedArchitecture, "fp unop: " #name); \ - return true; \ - } -#define UNIMPLEMENTED_I32_SHIFTOP(name) \ - void LiftoffAssembler::emit_##name(Register dst, Register src, \ - Register amount) { \ - bailout(kUnsupportedArchitecture, "i32 shiftop: " #name); \ - } \ - void LiftoffAssembler::emit_##name##i(Register dst, Register src, \ - int32_t amount) { \ - bailout(kUnsupportedArchitecture, "i32 shiftop: " #name); \ - } -#define UNIMPLEMENTED_I64_SHIFTOP(name) \ - void LiftoffAssembler::emit_##name(LiftoffRegister dst, LiftoffRegister src, \ - Register amount) { \ - bailout(kUnsupportedArchitecture, "i64 shiftop: " #name); \ - } \ - void LiftoffAssembler::emit_##name##i(LiftoffRegister dst, \ - LiftoffRegister src, int32_t amount) { \ - bailout(kUnsupportedArchitecture, "i64 shiftop: " #name); \ - } - -#undef UNIMPLEMENTED_I32_BINOP -#undef UNIMPLEMENTED_I32_BINOP_I -#undef UNIMPLEMENTED_I64_BINOP -#undef UNIMPLEMENTED_I64_BINOP_I -#undef UNIMPLEMENTED_GP_UNOP -#undef UNIMPLEMENTED_FP_BINOP -#undef UNIMPLEMENTED_FP_UNOP -#undef UNIMPLEMENTED_FP_UNOP_RETURN_TRUE -#undef UNIMPLEMENTED_I32_SHIFTOP -#undef UNIMPLEMENTED_I64_SHIFTOP - #define SIGN_EXT(r) extsw(r, r) #define ROUND_F64_TO_F32(fpr) frsp(fpr, fpr) #define INT32_AND_WITH_1F(x) Operand(x & 0x1f)