diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2003-12-26 22:07:07 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2003-12-26 17:07:07 -0500 |
commit | 3364872d40a49c4c42e29cf7874bd44c8d5583c6 (patch) | |
tree | 49e2b764e22f3651b1d91e48bdd105e634dd7409 /gcc/config/rs6000/rs6000.c | |
parent | 88f2e10376c55f480fd0dbd222b8c1725571c6df (diff) | |
download | gcc-3364872d40a49c4c42e29cf7874bd44c8d5583c6.zip gcc-3364872d40a49c4c42e29cf7874bd44c8d5583c6.tar.gz gcc-3364872d40a49c4c42e29cf7874bd44c8d5583c6.tar.bz2 |
rs6000.c (legitimate_offset_address_p): Do not restrict DFmode and TFmode to word alignment.
2003-12-26 Fariborz Jahanian <fjahanian@apple.com>
Geoffrey Keating <geoffk@apple.com>
David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c (legitimate_offset_address_p): Do not
restrict DFmode and TFmode to word alignment.
* config/rs6000/rs6000.md (movdf_hardfloat64): Use 'o' constraint
for ld/std and order before mr.
Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
Co-Authored-By: Geoffrey Keating <geoffk@apple.com>
From-SVN: r75040
Diffstat (limited to 'gcc/config/rs6000/rs6000.c')
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 5e3d49a..4dc83c1 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -2448,7 +2448,7 @@ legitimate_offset_address_p (enum machine_mode mode, rtx x, int strict) case DFmode: case DImode: - if (!TARGET_POWERPC64) + if (mode == DFmode || !TARGET_POWERPC64) extra = 4; else if (offset & 3) return false; @@ -2456,7 +2456,7 @@ legitimate_offset_address_p (enum machine_mode mode, rtx x, int strict) case TFmode: case TImode: - if (!TARGET_POWERPC64) + if (mode == TFmode || !TARGET_POWERPC64) extra = 12; else if (offset & 3) return false; |