This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [3.1 PATCH] Serious regression on s390
- From: Richard Henderson <rth at redhat dot com>
- To: Ulrich Weigand <weigand at immd1 dot informatik dot uni-erlangen dot de>
- Cc: gcc-patches at gcc dot gnu dot org, ulrich dot weigand at de dot ibm dot com
- Date: Thu, 25 Apr 2002 10:24:24 -0700
- Subject: Re: [3.1 PATCH] Serious regression on s390
- References: <200204251511.RAA05983@faui11.informatik.uni-erlangen.de>
On Thu, Apr 25, 2002 at 05:11:50PM +0200, Ulrich Weigand wrote:
> * config/s390/s390.c (s390_emit_epilogue): Always restore fixed
> registers, even if they are used as global regs.
This is incorrect. A global register _must_ be a fixed
in order to be useful. Otherwise the register allocator
can clobber it on its own.
In particular, consider the usage in the Linux kernel
for Alpha and Sparc64 current, where we force particular
registers to be fixed via command line options.
r~