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

--- Comment #11 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Andy Lutomirski from comment #9)
> I'm a bit late to the party, but this patch seems dubious to me. 
> __get_cpuid_max() fails to distinguish between CPUs that have max level 0
> (although I doubt that any such CPUs exist) and CPUs that don't have CPUID
> at all.

No, cpuid leaf 0 will never return zero [1].

[1] https://en.wikipedia.org/wiki/CPUID#EAX.3D0:_Highest_Function_Parameter

Reply via email to