On Mon, Dec 14, 2009 at 04:46:59PM -0500, Jean Christophe Beyler wrote: > My current solution: > > - Define a new rtl in rtl.def
Just use an unspec or unspec_volatile. You don't need a new RTL operation. > - Add the new rtl in the MD file and the generated assembly instruction > > However, the solution seems to work, except in O0, where I get this error: This means whatever is calling gen_newrtl to create the insn is not checking operand predicates first. That's probably code you wrote too. -- Daniel Jacobowitz CodeSourcery