Q;Accumulators?

Technical discussions around xCORE processors (e.g. xcore-200 & xcore.ai).
User avatar
shawn
XCore Addict
Posts: 238
Joined: Thu Dec 17, 2009 5:15 am

Q;Accumulators?

Post by shawn »

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
richard
Respected Member
Posts: 318
Joined: Tue Dec 15, 2009 12:46 am

Post by richard »

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.
User avatar
shawn
XCore Addict
Posts: 238
Joined: Thu Dec 17, 2009 5:15 am

Post by shawn »

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
User avatar
leon_heller
XCore Expert
Posts: 546
Joined: Thu Dec 10, 2009 10:41 pm
Location: St. Leonards-on-Sea, E. Sussex, UK.

Post by leon_heller »

There are actually 16 registers.

Leon
User avatar
shawn
XCore Addict
Posts: 238
Joined: Thu Dec 17, 2009 5:15 am

Post by shawn »

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
User avatar
paul
XCore Addict
Posts: 169
Joined: Fri Jan 08, 2010 12:13 am

Post by paul »

leon_heller wrote:There are actually 16 registers.

Leon
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).
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.
User avatar
shawn
XCore Addict
Posts: 238
Joined: Thu Dec 17, 2009 5:15 am

Post by shawn »

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------------