r251230 - in /trunk/gcc: ChangeLog match.pd

wilco@gcc.gnu.org wilco@gcc.gnu.org
Mon Aug 21 14:46:00 GMT 2017


Author: wilco
Date: Mon Aug 21 14:46:34 2017
New Revision: 251230

URL: https://gcc.gnu.org/viewcvs?rev=251230&root=gcc&view=rev
Log:
This patch simplifies pow (C, x) into exp (x * C1) if C > 0, C1 = log (C).
Do this only for fast-math as accuracy is reduced.  This is much faster
since pow is more complex than exp.

    gcc/
	* match.pd: Add pow (C, x) simplification

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/match.pd



More information about the Gcc-cvs mailing list