3 ms·
In theory, yes. In practice, shifting is usually a very simple operation, while general multiplication (and especially division) is not. There have been (and th
by anyfoo 7y ago
In theory, yes. In practice, shifting is usually a very simple operation, while general multiplication (and especially division) is not. There have been (and there might still be, on the lowest end) many processors that have shift, but no multiplication or division.
- edoceo 7y agoLike the 386 w/a math coprocessor?
- anyfoo 7y agoNo, the math coprocessor was for floating point, all integer operations (or at least all the basic ones) were on-die.
- 0x0 7y agoFor integers, x86 has had mul and div all the way back to at least the 8086. If you are looking for a cpu with no mul or div then look at the classic 6502/6510 as known from c64, nes, and many more contemporary machines.
- fortran77 7y agoThe co-processor was for floating point operations. Integer MUL and DIV were in the 386 (and the 8086/8088)
- duskwuff 7y agoA lot of microcontrollers fall into that category. The Cortex-M0 ARM core doesn't have integer multiply or divide, for instance, and it's almost always absent on 8-bit cores like AVR and PIC.