re PR target/19142 (ppc-darwin no longer builds)

PR target/19142
	* config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Allow
	DFmode for 32-bit again.

From-SVN: r92583
This commit is contained in:
Alan Modra 2004-12-24 01:51:04 +00:00 committed by Alan Modra
parent 5d3a981694
commit 3c028f6548
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-12-24 Alan Modra <amodra@bigpond.net.au>
PR target/19142
* config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Allow
DFmode for 32-bit again.
2004-12-23 Roger Sayle <roger@eyesopen.com>
* reload.c (regno_clobbered_p): Add a gcc_assert that regno

View File

@ -3325,7 +3325,8 @@ legitimate_lo_sum_address_p (enum machine_mode mode, rtx x, int strict)
if (GET_MODE_NUNITS (mode) != 1)
return false;
if (GET_MODE_BITSIZE (mode) > 64
|| (GET_MODE_BITSIZE (mode) > 32 && !TARGET_POWERPC64))
|| (GET_MODE_BITSIZE (mode) > 32 && !TARGET_POWERPC64
&& !(TARGET_HARD_FLOAT && TARGET_FPRS && mode == DFmode)))
return false;
return CONSTANT_P (x);