Hi Richard, On 13/05/15 12:27, Richard Biener wrote: >>> I notice that we don't have a testuite check that the target has >>> >>a hw sqrt instructions. Would you like me to add one? Or can I make >>> >>the testcase aarch64-specific? > Would be great to have a testsuite check for this. > I've committed the patch with r223167. The attached patch adds a testsuite check for hardware sqrt instructions. In this version I've included arm (on the condition that vfp is possible), aarch64, x86_64 and powerpc with vsx. Is this definition ok? I'm particularly not familiar with the powerpc architectures. With this check in place, I've migrated the pow synthesis test from gcc.target/aarch64 to gcc.dg. This test passes on arm-none-eabi, aarch64-none-elf and x86_64-linux. Ok? 2015-05-13 Kyrylo Tkachov * lib/target-supports.exp (check_effective_target_hw_sqrt): New check. * gcc.dg/pow-sqrt-synth-1.c: New test. * gcc.target/aarch64/pow-sqrt-synth-1.c: Delete.