OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr51867.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O0 -fno-math-errno -fdump-rtl-expand" } */
3
 
4
extern float sqrtf(float);
5
 
6
float a(float x)
7
{
8
    return sqrtf(x);
9
}
10
float b(float x)
11
{
12
    return sqrtf(x);
13
}
14
/* Here the calls to sqrtf should be expanded into CALL_INSNs, rather than
15
   fpu sqrtf rtl patterns.  */
16
/* { dg-final { scan-rtl-dump-times "call_insn" 2 "expand" } } */
17
/* { dg-final { cleanup-rtl-dump "expand" } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.