|
|
|
|
|
by colanderman
4573 days ago
|
|
Yes, the importance of more (and to some extent larger) registers can't be understated. If you're not paying close attention, register spills (i.e. when the compiler doesn't have enough registers so decides to stick stuff on the stack) can easily turn decently performing code into poorly performing code if the register spill happens in a tight loop. 14 registers is pretty tight. 31 registers are better, and doubling the width helps for structure locals and parameters (which Clang/LLVM fortunately does a good job of keeping in registers). (I do a lot of work on a processor 60-odd 64-bit registers, and even then GCC decides to spill registers now and then.) |
|