Re: question about "x86 Built-in Functions" to detect cpu type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Tried that once before calling "__builtin_cpu_is" and also tried it
   every time and it makes no difference.

GCC actually "think" Pentium G and Core i3/i5 are Core i7 because they support
instructions of Core i7.


Perhaps dragging around inside the Linux kernel sources may find a
 better method given that /proc/cpuinfo seems correct.

Dennis



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux