Stricter invalid_e500_subreg (with jump.c:true_regnum fix)

Ian Lance Taylor iant@google.com
Wed Nov 29 15:12:00 GMT 2006


"Joseph S. Myers" <joseph@codesourcery.com> writes:

> Specifically, how about this revised patch version?
> 
> 2006-11-29  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* config/rs6000/predicates.md (gpc_reg_operand): Check
> 	invalid_e500_subreg.
> 	* config/rs6000/rs6000.c (invalid_e500_subreg): Don't allow any
> 	SImode subregs of SPE vectors.
> 	* config/rs6000/rs6000.md (insv): Fail for invalid E500 subregs.
> 	* jump.c (true_regnum): Require subregs to satisfy
> 	subreg_offset_representable_p.

The patch to jump.c is OK when and if the rest of the patch is OK.

Thanks.

Ian



More information about the Gcc-patches mailing list