3 ms·
Interestingly, ARM11 used in original RPi and RPi Zero also doesn't have integer division, but it has floating point division.
by mmoskal 4y ago
Interestingly, 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.