Testsuite check for sqrt_insn. Move pow/sqrt synth test from gcc.target/aarch64/...
commit20e93ff88cbdc649b1a9e69c84f194bb9db714fe
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 May 2015 13:30:24 +0000 (21 13:30 +0000)
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 May 2015 13:30:24 +0000 (21 13:30 +0000)
tree5fc480432be09e5919afdfdc2d6c0d53661c0eb9
parent412156820aa4cf76774060e3b79ff0126678fa8c
Testsuite check for sqrt_insn. Move pow/sqrt synth test from gcc.target/aarch64/ to to gcc.dg/

* lib/target-supports.exp (check_effective_target_sqrt_insn): New check.
* gcc.dg/pow-sqrt-synth-1.c: New test.
* gcc.target/aarch64/pow-sqrt-synth-1.c: Delete.

* doc/sourcebuild.texi (7.2.3.9 Other hardware attributes):
Document sqrt_insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223485 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pow-sqrt-synth-1.c [moved from gcc/testsuite/gcc.target/aarch64/pow-sqrt-synth-1.c with 75% similarity]
gcc/testsuite/lib/target-supports.exp