[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / copysign-bsl.c
blob0ec7109c7387794d198f2a5b1a6fb5c6e98d73c9
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 /* Test that we can generate DImode BSL when we are using
5 copysign. */
7 double
8 foo (double a, double b)
10 return __builtin_copysign (a, b);
13 /* { dg-final { scan-assembler "b\(sl|it|if\)\tv\[0-9\]" } } */