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