Commit 877c72e7 by Roland Stigge Committed by Michael Meissner

PR 57386/target

2014-01-07  Roland Stigge  <stigge@antcom.de>
	    Michael Meissner  <meissner@linux.vnet.ibm.com>

	PR 57386/target
	* config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
	Only check TFmode for SPE constants.  Don't check TImode or
	TDmode.


Co-Authored-By: Michael Meissner <meissner@linux.vnet.ibm.com>

From-SVN: r206401
parent f43cc2a6
2014-01-07 Roland Stigge <stigge@antcom.de>
Michael Meissner <meissner@linux.vnet.ibm.com>
PR 57386/target
* config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
Only check TFmode for SPE constants. Don't check TImode or
TDmode.
2014-01-07 James Greenhalgh <james.greenhalgh@arm.com> 2014-01-07 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64-elf.h (ASM_SPEC): Remove identity spec for * config/aarch64/aarch64-elf.h (ASM_SPEC): Remove identity spec for
......
...@@ -6321,13 +6321,14 @@ rs6000_legitimate_offset_address_p (enum machine_mode mode, rtx x, ...@@ -6321,13 +6321,14 @@ rs6000_legitimate_offset_address_p (enum machine_mode mode, rtx x,
break; break;
case TFmode: case TFmode:
case TDmode:
case TImode:
case PTImode:
if (TARGET_E500_DOUBLE) if (TARGET_E500_DOUBLE)
return (SPE_CONST_OFFSET_OK (offset) return (SPE_CONST_OFFSET_OK (offset)
&& SPE_CONST_OFFSET_OK (offset + 8)); && SPE_CONST_OFFSET_OK (offset + 8));
/* fall through */
case TDmode:
case TImode:
case PTImode:
extra = 8; extra = 8;
if (!worst_case) if (!worst_case)
break; break;
......
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