The One Instruction Wonder(drdobbs.com) |
The One Instruction Wonder(drdobbs.com) |
I find it hard to imagine a human, much less a compiler, could write code for this in any other way that by treating it as a regular register machine, but taking two or three instructions (copy inputs, then copy output) for every one - or else implementing their program in VHDL.
Am I missing something?