diff options
| author | fjahanian <fjahanian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-22 18:33:00 +0000 |
|---|---|---|
| committer | fjahanian <fjahanian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-22 18:33:00 +0000 |
| commit | bb16f7b5e1f6ade7f9dbe251823456472075296b (patch) | |
| tree | ada282fdb08d66a67120668e52c684b7f23c6871 | |
| parent | e467c16e5fd0bea6c2ad7ac19b5899d5fa1232d6 (diff) | |
| download | ppe42-gcc-bb16f7b5e1f6ade7f9dbe251823456472075296b.tar.gz ppe42-gcc-bb16f7b5e1f6ade7f9dbe251823456472075296b.zip | |
Check for a legitimate offset when addressing DImode memory with -mpowerpc64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74937 138bc75d-0d04-0410-961f-82ee72b054a4
| -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 1f3808df786..5e3d49a1062 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_32BIT) + if (!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_32BIT) + if (!TARGET_POWERPC64) extra = 12; else if (offset & 3) return false; |

