On 2007-09-08, Florian Hillen <[email protected]> wrote:

> I have some simple division like:
>
> unsigned int Uv = 2500 * 25;
> Uv = Uv / 4095;
>
>
> An it does not modify Uv.

You're going to have to post more code than that.  The compiler
isn't really required to generate any code at all for what you
posted.

Can you post a small function that demonstrates the problem
along with what results you expect and what you're actually
seeing?

> In the disassambliy of udivmodhi, the right answer is
> generatet but it is not written back to the right register.

> Debian linux gcc 3.2.3 
> msp-gcc build from cvs a few days ago 
>
> Do you know this problem?

I've been usign mspgcc 3.2.3 for years and have never noticed
this problem.  The mspgcc mailing list is probably a better
place to discuss your problem.

-- 
Grant Edwards                   grante             Yow! Does someone from
                                  at               PEORIA have a SHORTER
                               visi.com            ATTENTION span than me?


Reply via email to