Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

GCC 17 Compiler Adding "-m128bit-atomic" For 128-bit Atomic Memory Operations

Дата публикации: 12-08-2026 18:40:00

Merged today to the GNU Compiler Collection Git code is the new -m128bit-atomic option for next year's GCC 17 feature release...

Основное содержимое страницы с новостью.

GNU

Merged today to the GNU Compiler Collection Git code is the new -m128bit-atomic option for next year's GCC 17 feature release.

The -m128bit-atomic option is used for GCC to enable generation of instructions for 128-bit atomic memory operations on capable Intel / AMD / Zhaoxin / Hygon processors. This GCC built-in option allows avoiding the overhead of otherwise using the libatomic library.

-m128bit-atomic

Besides adding -m128bit-atomic itself, the new GCC Git code also now enables the option by default if supported by the targeting processor via -march=native or similar. Adding this option came about after the x86_64 CPU vendors confirmed their support around 128-bit atomic loads and stores.

x86-64: Add -m128bit-atomic

With the silicon vendor guarantees from Intel, AMD, Hygon and Zhaoxin in:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688

many software developers would happily use inline 128-bit atomic loads and stores in their programs because they only target compatible CPUs. Add -m128bit-atomic to generate 128-bit atomic loads and stores to avoid the overhead of calling into libatomic. Enable -m128bit-atomic in 64-bit mode by default if supported by the targeting processor, which is one of x86-64-v3 capable processors as well as AVX capable processors from Intel, AMD, Hygon and Zhaoxin.

The support landed via this commit. Look for this in the GCC 17.1 stable release due out next spring.

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Tenstrorrent Posts GCC Compiler Patches For Ascalon XG Core09.5312-08-2026
2GCC 16.2 Being Planned For Early August Release0501-07-2026
3Intel Posts Initial GCC Compiler Patches For AI Compute Extensions "ACE"0702-07-2026
4AMD Posts Massive 109 Patch Series For GFX 12.1 RAS Support On Friday Evening012.8215-08-2026
5GraalVM CE 25.1.3 Gets Native Image "Hello World" Program Down To 6.5MB2630-06-2026
6Up To 12.8x Improvement Observed For gup_test With New Linux MM Patches08.911-08-2026
7Fwupd 2.1.7 Released With Many Bug Fixes012.9427-07-2026
8Rusticl Now Supports cl_ext_float_atomics011.2311-08-2026
9Geekbench 7 is here, and it could change how every Android phone and iPhone is ranked010.424-07-2026

Классификация: Пресс-релизы. Схожих патентов: 0. Схожих новостей: 9. Тональность: 0. Информативность: 11.71. Источник: www.phoronix.com.