3 ms·
It can be faster (at runtime).
by Vecr 3y ago
It can be faster (at runtime).
- ithkuil 3y agoso basically you're saying that the cpu frontend missed the opportunity to ignore the 0x90 because it was an actual instruction which would be converted into an actual nop uop? Is this still the case or modern intel CPUs optimize out the nop in the frontend decoder?
- Vecr 3y agoSome compiler writers thought that was the case, if [0] is related to OP. I don't have a "modern" (after 6th gen) Intel CPU to test it on, but note that most programs are compiled for a relatively generic CPU. [0]: https://github.com/microsoft/mimalloc/issues/807 https://github.com/microsoft/mimalloc/issues/807