Get the latest tech news

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


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

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

Get the Android app

Or read this on Phoronix

Read more on:

Photo of amd cpus

amd cpus

Photo of intel & amd

intel & amd

Photo of nice benefits

nice benefits

Related news:

News photo

Gzip 1.14 Released With Faster Decompression On Intel & AMD CPUs

News photo

Linux 6.15 Features Deliver A Lot For Intel & AMD, Many Other Changes

News photo

Faster AES-GCM & AES-XTS Crypto Performance For AMD CPUs With Linux 6.14