gcc-15-20250524 is now available

2025-05-24 Thread GCC Administrator via Gcc
Snapshot gcc-15-20250524 is now available on https://gcc.gnu.org/pub/gcc/snapshots/15-20250524/ and on various mirrors, see https://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 15 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Possible memory access optimization opportunity? Comparison with Java JIT

2025-05-24 Thread Andy via Gcc
Dear GCC developers, I would like to ask whether there might be room for improvement in memory access optimization in GCC. I've prepared a simple benchmark in both C++ (using -std=c++20 for digit separators like 5'000'000) and Java. The benchmark allocates a large array of random integers, perfor

Re: Possible memory access optimization opportunity? Comparison with Java JIT

2025-05-24 Thread Jonathan Wakely via Gcc
On Sat, 24 May 2025, 18:58 Andy via Gcc, wrote: > Dear GCC developers, > > I would like to ask whether there might be room for improvement in memory > access optimization in GCC. > > I've prepared a simple benchmark in both C++ (using -std=c++20 for digit > separators like 5'000'000) and Java. Th

RFD: switch/case statement dispatch using hash

2025-05-24 Thread Joern Wolfgang Rennecke
This has come up several time over the years: https://gcc.gnu.org/legacy-ml/gcc/2006-07/msg00158.html https://gcc.gnu.org/legacy-ml/gcc/2006-07/msg00155.html https://gcc.gnu.org/pipermail/gcc/2010-March/190234.html , but maybe now (or maybe a while ago) is the right time to do this, considering