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

Do you consider binary code patterns that do exactly the same thing except for using different register(s) to be the same or different instructions?

For example, on RISC-V `sub Rd,Rs1,Rs2` has no immediate data or addresses but can have 32768 different results on the machine state (less the 1024 with Rd = x0, and I guess the same number with Rs1 = Rs2)



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

Search: