From: Ulrich Weigand Date: Tue, 11 Jun 2002 14:49:17 +0000 (+0000) Subject: s390.md (movsi): Only use floating point register alternatives when operands are... X-Git-Tag: releases/gcc-3.1.1~167 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0d8a010cd3511061eff51a84f5dcf5456368aa1;p=thirdparty%2Fgcc.git s390.md (movsi): Only use floating point register alternatives when operands are already fprs. * config/s390/s390.md (movsi): Only use floating point register alternatives when operands are already fprs. (movdi_31, movdi_64): Likewise. From-SVN: r54507 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6ac2da844db8..9184a0ba474a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-06-11 Ulrich Weigand + + * config/s390/s390.md (movsi): Only use floating point + register alternatives when operands are already fprs. + (movdi_31, movdi_64): Likewise. + 2002-06-11 Ulrich Weigand * config/s390/s390.md (reload_base, ltorg): Remove. diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md index fde30d40bd05..366a5b30c773 100644 --- a/gcc/config/s390/s390.md +++ b/gcc/config/s390/s390.md @@ -947,8 +947,8 @@ (set_attr "atype" "mem")]) (define_insn "*movdi_64" - [(set (match_operand:DI 0 "nonimmediate_operand" "=d,d,m,f,f,m") - (match_operand:DI 1 "general_operand" "d,m,d,f,m,f"))] + [(set (match_operand:DI 0 "nonimmediate_operand" "=d,d,m,!*f,!*f,!m") + (match_operand:DI 1 "general_operand" "d,m,d,*f,m,*f"))] "TARGET_64BIT" "@ lgr\\t%0,%1 @@ -961,8 +961,8 @@ (set_attr "atype" "reg,mem,mem,reg,mem,mem")]) (define_insn "*movdi_31" - [(set (match_operand:DI 0 "nonimmediate_operand" "=d,Q,d,m,f,f,m") - (match_operand:DI 1 "general_operand" "Q,d,dKm,d,f,m,f"))] + [(set (match_operand:DI 0 "nonimmediate_operand" "=d,Q,d,m,!*f,!*f,!m") + (match_operand:DI 1 "general_operand" "Q,d,dKm,d,*f,m,*f"))] "!TARGET_64BIT" "@ lm\\t%0,%N0,%1 @@ -1100,8 +1100,8 @@ (set_attr "atype" "mem")]) (define_insn "*movsi" - [(set (match_operand:SI 0 "nonimmediate_operand" "=d,d,m,f,f,m") - (match_operand:SI 1 "general_operand" "d,m,d,f,m,f"))] + [(set (match_operand:SI 0 "nonimmediate_operand" "=d,d,m,!*f,!*f,!m") + (match_operand:SI 1 "general_operand" "d,m,d,*f,m,*f"))] "" "@ lr\\t%0,%1