URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* Check that hard-float MIPS code doesn't use library calls for 1.0/x. */
|
/* Check that hard-float MIPS code doesn't use library calls for 1.0/x. */
|
/* { dg-options "-fno-delayed-branch" } */
|
/* { dg-options "-fno-delayed-branch" } */
|
/* { dg-do compile { target mips*-*-* } } */
|
/* { dg-do compile { target mips*-*-* } } */
|
|
|
float f1 (float x) { return 1.0f / x; }
|
float f1 (float x) { return 1.0f / x; }
|
double f2 (double x) { return 1.0 / x; }
|
double f2 (double x) { return 1.0 / x; }
|
|
|
/* { dg-final { scan-assembler-not {lwc1.*__divsf3} } } */
|
/* { dg-final { scan-assembler-not {lwc1.*__divsf3} } } */
|
/* { dg-final { scan-assembler-not {ldc1.*__divdf3} } } */
|
/* { dg-final { scan-assembler-not {ldc1.*__divdf3} } } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.