Re: [21/32] Remove global call sets: LRA

2019-10-06 Thread Uros Bizjak
On Sun, Oct 6, 2019 at 4:32 PM Richard Sandiford wrote: > > Uros Bizjak writes: > This caused: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91994 > >> > >> Thanks for reducing & tracking down the underlying cause. > >> > >>> This change doesn't work with -mzeroupper. When -mze

Re: [21/32] Remove global call sets: LRA

2019-10-06 Thread Richard Sandiford
Uros Bizjak writes: This caused: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91994 >> >> Thanks for reducing & tracking down the underlying cause. >> >>> This change doesn't work with -mzeroupper. When -mzeroupper is used, >>> upper bits of vector registers are clobbered upon call

Re: [21/32] Remove global call sets: LRA

2019-10-06 Thread Uros Bizjak
>>> This caused: >>> >>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91994 > > Thanks for reducing & tracking down the underlying cause. > >> This change doesn't work with -mzeroupper. When -mzeroupper is used, >> upper bits of vector registers are clobbered upon callee return if any >> MM/ZMM re

Re: [21/32] Remove global call sets: LRA

2019-10-05 Thread Richard Sandiford
"H.J. Lu" writes: > On Fri, Oct 4, 2019 at 11:03 AM H.J. Lu wrote: >> >> On Wed, Sep 11, 2019 at 12:14 PM Richard Sandiford >> wrote: >> > >> > lra_reg has an actual_call_used_reg_set field that is only used during >> > inheritance. This in turn required a special lra_create_live_ranges >> > pa

Re: [21/32] Remove global call sets: LRA

2019-10-04 Thread H.J. Lu
On Fri, Oct 4, 2019 at 11:03 AM H.J. Lu wrote: > > On Wed, Sep 11, 2019 at 12:14 PM Richard Sandiford > wrote: > > > > lra_reg has an actual_call_used_reg_set field that is only used during > > inheritance. This in turn required a special lra_create_live_ranges > > pass for flag_ipa_ra to set up

Re: [21/32] Remove global call sets: LRA

2019-10-04 Thread H.J. Lu
On Wed, Sep 11, 2019 at 12:14 PM Richard Sandiford wrote: > > lra_reg has an actual_call_used_reg_set field that is only used during > inheritance. This in turn required a special lra_create_live_ranges > pass for flag_ipa_ra to set up this field. This patch instead makes > the inheritance code

Re: [21/32] Remove global call sets: LRA

2019-09-30 Thread Jeff Law
On 9/11/19 1:14 PM, Richard Sandiford wrote: > lra_reg has an actual_call_used_reg_set field that is only used during > inheritance. This in turn required a special lra_create_live_ranges > pass for flag_ipa_ra to set up this field. This patch instead makes > the inheritance code do its own live

[21/32] Remove global call sets: LRA

2019-09-11 Thread Richard Sandiford
lra_reg has an actual_call_used_reg_set field that is only used during inheritance. This in turn required a special lra_create_live_ranges pass for flag_ipa_ra to set up this field. This patch instead makes the inheritance code do its own live register tracking, using the same ABI-mask-and-clobbe