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

NovaCustom Launching An Intel Meteor Lake NUC Box Running On Dasharo/Coreboot
Computing
Every iPad is on sale for Prime Day — lowest-ever prices on iPad, iPad mini and iPad Air
News
Justin Bieber teases his long-awaited seventh album, apparently called ‘Swag’
News
On Grok and the Weight of Design | HackerNoon
Computing

You Might also Like

Computing

NovaCustom Launching An Intel Meteor Lake NUC Box Running On Dasharo/Coreboot

2 Min Read
Computing

On Grok and the Weight of Design | HackerNoon

5 Min Read
Computing

Venmo’s Friends List Exposed a U.S. Security Adviser—And It Could Happen to You | HackerNoon

7 Min Read
Computing

$MBG Token Pre-Sale Set For July 15 — Only 7 Million Tokens Available At $0.35 | HackerNoon

3 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?