target-supports.exp (check_effective_target_arm_dsp): New.
authorJanis Johnson <janisjo@codesourcery.com>
Thu, 7 Jul 2011 17:44:14 +0000 (17:44 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Thu, 7 Jul 2011 17:44:14 +0000 (17:44 +0000)
commit09411ce3e6f15cc81e39d5a4c89e15f30d2fe79e
tree9d5a96b4a48f733e5ad47d527588644c36d1c034
parent1e4b2746e01c334c0dc26b8dd421c08812ca3f60
target-supports.exp (check_effective_target_arm_dsp): New.

* lib/target-supports.exp (check_effective_target_arm_dsp): New.
* gcc.target/arm/mla-2.c: Use it instead of specific -march.
* gcc.target/arm/wmul-1.c: Likewise.
* gcc.target/arm/wmul-2.c: Likewise.
* gcc.target/arm/wmul-3.c: Likewise.
* gcc.target/arm/wmul-4.c: Likewise.
* gcc.target/arm/smlaltb-1.c: Require arm_dsp, don't specify -march,
add tab after scan target.
* gcc.target/arm/smlaltt-1.c: Likewise.
* gcc.target/arm/smlatb-1.c: Likewise.
* gcc.target/arm/smlatt-1.c: Likewise.

From-SVN: r175993
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/mla-2.c
gcc/testsuite/gcc.target/arm/smlaltb-1.c
gcc/testsuite/gcc.target/arm/smlaltt-1.c
gcc/testsuite/gcc.target/arm/smlatb-1.c
gcc/testsuite/gcc.target/arm/smlatt-1.c
gcc/testsuite/gcc.target/arm/wmul-1.c
gcc/testsuite/gcc.target/arm/wmul-2.c
gcc/testsuite/gcc.target/arm/wmul-3.c
gcc/testsuite/gcc.target/arm/wmul-4.c
gcc/testsuite/lib/target-supports.exp