Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gcc.target
/
nvptx
/
tanh-1.c
blob: 534846cd62d63de6ace2f15d3824fc3749b050c7 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -ffast-math -misa=sm_75 -mptx=_" } */
float
foo
(
float
x
)
{
return
__builtin_tanhf
(
x
);
}
/* { dg-final { scan-assembler "tanh.approx.f32" } } */