Re: [PATCH] x86: Add -mbaseline-isas-only/target("baseline-isas-only")

2020-08-28 Thread H.J. Lu via Gcc-patches
On Thu, Aug 27, 2020 at 10:00 AM Uros Bizjak wrote: > > On Thu, Aug 27, 2020 at 4:45 PM H.J. Lu wrote: > > > > > > > > How about target("baseline-isas-only")? All CPUID functions are > > > > > > > inlined. > > > > > > > > > > > > No, I don't think this is a good idea. Now consider the situation

Re: [PATCH] x86: Add -mbaseline-isas-only/target("baseline-isas-only")

2020-08-27 Thread Uros Bizjak via Gcc-patches
On Thu, Aug 27, 2020 at 4:45 PM H.J. Lu wrote: > > > > > > How about target("baseline-isas-only")? All CPUID functions are > > > > > > inlined. > > > > > > > > > > No, I don't think this is a good idea. Now consider the situation that > > > > > caller functions are compiled with e.g. -mgeneral-re