Thanks for looking into this.  I was kind of intimdated by all the macros
in intrin.h, whose meanings were not entirely clear.  Like __MACHINEI, I
though maybe the "I" stood for "Intel" so anything in a __MACHINEI
shouldn't be defined on ARM.

On Mon, 31 Jul 2023, LIU Hao wrote:

> The declaration for `__cpuidex` on the other hand has never been added, maybe
> due to lack of interest; but there are other reasons why we probably don't
> want to declare it, explained in d2374f898457b0f4ea8bd4084a94f2dafc87a99a.

That's kind of unfortunate.  I guess it works out OK though, GCC must be
providing it on x86 (and presumably Clang too, for compatibility with
GCC).

> I think I should propose a patch to hide `__cpuid` for non-x86 targets.

I would have done so, except for the macro confusion referenced above I
was not sure what else should or should not be present, especially for
ia64 which I have never dealt with.


_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to