Debian Codegraph @

gcc/testsuite/gcc.target/nvptx/tanh-1.c

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" } } */