[PATCH] Fix some powerpc debug options

David Edelsohn dje.gcc@gmail.com
Mon Jan 9 23:39:00 GMT 2012


On Mon, Jan 9, 2012 at 4:30 PM, Michael Meissner
<meissner@linux.vnet.ibm.com> wrote:
> I was recently trying to turn on some of the debug options I put in when doing
> the initial power7 work to track down some performance regressions.  The
> following patches fix problems that come up in telling the compiler to use the
> traditional floating point insns for scalar mode on power7
> (-mno-vsx-scalar-double).  It also adds reload helpers for using the VSX memory
> load instructions when the compiler is allowed to use VSX memory instructions
> for scalars.  There were no regressions with these patches.  Are they ok to be
> checked in?
>
> 2012-01-09  Michael Meissner  <meissner@linux.vnet.ibm.com>
>
>        * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Add DF
>        reload patterns if -mvsx-scalar-memory.
>
>        * config/rs6000/vsx.md (vsx_xscvspdp): Allow xscvspdp to be
>        generated, even -mno-vsx-scalar-double was used.
>        (vsx_xscvdpsp_scalar): Likewise.
>        (vsx_xscvspdp_scalar2): Likewise.

Okay.

Thanks, David



More information about the Gcc-patches mailing list