PR 44364, e500 caller-save slots

David Edelsohn dje.gcc@gmail.com
Thu Jun 10 12:42:00 GMT 2010


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



More information about the Gcc-patches mailing list