From: -jg on 27 Sep 2009 03:16 On Sep 27, 7:59 am, Jon Kirwan <j...(a)infinitefactors.org> wrote: > There are. But well-healed ones are pretty big and do a lot more than > you are initially asking. You still haven't described speed, code > size, or how often these functions are required relative to the > overall application. So I can't even offer some thoughts. > > Well, best of luck. Maybe someone else understands exactly what you > need and where to find it. Maybe I'm missing something, but this is AVR ? - and WinAVR has 64 bit integer support, and is open source ? - so that suggests a number of solutions ? -jg
From: David Brown on 27 Sep 2009 06:01 Jon Kirwan wrote: > On Sun, 27 Sep 2009 00:16:09 -0700 (PDT), -jg > <jim.granville(a)gmail.com> wrote: > >> On Sep 27, 7:59 am, Jon Kirwan <j...(a)infinitefactors.org> wrote: >>> There are. But well-healed ones are pretty big and do a lot more than >>> you are initially asking. You still haven't described speed, code >>> size, or how often these functions are required relative to the >>> overall application. So I can't even offer some thoughts. >>> >>> Well, best of luck. Maybe someone else understands exactly what you >>> need and where to find it. >> Maybe I'm missing something, but this is AVR ? - and WinAVR has 64 bit >> integer support, and is open source ? >> >> - so that suggests a number of solutions ? > > Sounds like it might. Apparently, the OP is using something called > the CodeVision C compiler. So... there may be an issue or two, but > yes. Might be worth a look. I haven't used an AVR in some time, so > I'll leave this to the OP to figure out. > avr-gcc handles 64-bit "long long int", and has all the necessary library routines for arithmetic on long longs. It's not always very efficient - they are rarely used, and thus code quality for 64-bit ints is not a priority for avr-gcc development. But they work correctly, which is the most important thing, and it's probably still more efficient than doing things manually.
From: Andrew on 27 Sep 2009 12:11 -jg wrote: > On Sep 27, 7:59 am, Jon Kirwan <j...(a)infinitefactors.org> wrote: >> There are. But well-healed ones are pretty big and do a lot more than >> you are initially asking. You still haven't described speed, code >> size, or how often these functions are required relative to the >> overall application. So I can't even offer some thoughts. >> >> Well, best of luck. Maybe someone else understands exactly what you >> need and where to find it. > > Maybe I'm missing something, but this is AVR ? - and WinAVR has 64 bit > integer support, and is open source ? > > - so that suggests a number of solutions ? > > -jg > Yes AVR, but have code in CodeVision, not WinAVR GCC. Porting code is not an option. speed and code size is not important.
First
|
Prev
|
Pages: 1 2 Prev: Qualcomm MSM7200 chipset deevelopment board? Next: Encoder programming |