public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "nsz at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/66731] vnmul, fnmul patterns incorrect for -frounding-math
Date: Mon, 03 Aug 2015 14:28:00 -0000	[thread overview]
Message-ID: <bug-66731-4-1VYagDvbTU@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-66731-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66731

--- Comment #5 from nsz at gcc dot gnu.org ---
Author: nsz
Date: Mon Aug  3 14:27:43 2015
New Revision: 226507

URL: https://gcc.gnu.org/viewcvs?rev=226507&root=gcc&view=rev
Log:
Backport form mainline r226496.

gcc:

        Backport form mainline r226496.
        2015-08-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>

        PR target/66731
        * config/arm/vfp.md (negmuldf3_vfp): Add new pattern.
        (negmulsf3_vfp): Likewise.
        (muldf3negdf_vfp): Disable for -frounding-math.
        (mulsf3negsf_vfp): Likewise.
        * config/arm/arm.c (arm_new_rtx_costs): Fix NEG cost for VNMUL,
        fix MULT cost with -frounding-math.

gcc/testsuite:

        Backport form mainline r226496.
        2015-08-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>

        PR target/66731
        * gcc.target/arm/vnmul-1.c: New.
        * gcc.target/arm/vnmul-2.c: New.
        * gcc.target/arm/vnmul-3.c: New.
        * gcc.target/arm/vnmul-4.c: New.


Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.target/arm/vnmul-1.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/arm/vnmul-2.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/arm/vnmul-3.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/arm/vnmul-4.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/arm/arm.c
    branches/gcc-5-branch/gcc/config/arm/vfp.md
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


  parent reply	other threads:[~2015-08-03 14:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-01 21:44 [Bug target/66731] New: " jsm28 at gcc dot gnu.org
2015-07-06 11:00 ` [Bug target/66731] " nsz at gcc dot gnu.org
2015-07-15  9:03 ` nsz at gcc dot gnu.org
2015-08-03 11:12 ` nsz at gcc dot gnu.org
2015-08-03 14:28 ` nsz at gcc dot gnu.org [this message]
2015-08-04 16:23 ` nsz at gcc dot gnu.org
2015-08-04 16:44 ` nsz at gcc dot gnu.org
2015-08-04 17:42 ` nsz at gcc dot gnu.org
2015-08-05  8:57 ` nsz at gcc dot gnu.org
2015-08-05  9:02 ` ramana at gcc dot gnu.org

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=bug-66731-4-1VYagDvbTU@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).