ppc: [liftoff] implement Move

Change-Id: Ib511d5332c63952724a1a787d262269dd4aed4a6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2992458
Reviewed-by: Milad Fa <mfarazma@redhat.com>
Commit-Queue: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/master@{#75424}
This commit is contained in:
Junliang Yan 2021-06-28 11:52:12 -04:00 committed by V8 LUCI CQ
parent d2afc25e47
commit feed38971c

View File

@ -590,12 +590,16 @@ void LiftoffAssembler::MoveStackValue(uint32_t dst_offset, uint32_t src_offset,
}
void LiftoffAssembler::Move(Register dst, Register src, ValueKind kind) {
bailout(kUnsupportedArchitecture, "Move Register");
mov(dst, src);
}
void LiftoffAssembler::Move(DoubleRegister dst, DoubleRegister src,
ValueKind kind) {
bailout(kUnsupportedArchitecture, "Move DoubleRegister");
if (kind == kF32 || kind == kF64) {
fmr(dst, src);
} else {
bailout(kSimd, "simd op");
}
}
void LiftoffAssembler::Spill(int offset, LiftoffRegister reg, ValueKind kind) {