"吴曦" <[EMAIL PROTECTED]> writes:

> I observe that there is a ld instruction in 3rd alternative, so I add
> a new define_insn before it in the hope that it will be matched
> firstly.

It doesn't work that way.  Your new instruction will wind up matching
all move instructions.  Reload will crash because the constraints
don't work.

Instead just change the existing movqi_internal insn.  Don't try to
write a new one.  Change the existing insn to use C code which checks
which_alternative instead of the @ list it uses now.

Ian

Reply via email to