Announcement

Collapse
No announcement yet.

Google Rolls Out cpu_features Library

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

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

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Might be useful for setting your Gentoo config

    Comment


    • #3
      Originally posted by kaprikawn View Post
      Might be useful for setting your Gentoo config
      why? just use -march=native.

      edit: unless you meant use flags.
      Last edited by cj.wijtmans; 08 February 2018, 10:46 AM.

      Comment


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

        Comment


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

          Comment


          • #6
            Originally posted by cj.wijtmans View Post

            why? just use -march=native.

            edit: unless you meant use flags.
            Which is what cpuid2cpuflags is for.

            Comment


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

              Comment


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

                Comment


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

                  Comment


                  • #10
                    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?!

                    Comment

                    Working...
                    X