Zeroing registers
Zeroing registers
Posted Sep 25, 2021 9:59 UTC (Sat) by atnot (guest, #124910)In reply to: Zeroing registers by excors
Parent article: Two security improvements for GCC
> they're handled entirely by the register renaming stage and don't use any execution resources.
To me this was an argument for such an instruction, not against. Because one resource they do take resources is space in the instruction cache. I don't know how much of an issue it is in practice, but reducing code size is rarely bad for performance.