[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] Re: AVR LLVM backend?
From: |
Weddington, Eric |
Subject: |
RE: [avr-gcc-list] Re: AVR LLVM backend? |
Date: |
Thu, 13 Nov 2008 21:21:36 -0700 |
> -----Original Message-----
> From: John Regehr [mailto:address@hidden
> Sent: Thursday, November 13, 2008 9:15 PM
> To: Weddington, Eric
> Cc: David Brown; address@hidden
> Subject: RE: [avr-gcc-list] Re: AVR LLVM backend?
>
> > My experience with -fwhole-program -fcombine has been less
> than stellar.
> > I have seen a 25% code reduction, which is great! But I
> have also seen
> > up to 25% code *increase*, which is really bad. I would
> have thought
> > that, at the very least, they would ensure that the code
> size would not
> > increase. But because of this wide range of results, I
> can't always rely
> > on those switches, which is a real shame.
>
> I think that ad hoc and embedded-inappropriate inlining
> heuristics are
> entirely to blame here. Both llvm and gcc use speed-focused inlining
> where code bloat is an afterthought. For a target like AVR
> it won't be
> hard to improve this.
Sure, and other AVR toolchain developers have also pointed this out. GCC's
inlining heuristics need to be tuned for the AVR backend. They have
particularly gotten worse in th 4.x series.
- RE: [avr-gcc-list] AVR LLVM backend?, (continued)
- RE: [avr-gcc-list] AVR LLVM backend?, Weddington, Eric, 2008/11/11
- Re: [avr-gcc-list] AVR LLVM backend?, Colin D Bennett, 2008/11/11
- Re: [avr-gcc-list] AVR LLVM backend?, Arnim Littek, 2008/11/11
- RE: [avr-gcc-list] AVR LLVM backend?, Weddington, Eric, 2008/11/11
- Re: [avr-gcc-list] AVR LLVM backend?, Joerg Wunsch, 2008/11/12
- RE: [avr-gcc-list] AVR LLVM backend?, John Regehr, 2008/11/13
- RE: [avr-gcc-list] AVR LLVM backend?, Weddington, Eric, 2008/11/13
- [avr-gcc-list] Re: AVR LLVM backend?, David Brown, 2008/11/13
- RE: [avr-gcc-list] Re: AVR LLVM backend?, Weddington, Eric, 2008/11/13
- RE: [avr-gcc-list] Re: AVR LLVM backend?, John Regehr, 2008/11/13
- RE: [avr-gcc-list] Re: AVR LLVM backend?,
Weddington, Eric <=
- Re: [avr-gcc-list] Re: AVR LLVM backend?, John Regehr, 2008/11/13
- RE: [avr-gcc-list] Re: AVR LLVM backend?, Weddington, Eric, 2008/11/13
- Re: [avr-gcc-list] Re: AVR LLVM backend?, Dave N6NZ, 2008/11/18
- Re: [avr-gcc-list] Re: AVR LLVM backend?, Preston Wilson, 2008/11/18
- RE: [avr-gcc-list] Re: AVR LLVM backend?, Ron Kreymborg, 2008/11/18
- RE: [avr-gcc-list] Re: AVR LLVM backend?, Weddington, Eric, 2008/11/18
- Re: [avr-gcc-list] Re: AVR LLVM backend?, Blake Leverett, 2008/11/18
- Re: [avr-gcc-list] Re: AVR LLVM backend?, Dave N6NZ, 2008/11/19
- Re: [avr-gcc-list] Re: AVR LLVM backend?, John Regehr, 2008/11/19
- RE: [avr-gcc-list] Re: AVR LLVM backend?, Weddington, Eric, 2008/11/19