[AArch64] Error out of arm_neon.h if nofp/nosimd
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 14 Jan 2015 12:03:22 +0000 (12:03 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 14 Jan 2015 12:03:22 +0000 (12:03 +0000)
commit2a62514fca6566e85dcc84e1c5b8e91a3207e1d1
treeab7a53f404757fdcb0f62ec1e20f2ee6d197538d
parent3bbbd3ee8ef6288e8607827aa0083d840a9a61b4
[AArch64] Error out of arm_neon.h if nofp/nosimd

* config/aarch64/arm_neon.h: Error out if AdvancedSIMD
is not available.

* gcc.target/aarch64/arm_neon-nosimd-error.c: New test.

From-SVN: r219594
gcc/ChangeLog
gcc/config/aarch64/arm_neon.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/arm_neon-nosimd-error.c [new file with mode: 0644]