Original Post
redacted [Edited by - Nice Coder on November 12, 2008 10:23:07 PM]
Quote:
Original post by Nice Coder
Egsample:
ADD reg1 Reg2 Reg3 (reg3 = reg1 + reg2)
SUB reg3 reg2 Reg4
Now, both of these would be executed simultaniously, by the way that the parellel instruction set works. It executes as many instructions simultainiously as possible and theres guarenteed to be more then one addition bank on the chip.
Quote:
So now, if you wait long enough, it does both the addition and the subtraction together, without the result going to the register (saving some time?).
Quote:
Branch predictions not going to be very worthwile in this little processor.
This is because every instruction can run from any register to any register (or constants, for normal operations), you could litterally multip.y the instruction counter by two, before adding a register to it. Also, lots of things run in parellel, and these would probably run simultaniously. What do i mena by that?
Quote:
No waiting to get things out of registers, or even waiting for something to finish!
Quote:
Original post by Nice Coder
if your wondering about flow-through, maybe this would help.
For the commands:
ADD reg1 reg2 reg3
SUB reg3 reg4 reg5
Which is basically reg5 = (reg1 + reg2) - reg4
You start off, working out the first few bits of the add (ripple adder in this egsample, its a little harder to explain when your using more complex adders).
That means that noe, a few bits of the output change.
Those then go back (via a few switches) to reg3, where it gets written to and read from (by the sub unit), which then reads back the result.
So now, its like the two units are connected together, via the register, so instead of waiting for the add to work, then do the sub, your doing both, simultainously. Nice eh?
Quote:
Its a bit complex, but it should work well. (imagine computing a whole function inseriesparallel, as if you actually made a circuit to do it. No waiting to get things out of registers, or even waiting for something to finish!)
Quote:
Also, i'm not adding complexity, because i would have to add additional circuitry to prevent this.
Quote:
Original post by Nice Coder
That doesn't seem to work well either (I'm trying to keep the clock out as much as possible for the alu, and iether way, its just complex.), How do other systems do this? (or do you have an idea?)
Quote:
Original post by Nice Coder
But i'm relying on smart compilers/coders!.
Quote:
Also, how would i do lit review? (litterary review?)
Quote:
And please don't insult my spelling/grammer. Its hard to write clearly when your thinking....
Quote:
how am i throwing out buzzwords?
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more