This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR 44364, e500 caller-save slots


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]