Re: [PATCH] x86: Add target("general-regs-only") function attribute

2020-08-23 Thread Uros Bizjak via Gcc-patches
On Sun, Aug 23, 2020 at 5:07 PM H.J. Lu wrote: > > On Sun, Aug 23, 2020 at 10:18:28AM +0200, Uros Bizjak wrote: > > On Sat, Aug 22, 2020 at 9:09 PM H.J. Lu wrote: > > > > > > > Compile CPUID check with "-mno-sse -mfpmath=387" to disable SSE, AVX > > > > > and > > > > > AVX512 during CPUID check

[PATCH] x86: Add target("general-regs-only") function attribute

2020-08-23 Thread H.J. Lu via Gcc-patches
On Sun, Aug 23, 2020 at 10:18:28AM +0200, Uros Bizjak wrote: > On Sat, Aug 22, 2020 at 9:09 PM H.J. Lu wrote: > > > > > Compile CPUID check with "-mno-sse -mfpmath=387" to disable SSE, AVX and > > > > AVX512 during CPUID check to avoid vector and mask register operations. > > > > > > -mgeneral-re