This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH #4, cleanup] Remove PowerPC -mvsx-small-integer


Hi Mike,

On Wed, Jul 26, 2017 at 12:24:17AM -0400, Michael Meissner wrote:
> 	* config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Delete
> 	-mvsx-small-integer option.
> 	(ISA_3_0_MASKS_IEEE): Likewise.
> 	(POWERPC_MASKS): Likewise.

(OTHER_VSX_VECTOR_MASKS): Likewise.

> @@ -2099,20 +2099,8 @@ rs6000_hard_regno_mode_ok (int regno, ma

> -	  if (TARGET_VSX_SMALL_INTEGER)
> -	    {
> -	      if (mode == SImode)
> -		return 1;

I don't see why deleting this is correct?

> -	      if (TARGET_P9_VECTOR && (mode == HImode || mode == QImode))
> -		return 1;

And this.

The rest looks fine I think.


Segher


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]