This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: symbolic names for processor IDs


Hello!

> The x86 cpuid instruction returns a processor ID and the
> __get_cpuid_max function even explicitly makes the %ebx value directly
> available.  But users of that function have to use a cryptic constant.
>  How about adding a few macros to make this more transparent?

There are some other cpuid vendor signatures than AMD and Intel, and
probably there will be some more. IMO, anybody using __get_cpuid_max
call should define accepted signatures by itself.

Uros.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]