Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/torture/mips-div-1.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* Check that hard-float MIPS code doesn't use library calls for 1.0/x. */ /* { dg-options "-fno-delayed-branch" } */ /* { dg-do compile { target mips*-*-* } } */ float f1 (float x) { return 1.0f / x; } double f2 (double x) { return 1.0 / x; } /* { dg-final { scan-assembler-not {lwc1.*__divsf3} } } */ /* { dg-final { scan-assembler-not {ldc1.*__divdf3} } } */