Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2007-06-12 | fold-const (fold_binary): Also optimize a/cbrt(b/c) into a*cbrt(c/b) if ↵ | Uros Bizjak | 1 | -0/+4 | |
flag_unsafe_math_optimizations is set. * fold-const (fold_binary) [RDIV_EXPR]: Also optimize a/cbrt(b/c) into a*cbrt(c/b) if flag_unsafe_math_optimizations is set. testuite/ChangeLog: * gcc.dg/builtins-11.c: Also check folding of a/cbrt(b/c). From-SVN: r125641 | |||||
2007-06-11 | re PR middle-end/32279 (Fold 1.0/sqrt(x/y) to sqrt(y/x)) | Uros Bizjak | 1 | -1/+4 | |
PR middle-end/32279 * fold-const (fold_binary) [RDIV_EXPR]: Optimize a/sqrt(b/c) into a*sqrt(c/b) if flag_unsafe_math_optimizations is set. testsuite/ChangeLog: PR middle-end/32279 * gcc.dg/builtins-11.c: Also check folding of a/sqrt(b/c). From-SVN: r125614 | |||||
2003-04-08 | fold-const.c (fold): Use "fold" following build in more places. | Roger Sayle | 1 | -0/+46 | |
* fold-const.c (fold): Use "fold" following build in more places. Optimize sqrt(x)*sqrt(x) as x, pow(x,y)*pow(z,y) as pow(x*z,y), pow(x,y)*pow(x,z) as pow(x,y+z) and x/pow(y,z) as x*pow(y,-z). * gcc.dg/builtins-11.c: New test case. From-SVN: r65387 |