Re: LTO FAILs: invalid section name - asterisks in DECL_ASSEMBLER_NAME.

2009-12-21 Thread Dave Korn
Dave Korn wrote: >> FAIL: gcc.c-torture/compile/2009-1.c (test for excess errors) >> Excess errors: >> /win/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cccnrdgl.s:13: Error: junk at end of >> line, first unrecognized character is `*' > > Looking at the generated assembly using --save-temps: > >>

How to implement pattens with more that 30 alternatives

2009-12-21 Thread Mohamed Shafi
Hi all, I am doing a port in GCC 4.4.0 for a 32 bit target. As a part of scheduling framework i have to write the move patterns with more clarity, so that i could control the scheduling with the help of attributes. Re-writting the pattern resulted in movsi pattern with 41 alternatives :( When i s

Re: How to implement pattens with more that 30 alternatives

2009-12-21 Thread Paul Brook
On Monday 21 December 2009, Mohamed Shafi wrote: > Hi all, > > I am doing a port in GCC 4.4.0 for a 32 bit target. As a part of > scheduling framework i have to write the move patterns with more > clarity, so that i could control the scheduling with the help of > attributes. Re-writting the patter

Re: How to implement pattens with more that 30 alternatives

2009-12-21 Thread Richard Earnshaw
On Mon, 2009-12-21 at 16:06 +, Paul Brook wrote: > On Monday 21 December 2009, Mohamed Shafi wrote: > > Hi all, > > > > I am doing a port in GCC 4.4.0 for a 32 bit target. As a part of > > scheduling framework i have to write the move patterns with more > > clarity, so that i could control th

Re: How to implement pattens with more that 30 alternatives

2009-12-21 Thread Paul Brook
> > > I am doing a port in GCC 4.4.0 for a 32 bit target. As a part of > > > scheduling framework i have to write the move patterns with more > > > clarity, so that i could control the scheduling with the help of > > > attributes. Re-writting the pattern resulted in movsi pattern with 41 > > > alte

Re: CSE & compare/branch template problem

2009-12-21 Thread Richard Henderson
On 12/18/2009 03:18 PM, Michael Eager wrote: MicroBlaze has a bit unusual compare and branch architecture. There are no condition flags; comparison results are stored in a result register. This like Alpha or MIPS then. There's one branch instruction, which compares a register with zero and br

Re: [PATCH] ARM: Convert BUG() to use unreachable()

2009-12-21 Thread Richard Henderson
On 12/17/2009 10:17 AM, Russell King - ARM Linux wrote: How is "size-optimal trap" defined? E.g. Sparc and MIPS have "tcc" instructions that trap based on the condition codes, and so we eliminate the branch. That's the only optimization we apply with __builtin_trap. Let me put it another way

Re: [PATCH] ARM: Convert BUG() to use unreachable()

2009-12-21 Thread Russell King - ARM Linux
On Mon, Dec 21, 2009 at 11:30:43AM -0800, Richard Henderson wrote: > On 12/17/2009 10:17 AM, Russell King - ARM Linux wrote: >> How is "size-optimal trap" defined? > > E.g. Sparc and MIPS have "tcc" instructions that trap based on the > condition codes, and so we eliminate the branch. That's the o