News for hackers. Stuff that matters.
Re:RISC-V announces first new specifications of 2022 adding ... by mmoskal on Tuesday June 21, 2022 @12:38PM (#31825959)
Interestingly, ARM11 used in original RPi and RPi Zero also doesn't have integer division, but it has floating point division.
Re:RISC-V announces first new specifications of 2022 adding ... by KerrAvon on Tuesday June 21, 2022 @02:41PM (#31827462)
Divide 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.
Re:RISC-V announces first new specifications of 2022 adding ... by monocasa on Tuesday June 21, 2022 @02:46PM (#31827537)
SH4 (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.