Re: Clobbering two registers

2010-05-16 Thread Paulo J. Matos
On Wed, May 12, 2010 at 6:43 PM, Ian Lance Taylor wrote: > > Yes. > > Also look at match_scratch. > I assume that I only need to setup two match_scratch then, right? -- PMatos

Re: Clobbering two registers

2010-05-12 Thread Ian Lance Taylor
"Paulo J. Matos" writes: > How can I say in the machine architecture that to generate code for a > particular insn I need any two registers for intermediate operations? > To get one I think that (clobber (match_operand ...)) will work but > what if I want two? Can I add two clobbers on the same d

Clobbering two registers

2010-05-12 Thread Paulo J. Matos
Hi all, How can I say in the machine architecture that to generate code for a particular insn I need any two registers for intermediate operations? To get one I think that (clobber (match_operand ...)) will work but what if I want two? Can I add two clobbers on the same define_insn rule? Cheers,