[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Re: sprintf
From: |
Pertti Kellomäki |
Subject: |
Re: [avr-gcc-list] Re: sprintf |
Date: |
Tue, 03 Mar 2009 20:53:53 +0200 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20090105) |
David Brown wrote:
It is even free to reorganise
the array, or keep it all in registers (I don't think any compilers do
that, but maybe one day...),
In a piece of DSP code, our LLVM-based compiler was able to
convert a small temporary array into a set of scalar variables,
which subsequently ended up in registers. So at least LLVM is
able to do this today. I would be somewhat surprised if gcc
were not capable of doing similar things.
I am not entirely convinced that using pointer arithmetic
instead of array subscripting would make much difference here
though, but I am not a C expert by any means.
--
Pertti
- Re: [avr-gcc-list] Re: sprintf, David VanHorn, 2009/03/02
- Re: [avr-gcc-list] Re: sprintf, Joerg Wunsch, 2009/03/03
- Re: [avr-gcc-list] Re: sprintf, Joerg Wunsch, 2009/03/03
- [avr-gcc-list] Re: sprintf, David Brown, 2009/03/03
- Re: [avr-gcc-list] Re: sprintf,
Pertti Kellomäki <=
- Re: [avr-gcc-list] Re: sprintf, Georg-Johann Lay, 2009/03/03
- Re: [avr-gcc-list] Re: sprintf, Joerg Wunsch, 2009/03/05
- [avr-gcc-list] Re: sprintf, David Brown, 2009/03/05
- Re: [avr-gcc-list] Re: sprintf, Joerg Wunsch, 2009/03/06
- [avr-gcc-list] Re: sprintf, David Brown, 2009/03/06
- RE: [avr-gcc-list] Re: sprintf, Weddington, Eric, 2009/03/06