This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
odd things in md files
- To: gcc at gcc dot gnu dot org
- Subject: odd things in md files
- From: Zack Weinberg <zack at bitmover dot com>
- Date: Sat, 11 Sep 1999 21:15:47 -0700
gmicro.md has this:
(define_insn ""
[(set (match_operand:DI 0 "push_operand" "=m")
(match_operand:DF 1 "general_operand" "rmF"))]
""
"*
{
return output_move_double (operands);
}")
and i370.md has this:
(define_insn ""
[(set (match_operand:DI 0 "register_operand" "=d")
(mult:SI (match_operand:DI 1 "general_operand" "%0")
;; XXX see above (match_operand:SI 2 "general_operand" "g")))]
(match_operand:SI 2 "general_operand" "di")))]
""
"*
{
check_label_emit ();
if (REG_P (operands[2]))
{
mvs_check_page (0, 2, 0);
return \"MR %0,%2\";
}
mvs_check_page (0, 4, 0);
return \"M %0,%2\";
}"
[(set_attr "length" "4")]
)
Both of them appear to be ill-formed since the modes of SET's first
and second operand don't match. Anyone know what was going on here?
zw