Re: genrecog: ran out of alphabet

2009-06-17 Thread DJ Delorie
> > The opcode swaps two register banks. 32 SETs total. > > Perhaps you can cheat by using larger modes. E.g., if it's a 32-bit > machine, using DImode will cut the number of operands in half. They're DImode already, but I did figure out a workaround that reduces it to 16 SETs, so I'm all set.

Re: genrecog: ran out of alphabet

2009-06-17 Thread Ian Lance Taylor
DJ Delorie writes: >> That sounds like an awkward insn. > > The opcode swaps two register banks. 32 SETs total. Perhaps you can cheat by using larger modes. E.g., if it's a 32-bit machine, using DImode will cut the number of operands in half. Ian

Re: genrecog: ran out of alphabet

2009-06-17 Thread DJ Delorie
> That sounds like an awkward insn. The opcode swaps two register banks. 32 SETs total. > It would be nice if genrecog at least checked for an out of range > letter. Or used "ch-'a' < 32" tests, but would that work with EBCDIC build machines?

Re: genrecog: ran out of alphabet

2009-06-17 Thread Ian Lance Taylor
DJ Delorie writes: > genrecog uses strings to keep track of where it is, specifically, > digits and letters. I've got an insn that writes to more than 26 > registers. Would switching to something bigger than [A-Z] be > difficult? Perhaps using Japanese letters instead of English? ;-) That so