News: 0001583676

  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)

GCC Patches Posted For C++26 SIMD Support

([Programming] 5 Hours Ago GCC C++26 SIMD)


One of the exciting additions on the way for the C++26 programming language is a standardized library around Single Instruction Multiple Data (SIMD) operations. This portable SIMD implementation makes it easier to leverage SIMD and data parallelism in C++ for better performance and to work across SIMD architectures like AVX-512.

Posted to the GCC patches mailing list on Wednesday was work on the C++26 SIMD implementation. The patches implement a variety of the C++26 SIMD features but simd.loadstore, simd.permute.dynamic, and other features are missing while simd.math is only partially implemented at this time.

Dr. Matthias Kretz of the GSI Helmholtz Center for Heavy Ion Research was the one to post the ten thousand lines of new libstdc++ code for working on this C++26 SIMD support.

Those interested in this C++26 SIMD work for GCC can find the initial patches on the [1]gcc-patches mailing list .



[1] https://gcc.gnu.org/pipermail/gcc-patches/2025-October/696939.html



The capacity of human beings to bore one another seems to be vastly
greater than that of any other animals. Some of their most esteemed
inventions have no other apparent purpose, for example, the dinner party
of more than two, the epic poem, and the science of metaphysics.
-- H. L. Mencken