And to think some people refuse to use open-source compilers because they
are not sure they well get support if they find a problem with the compiler.
This is not even a critical issue (code size rather than code correctness),
yet Dmitry spent at least an hour late on a Saturday night to help out - is
there any commercial compiler company that provides that level of
dedication?  Can I use this posting as evidence in these "open source
software has no support" arguments?

Thanks for your great work, Dmitry (and all the other
gcc/lib/binutils/gdb/jtag guys).

David Brown
Norway.




----- Original Message -----
From: "Dmitry" <[email protected]>
To: <[email protected]>
Sent: Saturday, November 30, 2002 10:22 PM
Subject: [Mspgcc-users] long long routines.



Atteched code will fix some problems with long long division. (the code will
be smaller I hope less than 1K :)
This is untested, but that's all I can make within an hour just returned
from
a pub :)

~d

P.S. this will not work right away. some defines required. check code.


On Saturday 30 November 2002 17:29, Dmitry wrote:
> yes we do...
> otherwise one has to write its own divmod code, which is really simple :)
> ~d
>
> On Saturday 30 November 2002 16:42, Oleg Skidan wrote:
> > Hi, All !
> >
> > Do we really need 4K flash for 64 bit division routine ?
> >
> > #include <sys/inttypes.h>
> >
> > uint64_t l;
> > uint32_t a,b,h;
> >
> > int main()
> > {
> >         a=l/h;
> > }
> >
> >
> > D:\msp430\$>msp430-size
> >    text    data     bss     dec     hex filename
> >    4322       0      20    4342    10f6 a.out
> >
> > All the best,
> > Oleg.

--
*********************************************************************
   ("`-''-/").___..--''"`-._     (\       Dimmy the Wild      UA1ACZ
    `6_ 6  )   `-.  (     ).`-.__.`)      Enterprise Information Sys
    (_Y_.)'  ._   )  `._ `. ``-..-'       Nevsky prospekt,   20 / 44
  _..`--'_..-_/  /--'_.' ,'               Saint Petersburg,   Russia
 (il),-''  (li),'  ((!.-'                 +7 (812) 314-8860, 5585314
*********************************************************************



Reply via email to