diff options
author | Geoffrey Keating <geoffk@cygnus.com> | 2000-01-20 01:08:24 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@cygnus.com> | 2000-01-20 01:08:24 +0000 |
commit | 298437d960aaefc1873a0559e6af996f62118d6b (patch) | |
tree | e5ed97affc79c271f96691c7d3f15d1cc19c12b4 | |
parent | 03376f14a5f90aa785aa5ef8a1e7eac3ab7ef6c3 (diff) |
* rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
(movdi): Likewise.
(movhi): Likewise.
(movqi): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/newppc-branch@31531 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/config/rs6000/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.md | 8 |
2 files changed, 11 insertions, 4 deletions
diff --git a/gcc/config/rs6000/ChangeLog b/gcc/config/rs6000/ChangeLog index 584ba78bb85..f4a0f3e7392 100644 --- a/gcc/config/rs6000/ChangeLog +++ b/gcc/config/rs6000/ChangeLog @@ -1,5 +1,12 @@ 2000-01-19 Geoff Keating <geoffk@cygnus.com> + * rs6000.md (movsi): Don't use force_reg when no_new_pseudos. + (movdi): Likewise. + (movhi): Likewise. + (movqi): Likewise. + +2000-01-19 Geoff Keating <geoffk@cygnus.com> + * rs6000.md (movsi_got): 'unspec 8' returns a SImode result, at present. (movsi_got_internal): Likewise. diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 65ae66c1c43..303835292df 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -5851,7 +5851,7 @@ "" " { - if (GET_CODE (operands[0]) != REG) + if (! no_new_pseudos && GET_CODE (operands[0]) != REG) operands[1] = force_reg (SImode, operands[1]); /* Convert a move of a CONST_DOUBLE into a CONST_INT */ @@ -6033,7 +6033,7 @@ "" " { - if (GET_CODE (operands[0]) != REG) + if (! no_new_pseudos && GET_CODE (operands[0]) != REG) operands[1] = force_reg (HImode, operands[1]); if (CONSTANT_P (operands[1]) @@ -6069,7 +6069,7 @@ "" " { - if (GET_CODE (operands[0]) != REG) + if (! no_new_pseudos && GET_CODE (operands[0]) != REG) operands[1] = force_reg (QImode, operands[1]); if (CONSTANT_P (operands[1]) @@ -6513,7 +6513,7 @@ "" " { - if (GET_CODE (operands[0]) != REG) + if (! no_new_pseudos && GET_CODE (operands[0]) != REG) operands[1] = force_reg (DImode, operands[1]); /* Convert a move of a CONST_DOUBLE into a CONST_INT |