This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR 44364, e500 caller-save slots
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 10 Jun 2010 08:30:04 -0400
- Subject: Re: PR 44364, e500 caller-save slots
- References: <20100610011712.GO7312@bubble.grove.modra.org>
On Wed, Jun 9, 2010 at 9:17 PM, Alan Modra <amodra@gmail.com> wrote:
> e500 can use 64-bit gprs for fp calculations, but the normal size of
> gprs for integer calculations is 32-bit. ?This confuses gcc's
> caller-save logic, resulting in only the low 32 bits being saved even
> when the full 64-bit register is in use. ?Fixed as follows, but this
> tickles a bug in caller-save.c. ?See
> http://gcc.gnu.org/ml/gcc-patches/2010-06/msg01033.html
>
> OK to apply assuming bootstrap/regress test passes?
>
> ? ? ? ?PR target/44364
> ? ? ? ?* config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Define.
Okay.
Thanks, David