Get the latest tech news
AMD Zen 5 Tuning "Part Two" Merged For GCC Compiler
Merged today for the GCC 15 compiler in development and potentially for back-porting to the next GCC 14 point release is a second round of AMD Zen 5 'znver5' tuning.
Similar to past AMD Zen tuning for GCC, disabling gather and scatter instructions by default is done in the name of overall performance. This seems to be similar to earlier zens, so I think (especially for backporting znver5 support) that it makes sense to be conistent and disable gather unless we work out a good heuristics on when to use it. In response to a question from another developer when the gather instructions are a win: " it is mysterious.." Hopefully we'll see more AMD Zen 5 compiler tuning soon for GCC.
Or read this on Phoronix