☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.target
/
nvptx
/
tanh-1.c
☽
☼
gcc/testsuite/gcc.target/nvptx/tanh-1.c
code
plain
raw
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ffast-math -misa=sm_75 -mptx=_" } */
3
4
float foo(float x)
5
{
6
return __builtin_tanhf(x);
7
}
8
9
/* { dg-final { scan-assembler "tanh.approx.f32" } } */