News for hackers. Stuff that matters.
Re:Optimizing compilers reload vector constants needlessly by phkahler on Tuesday December 06, 2022 @03:00PM (#33886193)
>> This was with both `-O2` and `-O3`, and also with `-march=native`

Until very recently GCC didn't do vectorization at -O2 usless you told it to.

Re:Optimizing compilers reload vector constants needlessly by inetknght on Tuesday December 06, 2022 @03:30PM (#33886584)
That's true. I definitely omitted a bunch of other flags that were added including the flags to turn on vectorizations