E500 subreg fixes

David Edelsohn dje@watson.ibm.com
Wed Nov 22 15:18:00 GMT 2006


	* spe.md (SPE64): New mode macro.
	(mov_sidf_e500_subreg0): Change to mov_si<mode>_e500_subreg0.  Add
	memory load.
	(mov_si<mode>_e500_subreg0_2): New.
	(mov_sidf_e500_subreg4): Change to mov_si<mode>_e500_subreg4.  Add
	memory load.
	(mov_si<mode>_e500_subreg4_2): New.
	* predicates.md (input_operand): Do not allow invalid E500
	subregs.
	(rs6000_nonimmediate_operand): Check for invalid E500 subregs also
	if TARGET_SPE.
	* rs6000.c (invalid_e500_subreg): Check for subregs involving
	DFmode if TARGET_E500_DOUBLE.  Check for subregs involving vector
	modes if TARGET_SPE.

Okay.

Thanks, David



More information about the Gcc-patches mailing list