| ▲ | nomercy400 9 hours ago | |
I was taught years ago that MUL and ADD can be implemented in one or a few cycles. They can be the same complexity. What am I missing here? Also, is it possible to use the GPU's ADD/MUL implementation? It is what a GPU does best. | ||
| ▲ | volemo 8 hours ago | parent [-] | |
To multiply two arbitrary numbers in a single cycle, you need to include dedicated hardware into your ALU, without it you have to combine several additions and logical shifts. As to why not use the ADD/MUL capabilities of the GPU itself, I guess it wasn’t in the spirit of the challenge. ;) | ||