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

Yes, jmp/ret will be slow.

call/ret has to particular advantage over e.g. storing the return address in a register (say 15) and then `jmp [r15]` - other than the prediction, so if you can't use the prediction, jmp/jmp indirect should work fine.



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

Search: