Hacker News new | past | comments | ask | show | jobs | submit login

> And the motivation is maybe to be able to toggle boolean values with one instruction?

You can already do that: use XORI with immediate 1 to toggle.




Fun fact: riscv does not even have a machine not instruction. In assembly it is just an alias for xori.


Fun fact, neither does AArch64, it uses ORRN with xzr instead.




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

Search: