PPC: Add r15 to the list of liftoff cache registers

kLiftoffFrameSetupFunctionReg is using r15 which needs it
to be part of the LO cache registers.

Change-Id: I5b2510124d8c5a688decd3874b2fa8c85d40d728
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3975382
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Milad Farazmand <mfarazma@redhat.com>
Reviewed-by: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/main@{#83911}
This commit is contained in:
Milad Fa 2022-10-24 15:50:02 -04:00 committed by V8 LUCI CQ
parent 51bcc50fca
commit 6cd8c58097
2 changed files with 4 additions and 4 deletions

View File

@ -47,8 +47,8 @@ class WasmLiftoffSetupFrameConstants : public TypedFrameConstants {
// registers (see liftoff-assembler-defs.h). // registers (see liftoff-assembler-defs.h).
class WasmDebugBreakFrameConstants : public TypedFrameConstants { class WasmDebugBreakFrameConstants : public TypedFrameConstants {
public: public:
static constexpr RegList kPushedGpRegs = {r3, r4, r5, r6, r7, static constexpr RegList kPushedGpRegs = {r3, r4, r5, r6, r7, r8,
r8, r9, r10, r11, cp}; r9, r10, r11, r15, cp};
static constexpr DoubleRegList kPushedFpRegs = {d0, d1, d2, d3, d4, d5, d6, static constexpr DoubleRegList kPushedFpRegs = {d0, d1, d2, d3, d4, d5, d6,
d7, d8, d9, d10, d11, d12}; d7, d8, d9, d10, d11, d12};

View File

@ -115,8 +115,8 @@ constexpr Register kLiftoffFrameSetupFunctionReg = r7;
#elif V8_TARGET_ARCH_PPC64 #elif V8_TARGET_ARCH_PPC64
constexpr RegList kLiftoffAssemblerGpCacheRegs = {r3, r4, r5, r6, r7, constexpr RegList kLiftoffAssemblerGpCacheRegs = {r3, r4, r5, r6, r7, r8,
r8, r9, r10, r11, cp}; r9, r10, r11, r15, cp};
constexpr DoubleRegList kLiftoffAssemblerFpCacheRegs = { constexpr DoubleRegList kLiftoffAssemblerFpCacheRegs = {
d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12}; d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12};