[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Date: Tue, 10 Mar 2009 16:51:59 -0000
- From: manuel.coutinho at edisoft.pt (Manuel Coutinho)
- Subject: 32-bit multiplication
Have a question about 32-bit multiplication on SPARC:
Does RTEMS allow 32-bit multiplication, I mean, does it give a 64-bit result
or just the lower 32-bit?
Think that this is part of the umul function which is on the GCC, and in
part of the code it has something like:
! the upper 32 bits of product are wrong, but we do not care
I also performed some tests and the value was not correctly presented.
Is there a particular reason why the upper 32 bits are not correctly
calculated? Are other 64-bit operations allowed (such as sum, division,
Thank you very much
-------------- next part --------------
An HTML attachment was scrubbed...