First, if a machine optimizes NOPs at decode, it doesn’t really matter which opcode is picked as long as it’s easy to decode.
If a machine doesn’t optimize NOPs at decode, you’d want to choose something which will likely have the most available execution resources.
ADDs are the most common operation, especially if you include the adds in memory offset calculations.
Designing a machine such that logic operations took less cycles than adds probably means you were optimizing the wrong thing.
Even in very slow machines with tiny resources.
Krste
> --
> You received this message because you are subscribed to the Google Groups "RISC-V HW Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
hw-dev+un...@groups.riscv.org.
> To view this discussion on the web visit
https://groups.google.com/a/groups.riscv.org/d/msgid/hw-dev/20230612053735.GA121822%40vpb.nn.kiev.ua.