public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Christophe Lyon <christophe.lyon@linaro.org>
To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>,
	Richard Sandiford <richard.sandiford@arm.com>
Subject: Re: Move sqrt and cbrt simplifications to match.pd
Date: Fri, 09 Oct 2015 14:35:00 -0000	[thread overview]
Message-ID: <CAKdteOYZ_zCTmi_7mTcM0sgvuFn_3m4stuf-HSfEop3E19sipA@mail.gmail.com> (raw)
In-Reply-To: <87twq19u6s.fsf@e105548-lin.cambridge.arm.com>

On 8 October 2015 at 18:55, Richard Sandiford <richard.sandiford@arm.com> wrote:
> 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
>
Hi Richard,

Since you committed this patch, I've noticed that gcc.dg/builtins-10.c fails
on arm-none-linux-gnueabi targets (as opposed to arm-none-linux-gnueabihf).

gcc.log shows:
/cchfHDHc.o: In function `test':
builtins-10.c:(.text+0x60): undefined reference to `link_error'
collect2: error: ld returned 1 exit status

Does this ring a bell?

Christophe.

  reply	other threads:[~2015-10-09 14:35 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
2015-10-09 14:35     ` Christophe Lyon [this message]
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=CAKdteOYZ_zCTmi_7mTcM0sgvuFn_3m4stuf-HSfEop3E19sipA@mail.gmail.com \
    --to=christophe.lyon@linaro.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=richard.sandiford@arm.com \
    /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).