Commit 960c5c79 by Michael Eager Committed by Michael Eager

Allow address for DImode/DFmode only if double-precision FP regs.

From-SVN: r147105
parent d083fbba
2009-05-04 Michael Eager <eager@eagercon.com> 2009-05-04 Michael Eager <eager@eagercon.com>
* config/rs6000/rs6000.c (rs6000_legitimate_address): Allow
address for DImode/DFmode only if double-precision FP regs.
2009-05-04 Michael Eager <eager@eagercon.com>
* config/rs6000/rs6000.c (rs6000_libcall_value): Add * config/rs6000/rs6000.c (rs6000_libcall_value): Add
TARGET_SINGLE_FLOAT check. TARGET_SINGLE_FLOAT check.
......
...@@ -4458,7 +4458,7 @@ rs6000_legitimate_address (enum machine_mode mode, rtx x, int reg_ok_strict) ...@@ -4458,7 +4458,7 @@ rs6000_legitimate_address (enum machine_mode mode, rtx x, int reg_ok_strict)
if (mode != TImode if (mode != TImode
&& mode != TFmode && mode != TFmode
&& mode != TDmode && mode != TDmode
&& ((TARGET_HARD_FLOAT && TARGET_FPRS) && ((TARGET_HARD_FLOAT && TARGET_FPRS && TARGET_DOUBLE_FLOAT)
|| TARGET_POWERPC64 || TARGET_POWERPC64
|| (mode != DFmode && mode != DDmode) || (mode != DFmode && mode != DDmode)
|| (TARGET_E500_DOUBLE && mode != DDmode)) || (TARGET_E500_DOUBLE && mode != DDmode))
......
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