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

Immediates are a bit of a mix. mov doesn't have very nice encodings, but many instructions do: push $1 is 2 bytes, addl $2, %eax is only 3 bytes.

There's no question that x86-64 could be improved on in terms of code density.



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

Search: