From: Richard Kenner Date: Wed, 20 Oct 1993 00:05:55 +0000 (-0400) Subject: (movdi): Force use of "o" alternative if operand 1 is a MEM. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=02ccd5118e8920b9e17f6b78ce3afc3a6cc582d3;p=gcc.git (movdi): Force use of "o" alternative if operand 1 is a MEM. From-SVN: r5817 --- diff --git a/gcc/config/clipper/clipper.md b/gcc/config/clipper/clipper.md index 24a82bfceba..2c8735cd182 100644 --- a/gcc/config/clipper/clipper.md +++ b/gcc/config/clipper/clipper.md @@ -306,8 +306,11 @@ operands[1] = force_reg (DImode, operands[1]); }") +;; If an operand is a MEM but not offsetable, we can't load it into +;; a register, so we must force the third alternative to be the one +;; reloaded. Hence we show the first as more expensive. (define_insn "" - [(set (match_operand:DI 0 "register_operand" "=r,r,r") + [(set (match_operand:DI 0 "register_operand" "=?r,r,r") (match_operand:DI 1 "general_operand" "r,n,o"))] "" "*