https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100758

Erich Eckner <gcc at eckner dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |ASSIGNED
         Resolution|WONTFIX                     |---

--- Comment #7 from Erich Eckner <gcc at eckner dot net> ---
Yes, we could do

#include <cpuinfo.h>
unsigned int regs[4];
__get_cpuid(0, regs, regs+1, regs+2, regs+3);
if (regs[3] & bit_SSE2) {
  ...
}

The "cumbersome" in my first comment referred to doing all that by hand, which
was the alternative, we saw so far.

Ok, I'll switch to that code and stop bothering you :-)

Thanks for looking into this!

Reply via email to