On Thu, Nov 29, 2012 at 2:27 PM, Kyrylo Tkachov <kyrylo.tkac...@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.tkac...@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.