Re: GCC Support of Function/Variable Attributes

2013-02-28 Thread Andrew Pinski
On Thu, Feb 28, 2013 at 3:54 PM, Jeffrey Walton wrote: > Hi All, > > I'm having trouble compiling sources adorned with the aligned > attribute under Clang 3.1. Clang claims its GCC 4.2.1 compatible: This is not a good list to ask this question as if clang claims to 4.2.1 compatible and is not the

Re: MIPS & register allocation question

2013-02-28 Thread Steve Ellcey
On Thu, 2013-02-28 at 18:12 +, Richard Sandiford wrote: > > I'll try your patch on some of my benchmarks and see what happens. > > Thanks. When I removed mips_order_regs_for_local_alloc I didn't see any differences, when I changed the ordering of REG_ALLOC_ORDER I saw a savings of a few byte

Re: MIPS & register allocation question

2013-02-28 Thread Richard Sandiford
Steve Ellcey writes: > On Wed, 2013-02-27 at 22:28 +, Richard Sandiford wrote: >> FWIW, after seeing that, I tried the patch below. Disabling >> ADJUST_REG_ALLOC_ORDER seemed to be a very mixed bag sizewise though -- >> certainly not the consistent win that I hoped -- and I wasn't set up to >

Modeling predicate registers with more than one bit

2013-02-28 Thread Paulo Matos
Hello, I am looking at how to correctly model in GCC predicate registers that have more than one bit and the value set into to the predicate register after a comparison depends on the size of the comparison. I have looked into GCC backends but haven't really found any backend with a similar co