Re: First console with FPU
Posted: Sun Sep 20, 2015 9:11 pm
Even the 8086 had MUL and DIV instructions, and while it was slow, it was still faster than doing it longform.
Ultimately, multiplication of integers can be implemented in the same amount of time as the corresponding addition, by using a good deal more space. Modern machines seem to not bother, e.g. http://stackoverflow.com/questions/2181 ... modern-cpu
Ultimately, multiplication of integers can be implemented in the same amount of time as the corresponding addition, by using a good deal more space. Modern machines seem to not bother, e.g. http://stackoverflow.com/questions/2181 ... modern-cpu