Re: Conditional clobbering

2010-02-23 Thread Joern Rennecke
Quoting Joern Rennecke : You use a clobber with a matching constraint for alternative 1 and X for other alternatives. Make sure the patten is not named. P.S.: Actually, named is fine if you use a match_scratch, or if it's not a standard name.

Re: Conditional clobbering

2010-02-23 Thread Paulo Matos
On 02/23/10 19:12, Joern Rennecke wrote: > Quoting "Paulo J. Matos" : >> I have a situation in writing a specific condition on an md file. >> I have an insn with 2 alternatives and then I use which_alternative to >> generate the assembler code but if which_alternative == 1 I am >> clobbering a regi

Re: Conditional clobbering

2010-02-23 Thread Joern Rennecke
Quoting "Paulo J. Matos" : I have a situation in writing a specific condition on an md file. I have an insn with 2 alternatives and then I use which_alternative to generate the assembler code but if which_alternative == 1 I am clobbering a register. How can I tell gcc that if it matches 1, a give

Conditional clobbering

2010-02-23 Thread Paulo J. Matos
Hi all, I have a situation in writing a specific condition on an md file. I have an insn with 2 alternatives and then I use which_alternative to generate the assembler code but if which_alternative == 1 I am clobbering a register. How can I tell gcc that if it matches 1, a given register is clobbe