[PATCH 10/34] rs6000: Add Power10 builtins

Segher Boessenkool segher@kernel.crashing.org
Mon Aug 23 23:48:31 GMT 2021


On Thu, Jul 29, 2021 at 08:30:57AM -0500, Bill Schmidt wrote:
> 	* config/rs6000/rs6000-builtin-new.def: Add power10 and power10-64
> 	stanzas.

> +  void __builtin_altivec_tr_stxvrbx (vsq, signed long, signed char *);
> +    TR_STXVRBX vsx_stxvrbx {stvec}
> +
> +  void __builtin_altivec_tr_stxvrhx (vsq, signed long, signed int *);
> +    TR_STXVRHX vsx_stxvrhx {stvec}
> +
> +  void __builtin_altivec_tr_stxvrwx (vsq, signed long, signed short *);
> +    TR_STXVRWX vsx_stxvrwx {stvec}
> +
> +  void __builtin_altivec_tr_stxvrdx (vsq, signed long, signed long long *);
> +    TR_STXVRDX vsx_stxvrdx {stvec}

Is vsq for all of these correct?  Is it just a placeholder for "any
vector type"?


Okay for trunk.  Thanks!


Segehr


More information about the Gcc-patches mailing list