GCC 17 Merges Function Multi-Versioning For APX & AVX10.2 - Phoronix
Articles & Reviews
News Archive
Forums
Premium Ad-Free<br>Contact
Popular Categories
Close
Articles & Reviews
News Archive
Forums
Premium
Contact
Categories
Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals
GCC 17 Merges Function Multi-Versioning For APX & AVX10.2
Written by Michael Larabel in GNU on 13 June 2026 at 06:20 AM EDT. Add A Comment
Earlier this month I wrote about Intel working on function multi-versioning support for APX and AVX10.2 with the GCC compiler. This allows developers to write optimized code paths specifically targeting Advanced Performance Extensions (APX) or Advanced Vector Extensions 10.2 capabilities of future processors while being able to otherwise fall-back to generic or other optimized code paths for other ISA target features. This work is now merged for GCC 17.
GCC's Function Multi-Versioning (FMV) for being able to craft multiple versions of the same function and then select at run-time the best fit based on the CPU, can now cater to APX and AVX10.2 as being first introduced with Nova Lake and Diamond Rapids processors. This complements existing architecture features like AVX-512, SSE4, etc.
The new GCC FMV attribute targets are "avx10.2","apxf","arch=diamondrapids", and "arch=novalake" if wanting to target either APX or AVX10.2 individually or targeting Diamond Rapids or Nova Lake as a whole.
This commit is what landed the new FMV support for what will be part of next year's GCC 17.1 stable compiler release.
Add A Comment
Tweet
GCC 15.3 Compiler Brings Nearly A Year Worth Of Bug Fixes<br>NVIDIA Engineer Devises Patch To Significantly Reduce GCC Bootstrap Time<br>GNU Gets Back Into Nutrition Software After 14 Year Hiatus<br>New GCC Back-End Proposed For WebAssembly<br>GCC 16.1 Released With AMD Zen 6 Support, Algol 68 & Many C++ Improvements<br>Hygon C86-4G CPU Support Added To The GCC 17 Compiler
Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.
macOS 27 Beta Breaks The Ability To Boot Asahi Linux<br>Arch Linux's AUR Sees More Than 400 Packages Compromised With Malware<br>Firefox Merges Support For Vulkan Video Decoding<br>ReactOS "Open-Source Windows" Reaches The Milestone Of Being Able To Run Half-Life<br>Qualcomm Gets The Lenovo Yoga Slim 7x Gen11 Snapdragon X2 Laptop Working On Linux<br>Linux 7.2 Will Be Able To Boot On Apple M3 Macs - But Far From Useful For End-Users<br>YSERVER: Modern X11 Server Written In Rust With The Help Of Claude Code<br>GNOME File Previewer Finally Switches To GTK4, Adds Dark Mode
GCC 17 Merges Function Multi-Versioning For APX & AVX10.2
Haiku OS Now Enables AVX-512 Support, Other Hardware Improvements
KDE Plasma 6.7 Sees Last Minute Fixes Ahead Of Next Week's Release
Arch Linux Now Believes Malware Incident Under Control: More Than 1,500 Affected Packages
OpenZFS 2.4.3 Released With Many Bug Fixes
Wine 11.11 Released With Wayland Improvements
AMD Opens Pre-Orders For The Linux-Friendly Ryzen AI Halo Developer Platform
Linux 7.2 Features Expected: Apple M3, Initial AMDGPU HDMI 2.1 FRL, USB4STREAM, Cache Aware Scheduling
The Best Features Of Linux 7.1: FRED, New NTFS Driver & More Performance
New NTFS Linux Driver Being Improved For Windows Native Symbolic Links
AVX-512 Optimization For Linux RAID Showing Up To 41% Improvement On AMD Ryzen 9 9950X
Phoronix Premium allows ad-free access to the site, multi-page articles on a single page, and other features while supporting this site's continued operations.
Open-Source Success Achieved For Greater Transparency & Security: Running AMD openSIL + Coreboot On EPYC
Benchmarking The Performance Benefits To Ubuntu 26.10 amd64v3 Packages
RISC-V CPU Performance Up 8x In Five Years: SiFive HiFive Unmatched To SpacemiT K3
Linux 7.1 Helping Intel Arc Battlemage Graphics Achieve Better Performance
ARM Linux Server Performance Up More Than 7x Geo Mean In 8 Years, As Much As 15x With NVIDIA Vera CPU
The mission at Phoronix since 2004 has centered around enriching the Linux hardware experience. In addition to supporting our site through advertisements, you can help by subscribing to Phoronix Premium. You can also contribute to Phoronix through tips/donations via PayPal or Stripe.
Contact
Michael Larabel
Support Phoronix
While Having Ad-Free Browsing,
Single-Page Article Viewing
Twitter / X
Legal Disclaimer, Privacy Policy, Cookies | Privacy Manager | Contact
Copyright © 2004 - 2026 by Phoronix...