Announcement

Collapse
No announcement yet.

Google Rolls Out cpu_features Library

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • pal666
    replied
    Originally posted by unixfan2001 View Post
    What makes you think it's Windows-only?
    its feature matrix? i didn't say it's windows-only. it is linux only with additional windows support on x86

    Leave a comment:


  • unixfan2001
    replied
    Originally posted by pal666 View Post
    cross-windows and only on x86
    What makes you think it's Windows-only?

    Leave a comment:


  • Guest
    Guest replied
    Originally posted by unixfan2001 View Post
    I fail to see what the difference between this and several existing packages (most of them named "cpuid" or "libcpuid") is, aside of lacking x86 support for /proc/cpuinfo.
    There is none, there are hundreds of these on github already. What could be actually useful is if google tried to push single version of this as compiler builtins for gcc, clang and msvc. GCC already has__builtin_cpu_supports("mmx"), but it's still pretty useless since other compilers don't implement it or implement it differently.

    Leave a comment:


  • Guest
    Guest replied
    I wonder if this was part of the Android SDK earlier? I remember seeing some header/C file called cpu-feature in there at some point.

    Leave a comment:


  • Danny3
    replied
    Originally posted by dietrdan View Post

    But... we have that already?!
    https://x0rg.github.io/CPU-X/
    Wow, very nice!
    I never heard about it before.
    Thanks!

    Leave a comment:


  • pal666
    replied
    Originally posted by cj.wijtmans View Post
    its cross platform.
    cross-windows and only on x86

    Leave a comment:


  • dietrdan
    replied
    Originally posted by Danny3 View Post
    Wow, I think Cinnamon and KDE developers can put the info gathered by this library in their Info programs next to the CPU info
    We can finally have something like CPU-z on Linux.
    Great job, thanks Google!
    But... we have that already?!

    Leave a comment:


  • unixfan2001
    replied
    Originally posted by cj.wijtmans View Post

    its cross platform.
    As in across OS or across ARCH? Multiple of the others are definitely multi OS capable, but good point about ARCH. Doesn't look like a lot/any others I could find on a cursory look are x86 AND ARM compatible.

    Leave a comment:


  • cj.wijtmans
    replied
    Originally posted by unixfan2001 View Post
    I fail to see what the difference between this and several existing packages (most of them named "cpuid" or "libcpuid") is, aside of lacking x86 support for /proc/cpuinfo.
    its cross platform.

    Leave a comment:


  • cj.wijtmans
    replied
    Originally posted by s_j_newbury View Post

    Which is what cpuid2cpuflags is for.
    never knew it even existed. grepping /proc/cpuinfo is not so difficult.
    Last edited by cj.wijtmans; 08 February 2018, 11:45 AM.

    Leave a comment:

Working...
X