32-bit multiplication

Manuel Coutinho manuel.coutinho at edisoft.pt
Tue Mar 10 16:51:59 UTC 2009

Hi all,


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


Kind regards

Manuel Coutinho

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20090310/d111c32a/attachment.html>

More information about the users mailing list