public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Turning off SRA
@ 2021-01-21 14:29 Alan Lehotsky
  2021-01-21 14:54 ` Richard Biener
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Lehotsky @ 2021-01-21 14:29 UTC (permalink / raw)
  To: gcc

I’m working on performance tuning a gcc 8.3 port and wanted to turn off SRA for an experiment.  But passing both

     -fno-tree-sra
     -fno-ipa-sra

but it’s still tagging compiled functions with  a “_isra” suffix, which would seem to indicate that it’s still running that optimization.

Is there a bigger hammer I’m missing?


Alan Lehotsky
https://codegentllc.com




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Turning off SRA
  2021-01-21 14:29 Turning off SRA Alan Lehotsky
@ 2021-01-21 14:54 ` Richard Biener
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2021-01-21 14:54 UTC (permalink / raw)
  To: Alan Lehotsky; +Cc: GCC Development

On Thu, Jan 21, 2021 at 3:31 PM Alan Lehotsky <alehotsky@codegentllc.com> wrote:
>
> I’m working on performance tuning a gcc 8.3 port and wanted to turn off SRA for an experiment.  But passing both
>
>      -fno-tree-sra
>      -fno-ipa-sra
>
> but it’s still tagging compiled functions with  a “_isra” suffix, which would seem to indicate that it’s still running that optimization.
>
> Is there a bigger hammer I’m missing?

Nope, that should do the trick already.

Richard.

>
> Alan Lehotsky
> https://codegentllc.com
>
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-21 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-21 14:29 Turning off SRA Alan Lehotsky
2021-01-21 14:54 ` Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).