From: Richard Sandiford <richard.sandiford@arm.com>
To: Marc Glisse <marc.glisse@inria.fr>
Cc: "gcc-patches\@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: Re: Move sqrt and cbrt simplifications to match.pd
Date: Thu, 08 Oct 2015 16:55:00 -0000 [thread overview]
Message-ID: <87twq19u6s.fsf@e105548-lin.cambridge.arm.com> (raw)
In-Reply-To: <alpine.DEB.2.20.1510061058140.1720@laptop-mg.saclay.inria.fr> (Marc Glisse's message of "Tue, 6 Oct 2015 09:59:28 +0100")
Marc Glisse <marc.glisse@inria.fr> writes:
> On Mon, 5 Oct 2015, Richard Sandiford wrote:
>
>> + /* cbrt(sqrt(x)) -> pow(x,1/6). */
>> + (simplify
>> + (sqrts (cbrts @0))
>> + (pows @0 { build_real_truncate (type, dconst<1, 6> ()); }))
>> + /* sqrt(cbrt(x)) -> pow(x,1/6). */
>> + (simplify
>> + (cbrts (sqrts @0))
>> + (pows @0 { build_real_truncate (type, dconst<1, 6> ()); }))
>
> I think you swapped the comments (not that it matters).
Thanks, fixed in the committed version.
Richard
next prev parent reply other threads:[~2015-10-08 16:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-05 15:17 Richard Sandiford
2015-10-06 8:13 ` Richard Biener
2015-10-06 8:59 ` Marc Glisse
2015-10-08 16:55 ` Richard Sandiford [this message]
2015-10-09 14:35 ` Christophe Lyon
2015-10-09 15:07 ` Richard Sandiford
2015-10-09 16:17 ` Richard Sandiford
2015-10-12 10:01 ` Richard Biener
2015-10-12 14:11 ` Christophe Lyon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87twq19u6s.fsf@e105548-lin.cambridge.arm.com \
--to=richard.sandiford@arm.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=marc.glisse@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).