Announcement

Collapse
No announcement yet.

Google Rolls Out cpu_features Library

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

  • phoronix
    started a topic Google Rolls Out cpu_features Library

    Google Rolls Out cpu_features Library

    Phoronix: Google Rolls Out cpu_features Library

    Google's cpu_features library makes it easier for detecting modern CPU capabilities like FMA, SSE, and AVX extensions when writing hand-tuned code...

    http://www.phoronix.com/scan.php?pag...ures-detection

  • 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's Avatar
    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:


  • sandy8925
    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?!
    https://x0rg.github.io/CPU-X/

    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:


  • atomsymbol
    replied
    The library isn't reporting avx2 on my Ryzen CPU.

    Leave a comment:

Working...
X