On 03/25/2011 11:49 AM, Richard Henderson wrote: > On 03/25/2011 10:51 AM, Richard Sandiford wrote: >> Thanks. I think it needs to be s/!= 4/>= 6/ though, so that >> match_scratches still work when 6 operands really are passed in. > > For the record, I audited all setmem and movmem patterns. > > There are is only one that uses 6 operands: i386. > There are two that use 4 operands, but have 1 scratch: avr, pdp11. > All the rest have exactly 4 operands. > > I'll leave the test as == 6 for now. I added a check to make sure that we don't get a 7 unexpectedly. Committed as below. r~