[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] floating point library
From: |
Denis Chertykov |
Subject: |
Re: [avr-gcc-list] floating point library |
Date: |
21 Mar 2001 23:08:47 +0300 |
Oleg Gladyshev <address@hidden> writes:
> Hello all,
>
> How can I reduce size of my program which uses floats? I use simple
> float operations and my program increases up to 6K (in flash)! IAR compiles
> same
> program to 1,5K
It's because avr-gcc by default uses floatin point routines written on C.
I'm use such routines for avr-gcc testing.
> How can I optimise my gcc libraries?
As I know latest avr-libc have an assembler written fp routines.
Try avr-gcc ... -lm
http://www.amelek.gda.pl/avr/