[ARM] PR target/71056: Don't use vectorized builtins when NEON is not available
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Thu, 19 May 2016 13:43:58 +0000 (13:43 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Thu, 19 May 2016 13:43:58 +0000 (13:43 +0000)
commit4f83064e3bf64e5b6fe615a49ee84cf61b0ac954
treecf9f526f55cb1c7ad774f4386060c0942757e078
parent4bf8dbe16aa168e50fa240d2d368d439e07208d8
[ARM] PR target/71056: Don't use vectorized builtins when NEON is not available

PR target/71056
* config/arm/arm-builtins.c (arm_builtin_vectorized_function): Return
NULL_TREE early if NEON is not available.  Remove now redundant check
in ARM_CHECK_BUILTIN_MODE.

* gcc.target/arm/pr71056.c: New test.

From-SVN: r236459
gcc/ChangeLog
gcc/config/arm/arm-builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr71056.c [new file with mode: 0644]