[PATCH] aarch64: Use type-qualified builtins for vget_low/high intrinsics
Jonathan Wright
Jonathan.Wright@arm.com
Thu Nov 11 10:37:44 GMT 2021
Hi,
This patch declares unsigned and polynomial type-qualified builtins for
vget_low_*/vget_high_* 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_UNOPP): Define.
* config/aarch64/aarch64-simd-builtins.def: Declare type-
qualified builtins for vget_low/high.
* config/aarch64/arm_neon.h (vget_low_p8): Use type-qualified
builtin and remove casts.
(vget_low_p16): Likewise.
(vget_low_p64): Likewise.
(vget_low_u8): Likewise.
(vget_low_u16): Likewise.
(vget_low_u32): Likewise.
(vget_low_u64): Likewise.
(vget_high_p8): Likewise.
(vget_high_p16): Likewise.
(vget_high_p64): Likewise.
(vget_high_u8): Likewise.
(vget_high_u16): Likewise.
(vget_high_u32): Likewise.
(vget_high_u64): Likewise.
* config/aarch64/iterators.md (VQ_P): New mode iterator.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb15060.patch
Type: application/octet-stream
Size: 6496 bytes
Desc: rb15060.patch
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211111/bac7bfe2/attachment-0001.obj>
More information about the Gcc-patches
mailing list