Announcement

Collapse
No announcement yet.

GCC x86 Receives New Intel CPU Tuning Target

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

  • GCC x86 Receives New Intel CPU Tuning Target

    Phoronix: GCC x86 Receives New Intel CPU Tuning Target

    With future versions of GCC there is now a "-mtune=ia" target for the GNU Compiler Collection's x86 back-end to always optimize the compiled program for the very latest Intel processors...

    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
    It got changed to mtune=intel
    See http://gcc.gnu.org/gcc-4.9/changes.html

    Comment


    • #3
      Suppose I add the -mtune=ia option by default to my {C,CXX}FLAGS when compiling using GCC because I have the latest Intel CPU. A new Intel CPU architecture comes out, after which I upgrade GCC. Does this mean that the binaries I now produce won't work on my hardware?

      Comment


      • #4
        Check the gcc manual - mtune doesn't affect the "will it run on foo", march does.

        Comment


        • #5
          Originally posted by curaga View Post
          Check the gcc manual - mtune doesn't affect the "will it run on foo", march does.
          Sweet, thanks! Here's a good SO post that explains the difference: http://stackoverflow.com/questions/1...ent-from-mtune

          Comment

          Working...
          X