Announcement

Collapse
No announcement yet.

Google Rolls Out cpu_features Library

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

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

    Comment


    • #12
      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!

      Comment


      • #13
        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.

        Comment


        • #14
          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.

          Comment


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

            Comment


            • #16
              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

              Comment

              Working...
              X