re PR tree-optimization/70840 (revisit reassoc handling of pow / powi, amend match...
[gcc.git] / gcc / ChangeLog
index 0284c895ae64573d8a0537f50d0d2cffd81f1376..f8bbb313a0a46aeffca014e4633e099368e54566 100644 (file)
@@ -1,3 +1,11 @@
+2016-04-28  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/70840
+       * match.pd: powi(-x, y) and powi(|x|,y) -> powi(x,y) if y is even;
+       Fix pow(copysign(x, y), z) -> pow(x, z) and add powi variant;
+       Mark x * pow(x,c) -> pow(x,c+1) commutative.
+       Add powi(x,y) * powi(z,y) -> powi(x*z,y).
+
 2015-04-28  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        * config/aarch64/aarch64.h (WORD_REGISTER_OPERATIONS): Define to 0