From 8f3c1464d55ce7a9398d6c09a6cbeb9ec29cb7cf Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Wed, 20 Oct 1999 12:21:34 +0000 Subject: [PATCH] * changed scratch_registers to (R_11,_R12,R_30) because R_0 is a special case and R_31 is used as some kind of frame pointer under LinuxPPC --- compiler/new/powerpc/cpubase.pas | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/compiler/new/powerpc/cpubase.pas b/compiler/new/powerpc/cpubase.pas index d6e9663954..3b4073c7d3 100644 --- a/compiler/new/powerpc/cpubase.pas +++ b/compiler/new/powerpc/cpubase.pas @@ -395,7 +395,7 @@ const accumulator = R_3; vmt_offset_reg = R_0; max_scratch_regs = 3; - scratch_regs: Array[1..max_scratch_regs] of TRegister = (R_0,R_30,R_31); + scratch_regs: Array[1..max_scratch_regs] of TRegister = (R_11,R_12,R_30); (* cpuflags : set of tcpuflags = []; *) @@ -549,7 +549,11 @@ implementation end. { $Log$ - Revision 1.8 1999-10-14 14:57:55 florian + Revision 1.9 1999-10-20 12:21:34 jonas + * changed scratch_registers to (R_11,_R12,R_30) because R_0 is a special + case and R_31 is used as some kind of frame pointer under LinuxPPC + + Revision 1.8 1999/10/14 14:57:55 florian - removed the hcodegen use in the new cg, use cgbase instead Revision 1.7 1999/09/15 20:35:47 florian