3 ms·
I'm no expert, but isn't the "reduced" in RISC about what the instructions do (and don't do) rather than the number of instructions in an ISA? FJCVTZS[1] seems
by magicalhippo 7y ago
I'm no expert, but isn't the "reduced" in RISC about what the instructions do (and don't do) rather than the number of instructions in an ISA?
FJCVTZS[1] seems pretty specialized, but it also seems rather simple. It converts the value in one register and puts the result in another register.
Compare that with say MOVSB[2] from X86, which reads from memory, writes to memory and updates two registers.
[1]: https://developer.arm.com/docs/100069/0607/a64-floating-point-instructions/fjcvtzs https://developer.arm.com/docs/100069/0607/a64-floating-poin...
[2]: https://www.felixcloutier.com/x86/movs:movsb:movsw:movsd:movsq https://www.felixcloutier.com/x86/movs:movsb:movsw:movsd:mov...
- sifar 7y agoIn theory, RISC meant smaller number of simpler generic instructions (reg<->reg, mem<->reg) which could be re-used to build complex functionality. However in practice one always needs specific operations for performance reasons. Having more and more specialized operations not only adds extra HW for rarely used ops, it also increases the program code size and also compiler complexity.