Microarchitectural zeroing of a register via the register renamer: performance versus a mov?
- 阅读更多 关于 Microarchitectural zeroing of a register via the register renamer: performance versus a mov?
问题 I read on a blog post that recent X86 microarchitectures are also able to handle common register zeroing idioms (such as xor-ing a register with itself) in the register renamer; in the words of the author: "the register renamer also knows how to execute these instructions – it can zero the registers itself." Does anybody know how this works in practice? I know that some ISAs, like MIPS, contain an architectural register that is always set to zero in hardware; does this mean that internally,