projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3e9336
)
Check for a legitimate offset when addressing DImode memory with -mpowerpc64.
author
Fariborz Jahanian
<fjahanian@gcc.gnu.org>
Mon, 22 Dec 2003 18:33:00 +0000
(18:33 +0000)
committer
Fariborz Jahanian
<fjahanian@gcc.gnu.org>
Mon, 22 Dec 2003 18:33:00 +0000
(18:33 +0000)
From-SVN: r74937
gcc/config/rs6000/rs6000.c
patch
|
blob
|
history
diff --git
a/gcc/config/rs6000/rs6000.c
b/gcc/config/rs6000/rs6000.c
index
1f3808d
..
5e3d49a
100644
(file)
--- 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;