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: [PATCH] rs6000: Make cr5 allocatable


On Wed, Jun 18, 2014 at 10:14 AM, Segher Boessenkool
<segher@kernel.crashing.org> wrote:
> A comment in rs6000.h says "cr5 is not supposed to be used".  I checked
> all ABIs, going as far back as PowerOpen (1994), and found no mention
> of this.
>
> Also document cr6 is used by some vector instructions.
>
> Tested on powerpc64-linux, no regressions.  Okay to apply?
>
>
> Segher
>
>
> 2014-06-18  Segher Boessenkool  <segher@kernel.crashing.org>
>
> gcc/
>         * config/rs6000/rs6000.h (FIXED_REGISTERS): Update comment.
>         Remove cr5.
>         (REG_ALLOC_ORDER): Update comment.  Move cr5 earlier.

This is okay.

I have no idea why RMS assumed that cr5 is fixed.

Thanks, David


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