------- Comment #27 from guenter at roeck-us dot net 2006-08-30 15:16 ------- Created an attachment (id=12154) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12154&action=view) possible patch
This might be a possible patch. It reverts to the original insn declaration, except for replacing the original "register_operand" with "input_operand". Generated code is less than optimal for the m->r case, but at least it appears to be correct. I tested this patch with the test cases provided. Also compiled a complete linux environment including perl which seems to work fine. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27287