[Bug target/100258] constant store pulled out of the loop causes an extra memory load

2024-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100258 --- Comment #2 from Andrew Pinski --- LLVM does: .LBB0_8: movl$1065353216, (%rsi) movl$1065353216, 12(%rsi) movl$1065353216, 24(%rsi) movl$1065353216, 36(%rsi) addq$4, %rdx add

[Bug target/100258] constant store pulled out of the loop causes an extra memory load

2021-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100258 --- Comment #1 from Richard Biener --- Is it really so much more efficient? The store from reg is 4 bytes while a movl is 6 - for a larger loop keeping its size small would be important.