News: 0001637798

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Intel Preps GCC Function Multi-Versioning To Support APX & AVX10.2

([Intel] 2 Hours Ago APX + AVX10.2 FMV)


Along with [1]some GCC compiler tuning for Nova Lake and Diamond Rapids to deal with some new APX capabilities not proving beneficial for performance, new patch activity today is preparing GCC for function multi-versioning (FMV) for the AVX10.2 and APX instruction set extensions.

Function multi-versioning allows for the programmer to craft multiple versions of the same function that are then selected at run-time based upon the architecture extensions present on the CPU being executed. With a modern GCC toolchain this can be useful for developers to craft optimized code paths for modern CPUs with AVX2, AVX-512, and other ISA features with runtime selection while still being able to fall-back to generic code paths or less optimized versions dependent upon the host CPU being used.

FMV support is a great compiler feature and the GNU Compiler Collection is now being extended to support FMV on AVX10.2 and APX. [2]This patch allows for FMV to be used with AVX10.2 and APX features in preparing for the next-generation Intel processors with these capabilities.

The patch allows for attribute targets of "avx10.2","apxf","arch=diamondrapids", and "arch=novalake". The patch is currently under review for mainline GCC in what will then become GCC 17 stable next year.



[1] https://www.phoronix.com/news/Intel-APX-GCC-Disabling-Bits

[2] https://gcc.gnu.org/pipermail/gcc-patches/2026-June/719158.html



Don't get too ecstatic, we all know what's going to
happen next. This so-called trial is rigged, just like wrestling and
boxing. Microsoft is the Don King of the software industry... they control
who wins. I've been told that if you call Microsoft's legal department
hotline, you get a recorded messages that says, "For the verdicts of past
Microsoft court cases, press 1. For the verdicts of future Microsoft court
cases, press 2..."

-- Anonymous Coward's response to Judge Jackson's harsh Findings
Of Fact against Microsoft