Commit b11532b3 by Fariborz Jahanian

Check for a legitimate offset when addressing DImode memory with -mpowerpc64.

From-SVN: r74937
parent e3e9336f
...@@ -2448,7 +2448,7 @@ legitimate_offset_address_p (enum machine_mode mode, rtx x, int strict) ...@@ -2448,7 +2448,7 @@ legitimate_offset_address_p (enum machine_mode mode, rtx x, int strict)
case DFmode: case DFmode:
case DImode: case DImode:
if (TARGET_32BIT) if (!TARGET_POWERPC64)
extra = 4; extra = 4;
else if (offset & 3) else if (offset & 3)
return false; return false;
...@@ -2456,7 +2456,7 @@ legitimate_offset_address_p (enum machine_mode mode, rtx x, int strict) ...@@ -2456,7 +2456,7 @@ legitimate_offset_address_p (enum machine_mode mode, rtx x, int strict)
case TFmode: case TFmode:
case TImode: case TImode:
if (TARGET_32BIT) if (!TARGET_POWERPC64)
extra = 12; extra = 12;
else if (offset & 3) else if (offset & 3)
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment