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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [mips-div-1.c] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* Check that hard-float MIPS code doesn't use library calls for 1.0/x.  */
2
/* { dg-options "-fno-delayed-branch" } */
3
/* { dg-do compile { target mips*-*-* } } */
4
 
5
float f1 (float x) { return 1.0f / x; }
6
double f2 (double x) { return 1.0 / x; }
7
 
8
/* { dg-final { scan-assembler-not {lwc1.*__divsf3} } } */
9
/* { dg-final { scan-assembler-not {ldc1.*__divdf3} } } */

powered by: WebSVN 2.1.0

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