Do not allow DFs to use 2 register addressing if -msoft-float
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Apr 1995 19:46:08 +0000 (19:46 +0000)
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Apr 1995 19:46:08 +0000 (19:46 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9441 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/rs6000/rs6000.h

index fa196b2..0d3df3c 100644 (file)
@@ -1438,6 +1438,7 @@ struct rs6000_args {int words, fregno, nargs_prototype; };
     }                                                          \
   else if (GET_CODE (X) == PLUS && GET_CODE (XEXP (X, 0)) == REG \
           && GET_CODE (XEXP (X, 1)) != CONST_INT               \
+          && (TARGET_HARD_FLOAT || (MODE) != DFmode)           \
           && (MODE) != DImode && (MODE) != TImode)             \
     {                                                          \
       (X) = gen_rtx (PLUS, SImode, XEXP (X, 0),                        \