miniblog.
← Back to all posts
Dec 21, 2015 at 23:00
"at least two efforts at writing a graph coloring register allocator for GCC have failed"
Making sure you're not a bot!
gcc.gnu.org/wiki/RegisterAllocation
Wilfred Hughes
Related Posts
Aug 16, 2014 at 19:30
Fascinating bug where changing the type exposes limits in GCC's register allocator with huge performance consequences
https://stackoverflow.com/questions/25078285/replacing-a-32-bit-loop-count-variable-with-64-bit-introduces-crazy-performance
Wilfred Hughes
Shared words: allocator, register, GCC Score: 77.3
Jan 30, 2021 at 09:48
2
The more I learn about register allocators, the less I want to write programs in assembly. It's really nice having a compiler minimise spills.
Wilfred Hughes
Shared words: allocator, register Score: 41.4
Oct 11, 2015 at 10:45
LLVM does not scale down well if CPUs have very few general purpose registers:
https://lists.cs.uiuc.edu/pipermail/llvmdev/2014-July/074530.html
(I believe GCC is marginally better)
Wilfred Hughes
Shared words: register, GCC Score: 22.2