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: [RS6000] Use gen_hard_reg_clobber in rs6000.c


On Sat, Dec 15, 2018 at 11:48:07AM +1030, Alan Modra wrote:
> I noticed when looking at PR88311 that rs6000_call_sysv should be
> using gen_hard_reg_clobber (as the sysv call insns did prior to me
> introducing rs6000_call_sysv).  This patch fixes that minor
> regression, and other like places in rs6000.c.  Bootstrapped and
> regression tested powerpc64le-linux.  Powerpc64-linux biarch bootstrap
> still in progress.  OK mainline?

Sure, okay for trunk.  Does this actually change behaviour anywhere, or
is it just a performance / memory use optimisation?


Segher


> 	* config/rs6000/rs6000.c (generate_set_vrsave, rs6000_emit_savres_rtx),
> 	(rs6000_emit_prologue, rs6000_call_aix, rs6000_call_sysv),
> 	(rs6000_call_darwin_1): Use gen_hard_reg_clobber.


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