Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A good compiler will only do that if the register spilling is more efficient than using more stack varibles, so I don't really see the problem.


You can't operate on stack variables without loading them into the registers first, not on RISCs anyway. My main point is that this memory-shuffling traffic is unavoidable in non-leaf functions, so an extremely large amount of available registers doesn't really help them.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: