[Patch] Inline optimization for tanh(x)/sinh(x) -> 1.0/cosh(x)
Jeff Law
law@redhat.com
Wed Jun 3 23:03:10 GMT 2020
On Fri, 2020-01-31 at 15:50 -0300, Vitor Guidi wrote:
> I took the required steps. The patch is attached to this email, I hope
> I got it right this time. I did not forward the patch to gcc-patches
> the first time, sorry for the inconvenience.
>
> Thank you for your attention,
>
> Vitor.
>
> in gcc/ChangeLog:
> 2020-01-28 Vitor Guidi <vitor.guidi@usp.br>
> * match.pd: New substitution rule for tanh(x)/sinh(x) ->
> 1.0/cosh(x).
>
> in gcc/testsuite/ChangeLog:
> 2020-01-28 Vitor Guidi <vitor.guidi@usp.br>
> *gcc.dg/tanhbysinh.c (new): New testcase.
Thanks. I've installed this on the trunk. Sorry for the delays.
jeff
>
More information about the Gcc-patches
mailing list