Can someone point me in the right direction for more insight on accumulators in Xmos.
How many are there, how general are they? I'am just interested for semantical reasons?
Thank you,
shawn
Q;Accumulators?
-
- XCore Addict
- Posts: 238
- Joined: Thu Dec 17, 2009 5:15 am
-
- Respected Member
- Posts: 318
- Joined: Tue Dec 15, 2009 12:46 am
Are you referring to the multiple accumulate instructions? There are no dedicated accumulator registers, the maccs / maccu instructions can use any pair of the 12 general purpose registers r0 - r11 as the accumulator. These instructions multiply two words and add the double word result into a double word accumulator.
-
- XCore Addict
- Posts: 238
- Joined: Thu Dec 17, 2009 5:15 am
Richard,
That answers my question . I can get the instructions, no problem.
I just wanted reference to what and how. You got that quick.
Thank You,
Shawn
That answers my question . I can get the instructions, no problem.
I just wanted reference to what and how. You got that quick.
Thank You,
Shawn
-
- XCore Expert
- Posts: 546
- Joined: Thu Dec 10, 2009 10:41 pm
- Location: St. Leonards-on-Sea, E. Sussex, UK.
There are actually 16 registers.
Leon
Leon
-
- XCore Addict
- Posts: 238
- Joined: Thu Dec 17, 2009 5:15 am
How do you look at the reg stack do you break it up.
8 for Fast links 8 for all else. so an interupt can occur
every .00000001sec. so, 4 events to one interup max, or is
it possible with 4 mult channels to 1/4 sync interups to
optane .0000000025 sec. at any given. Its just a question
out of curiousity, And most likely not logical.
Thought's appreciatted...
Shawn
8 for Fast links 8 for all else. so an interupt can occur
every .00000001sec. so, 4 events to one interup max, or is
it possible with 4 mult channels to 1/4 sync interups to
optane .0000000025 sec. at any given. Its just a question
out of curiousity, And most likely not logical.
Thought's appreciatted...
Shawn
-
- XCore Addict
- Posts: 169
- Joined: Fri Jan 08, 2010 12:13 am
Well... sort of - not all of them are General purpose. Some of them can be written to but not have other operations done on them (e.g Link Register - can have a value loaded into it but you can't do math ops on it).leon_heller wrote:There are actually 16 registers.
Leon
Paul
On two occasions I have been asked, 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.
On two occasions I have been asked, 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.
-
- XCore Addict
- Posts: 238
- Joined: Thu Dec 17, 2009 5:15 am
Thanks for helping, the number of acumultators & registers strikes my interest. some of the old
architectures, had several accumultors & registers unlike modern register rich designs. Today
we have an exponetial quanity of silicon at our disposal. I'd like to exploit best tricks, to XMOS.
OLD:------------http://www.tnmoc.org/40/section.aspx/26------------
architectures, had several accumultors & registers unlike modern register rich designs. Today
we have an exponetial quanity of silicon at our disposal. I'd like to exploit best tricks, to XMOS.
OLD:------------http://www.tnmoc.org/40/section.aspx/26------------