[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Saving useless instructions in floating point functi
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Saving useless instructions in floating point functions calls |
Date: |
Wed, 30 Jul 2003 10:39:06 +0200 (MET DST) |
As Pascal Brisset <address@hidden> wrote:
>using the following compilation command
>
> avr-gcc -mmcu=atmega8 -S -O4 -Wall -Wstrict-prototypes toto.c
No idea about the FP optimizations. However, -O4 is a useless -O
option. Any number larger than 3 is treated as 3 (and -O3 is usually
not what you want since it tries to inline a lot of stuff, which
causes some bloat).
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/