By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: GCC Patch Revived For -mtune=generic Showing Nice Benefits On Intel & AMD CPUs
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > GCC Patch Revived For -mtune=generic Showing Nice Benefits On Intel & AMD CPUs
Computing

GCC Patch Revived For -mtune=generic Showing Nice Benefits On Intel & AMD CPUs

News Room
Last updated: 2025/04/21 at 2:10 PM
News Room Published 21 April 2025
Share
SHARE

A 2021 era patch for the GNU Compiler Collection (GCC) has been revived and discussed in recent days around simplifying the memcpy and memset inlining strategies when compiling code with the “-mtune=generic” option. The patch takes the approach during that generic tuning to try to avoid branches. In doing so, some nice performance benefits are observed in some benchmarks.

While too late for the GCC 15 compiler to be released as stable very soon (hopefully later this week), H.J. Lu of Intel’s compiler team has been working to resurrect this patch for improving the memcpy and memset behavior during common -mtune=generic targeting with GCC.

When compiling with “-march=x86-64 -O2 -mtune=generic” as commonly done by Linux distributions and other software vendors, there are some nice gains observed out of this patch. On an Intel Ice Lake system, the EEMBC CPU benchmark saw 13~14% improvement while the SPEC CPU 2017 numbers were flat. On an Intel Cascade Lake system the EEMBC benchmark went up by as much as 16%.

AMD and Intel CPUs

Meanwhile on an AMD Zen 3 system the EEMBC benchmark went up by as much as 30% in one benchmark and less of an impact in other tests with a few regressions.

This patch is still being discussed but the number so far are looking fairly positive. Given the widespread use of “-mtune=generic”, hopefully this patch will be in shape for upstreaming soon to the GNU Compiler Collection.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article The ‘new colour’ discovered by scientists has a very curious name meaning
Next Article Haley Cavinder wows in bikini as fans are stunned by her engagement ring
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Meituan pilots policy to log off overworked delivery riders
Computing
NAACP planning to sue Musk AI company over supercomputer pollution
News
How to Build a Node.js MCP Server for Claude-Salesforce Integration | HackerNoon
Computing
Yet Another Study Finds That AI Is Making Us Dumb
News

You Might also Like

Computing

Meituan pilots policy to log off overworked delivery riders

4 Min Read
Computing

How to Build a Node.js MCP Server for Claude-Salesforce Integration | HackerNoon

11 Min Read
Computing

Huawei, Ford, Mazda’s partner opens European office in Germany · TechNode

4 Min Read
Computing

Finally, a Tailwind Debugger That Lives in Your Browser | HackerNoon

4 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?