From 02ccd5118e8920b9e17f6b78ce3afc3a6cc582d3 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 19 Oct 1993 20:05:55 -0400 Subject: [PATCH] (movdi): Force use of "o" alternative if operand 1 is a MEM. From-SVN: r5817 --- gcc/config/clipper/clipper.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"))] "" "* -- 2.30.2