Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why do RET instructions have a REPZ prepended on x86?. Parent comment
I understand that as follows: on the K8 both repz ret and ret imm16 were microcoded; hence, the shorter repz ret was preferred.
On the K10, ret imm16 got fastpathed. That made it the preferred code, even though it is a byte longer.
I understand that as follows: on the K8 both repz ret and ret imm16 were microcoded; hence, the shorter repz ret was preferred.
On the K10, ret imm16 got fastpathed. That made it the preferred code, even though it is a byte longer.