Debian Codegraph @

gcc/testsuite/gcc.target/microblaze/isa/fsqrt.c

raw
1 /* { dg-options "-O3 -mcpu=v10.0 -mhard-float -mxl-float-sqrt" } */
2 #include <math.h>
3
4 float sqrt_func (float f)
5 {
6 /* { dg-final { scan-assembler "fsqrt\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r(\[0-9]\|\[1-2]\[0-9]\|3\[0-1])\[^0-9]" } } */
7 return sqrtf (f);
8 }
9
10