This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][ARM][1/3] AArch32 NEON vrint builtins and intrinsics
- From: Ramana Radhakrishnan <ramana dot gcc at googlemail dot com>
- To: Kyrylo Tkachov <kyrylo dot tkachov at arm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Ramana Radhakrishnan <ramana dot radhakrishnan at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>
- Date: Wed, 5 Dec 2012 22:13:19 +0000
- Subject: Re: [PATCH][ARM][1/3] AArch32 NEON vrint builtins and intrinsics
- References: <50b770f3.e94b420a.07f5.067bSMTPIN_ADDED_BROKEN@mx.google.com>
- Reply-to: ramrad01 at arm dot com
On Thu, Nov 29, 2012 at 2:27 PM, Kyrylo Tkachov <kyrylo.tkachov@arm.com> wrote:
> Hi all,
> This patch adds support for the vrint builtins. It also gathers the unspec
> definitions in the various .md files in one file: unspecs.md.
> A new iterator is defined that iterates over some new unspecs, in a similar
> way to the scalar vrint implementation.
>
> No regressions on arm-none-eabi.
>
> Ok for trunk?
Missing newline at end of unspecs.md
Otherwise OK
ramana
>
> Thanks,
> Kyrill
>
> gcc/ChangeLog
>
> 2012-11-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
>
> * config/arm/arm.c (neon_itype): Define NEON_RINT enum element.
> (neon_builtin_data): Register vrintn, vrinta, vrintp, vrintm,
> vrintz,
> vrintx neon builtins.
> (arm_init_neon_builtins): Handle NEON_RINT.
> (arm_expand_neon_builtin): Likewise.
> * config/arm/unspecs.md: New file.
> * config/arm/arm.md ("unspec"): Move to unspecs.md.
> * config/arm/iterators.md (NEON_VRINT): New int iterator.
> (nvrint_variant): New int attribute.
> * config/arm/neon.md
> (neon_vrint<NEON_VRINT:nvrint_variant><VCVTF:mode>): New pattern.
> ("unspec"): Move to unspecs.md.
> * config/arm/iwmmxt2.md ("unspec"): Move to unspecs.md.