2 ms·
The DEC Alpha line of processors famously lack integer division: > There is no instruction(s) for division as the architects considered the implementation of d
by zdw 4y ago
The DEC Alpha line of processors famously lack integer division:
> There is no instruction(s) for division as the architects considered the implementation of division in hardware to be adverse to simplicity.
https://en.wikipedia.org/wiki/DEC_Alpha#Integer_arithmetic https://en.wikipedia.org/wiki/DEC_Alpha#Integer_arithmetic
- mmoskal 4y agoInterestingly, ARM11 used in original RPi and RPi Zero also doesn't have integer division, but it has floating point division.
- KerrAvon 4y agoDivide being missing is not totally uncommon in CPU architecture. If I'm not mistaken, the Cray-1 didn't have a divide instruction either, just reciprocal approximation.
- monocasa 4y agoSH4 (and SH2 I think?) was an interesting mid point, which architecturally exposed the single cycle ops that would back an iterative divide, letting you pick the precision you wanted.