Re: [PATCH] x86: Use target("general-regs-only,baseline-isas-only") in

2020-08-25 Thread Uros Bizjak via Gcc-patches
On Tue, Aug 25, 2020 at 2:13 PM H.J. Lu wrote: > > On Mon, Aug 24, 2020 at 12:40 PM H.J. Lu wrote: > > > > On Mon, Aug 24, 2020 at 12:25 PM Uros Bizjak wrote: > > > > > > On Mon, Aug 24, 2020 at 6:17 PM H.J. Lu wrote: > > > > > > > > On Mon, Aug 24, 2020 at 7:55 AM Uros Bizjak wrote: > > > > >

[PATCH] x86: Use target("general-regs-only, baseline-isas-only") in

2020-08-25 Thread H.J. Lu via Gcc-patches
d. > > > > No, I don't think this is a good idea. Now consider the situation that > > caller functions are compiled with e.g. -mgeneral-regs-only. Due to > > #pragmas, CPUID functions are compiled with a superset ISAs, so they > > again won't be inlined. ISA