Re: Local optimization options

2020-07-06 Thread Richard Biener via Gcc
On Sun, Jul 5, 2020 at 4:37 PM Marc Glisse wrote: > > On Sun, 5 Jul 2020, Thomas König wrote: > > > > >> Am 04.07.2020 um 19:11 schrieb Richard Biener : > >> > >> On July 4, 2020 11:30:05 AM GMT+02:00, "Thomas König" > >> wrote: > >>> > >>> What could be a preferred way to achieve that? Could o

Re: Local optimization options

2020-07-05 Thread Marc Glisse
On Sun, 5 Jul 2020, Thomas König wrote: Am 04.07.2020 um 19:11 schrieb Richard Biener : On July 4, 2020 11:30:05 AM GMT+02:00, "Thomas König" wrote: What could be a preferred way to achieve that? Could optimization options like -ffast-math be applied to blocks instead of functions? Could

Re: Local optimization options

2020-07-05 Thread Richard Biener via Gcc
On July 5, 2020 12:37:58 PM GMT+02:00, "Thomas König" wrote: > >> Am 04.07.2020 um 19:11 schrieb Richard Biener >: >> >> On July 4, 2020 11:30:05 AM GMT+02:00, "Thomas König" > wrote: >>> >>> What could be a preferred way to achieve that? Could optimization >>> options like -ffast-math be appli

Re: Local optimization options

2020-07-05 Thread Thomas König
> Am 04.07.2020 um 19:11 schrieb Richard Biener : > > On July 4, 2020 11:30:05 AM GMT+02:00, "Thomas König" > wrote: >> >> What could be a preferred way to achieve that? Could optimization >> options like -ffast-math be applied to blocks instead of functions? >> Could we set flags on the TRE

Re: Local optimization options

2020-07-04 Thread Richard Biener via Gcc
On July 4, 2020 11:30:05 AM GMT+02:00, "Thomas König" wrote: >Hi, > >in Fortran, it would sometimes be useful to have a different >optimization >depending on whether we generate inlined code for intrinsics (where we >know when it is OK to „go wild“) or user code, where we need to >adhere (for ex

Local optimization options

2020-07-04 Thread Thomas König
Hi, in Fortran, it would sometimes be useful to have a different optimization depending on whether we generate inlined code for intrinsics (where we know when it is OK to „go wild“) or user code, where we need to adhere (for example) to IEEE semantics unless otherwise instructed by the user. Wh