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

That's an interesting question, because the uop cache is filled early in the pipeline, but zero-idioms are only detected around the rename stage.

They might be able to skip a plain 0x90, but something like mov rax, rax would still emit a uop for the cache, before being eliminated later in rename. So at best it would be a fairly limited optimization.

It's also nice because rename is a very predictable choke point, no matter what the rest of the frontend and the backend are busy doing.



Instead of arguing about it, you people could have run an experiment and written a paper.




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

Search: