Re: RFC: overloading constraints

2008-10-17 Thread Joern Rennecke
On Fri, Oct 17, 2008 at 01:26:20PM -0400, Michael Meissner wrote: > Why do you need new syntax? The current constraints file already supports > target specific constraints. For example, from the i386: > > (define_register_constraint "x" "TARGET_SSE ? SSE_REGS : NO_REGS" > "Any SSE register.") >

Re: RFC: overloading constraints

2008-10-17 Thread Michael Meissner
On Fri, Oct 17, 2008 at 05:51:03PM +0100, Joern Rennecke wrote: > I want some constriants to be register constraints when compiling with > a particular set of compiler flags, and extra constraints when compiling > with another. > (In the first case, alternatives that use this constraint can be sele

RFC: overloading constraints

2008-10-17 Thread Joern Rennecke
I want some constriants to be register constraints when compiling with a particular set of compiler flags, and extra constraints when compiling with another. (In the first case, alternatives that use this constraint can be selected by reload for reloading non-matching insns, whereas in the second