Greetings,

On Sat, 20 Feb 2010 18:31:05 +0100, Joep Suijs wrote
> Hi Kyle,
> 
> > Other than add/subtract it does not matter if _pic_accum is not shared. It 
> > is
> > used a number of other places -- sign extension if an operation is on two
> > variables of different sizes, looping variable for shift by constant and 
> > also
> > for some assignments.
> You're right, we don't want to break that too...
> 
> What I don't like about the current situation is that there is no
> enforcement of the limitation, just a warning. And if you ignore this
> warning, the results could become instable.

Ignore warnings at your own peril :)

> Would it be possible to disable add/substract of longer vars (or
> maybe, the use of longer vars) in the compiler, e.g. by a (pragma)
> command in the device file?

I could add a pragma easily enough, cannot think of what to call it at the
moment though. I'll give it some thought.

--kyle

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to