This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH AArch64 2/2] PR/60825 Make {int,uint}64x1_t in arm_neon.h a proper vector type
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Alan Lawrence <alan dot lawrence at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 20 Jun 2014 13:50:48 +0100
- Subject: Re: [PATCH AArch64 2/2] PR/60825 Make {int,uint}64x1_t in arm_neon.h a proper vector type
- Authentication-results: sourceware.org; auth=none
- References: <53A2D581 dot 4090701 at arm dot com> <53A2D7E8 dot 3050403 at arm dot com>
On 19 June 2014 13:30, Alan Lawrence <alan.lawrence@arm.com> wrote:
> Similarly, this makes int64x1_t a proper vector type, updating arm_neon.h
> with many explicit vector construction/destruction operations (also
> including some range checking using __builtin_aarch64_im_lane_boundsi).
>
> Change the vabs_s64 intrinsic from using __builtin_llabs to
> __builtin_aarch64_absdi, the latter is consistent with other intrinsics and
> should have different behaviour (aarch64_abs on the minimum negative value
> should be defined to return said minimum negative value rather than
> undefined). This __builtin was previously being generated as a binary
> operator (but this was not noticed as it was unused), so I've tweaked the
> qualifiers to force unary ops to unary.
Ok /Marcus