[PATCH] aarch64: Use type-qualified builtins for vcombine_* Neon intrinsics

Jonathan Wright Jonathan.Wright@arm.com
Thu Nov 11 10:36:10 GMT 2021


Hi,

This patch declares unsigned and polynomial type-qualified builtins for
vcombine_* Neon intrinsics. Using these builtins removes the need for
many casts in arm_neon.h.

Bootstrapped and regression tested on aarch64-none-linux-gnu - no
issues.

Ok for master?

Thanks,
Jonathan

---

gcc/ChangeLog:

2021-11-10  Jonathan Wright  <jonathan.wright@arm.com>

	* config/aarch64/aarch64-builtins.c (TYPES_COMBINE): Delete.
	(TYPES_COMBINEP): Delete.
	* config/aarch64/aarch64-simd-builtins.def: Declare type-
	qualified builtins for vcombine_* intrinsics.
	* config/aarch64/arm_neon.h (vcombine_s8): Remove unnecessary
	cast.
	(vcombine_s16): Likewise.
	(vcombine_s32): Likewise.
	(vcombine_f32): Likewise.
	(vcombine_u8): Use type-qualified builtin and remove casts.
	(vcombine_u16): Likewise.
	(vcombine_u32): Likewise.
	(vcombine_u64): Likewise.
	(vcombine_p8): Likewise.
	(vcombine_p16): Likewise.
	(vcombine_p64): Likewise.
	(vcombine_bf16): Remove unnecessary cast.
	* config/aarch64/iterators.md (VDC_I): New mode iterator.
	(VDC_P): New mode iterator.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb15059.patch
Type: application/octet-stream
Size: 6636 bytes
Desc: rb15059.patch
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211111/ef269f53/attachment.obj>


More information about the Gcc-patches mailing list