(movdi): Force use of "o" alternative if operand 1 is a MEM.
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 20 Oct 1993 00:05:55 +0000 (20:05 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 20 Oct 1993 00:05:55 +0000 (20:05 -0400)
From-SVN: r5817

gcc/config/clipper/clipper.md

index 24a82bfcebabcd729d519e174dea26dd30cc3014..2c8735cd18246ab5d5a32a992cd11fe7eea48f88 100644 (file)
     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"))]
   ""
   "*