3 ms·
ARM instructions let you do r1 = r2 + (r3 << r4) if CC, and that's just basic instruction set. That's as much an affront to RISC as x86 is.
by jcranmer 10y ago
ARM instructions let you do r1 = r2 + (r3 << r4) if CC, and that's just basic instruction set. That's as much an affront to RISC as x86 is.
- pcwalton 10y agoNot in AArch64 IIRC.
- Questron 10y agoOnly the condition code was removed. Otherwise the parent is right and there really is an enormous amount of instructions. Fortunately less than intel, but still a lot.
- pcwalton 10y agoI don't think you can do variable length shift with an arithmetic instruction in AArch64 either: only immediate shifts.
- smitherfield 10y agoThat's not accessing memory, so there's no reason it couldn't be (reasonably) efficiently pipelined without decoding to µops.