public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "yroux at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/59744] miscompilation of unsigned comparison on aarch64
Date: Mon, 11 Aug 2014 22:08:00 -0000	[thread overview]
Message-ID: <bug-59744-4-OL7zAUS35j@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-59744-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #8 from yroux at gcc dot gnu.org ---
Author: yroux
Date: Mon Aug 11 22:08:03 2014
New Revision: 213842

URL: https://gcc.gnu.org/viewcvs?rev=213842&root=gcc&view=rev
Log:
gcc/
2014-08-11  Michael Collison  <michael.collison@linaro.org>

    Backport from trunk r206529, r206530
    2014-01-10  Richard Earnshaw  <rearnsha@arm.com>

    PR target/59744
    * aarch64-modes.def (CC_Zmode): New flags mode.
    * aarch64.c (aarch64_select_cc_mode): Only allow NEG when the condition
    represents an equality.
    (aarch64_get_condition_code): Handle CC_Zmode.
    * aarch64.md (compare_neg<mode>): Restrict to equality operations.

gcc/testsuite/
2014-08-11  Michael Collison  <michael.collison@linaro.org>

    Backport from trunk r206529
    2014-01-10  Richard Earnshaw  <rearnsha@arm.com>

    PR target/59744
    * gcc.target/aarch64/cmn-neg.c: Use equality comparisons.
    * gcc.target/aarch64/cmn-neg2.c: New test.


Added:
    branches/linaro/gcc-4_8-branch/gcc/testsuite/gcc.target/aarch64/cmn-neg2.c
Modified:
    branches/linaro/gcc-4_8-branch/gcc/ChangeLog.linaro
    branches/linaro/gcc-4_8-branch/gcc/config/aarch64/aarch64-modes.def
    branches/linaro/gcc-4_8-branch/gcc/config/aarch64/aarch64.c
    branches/linaro/gcc-4_8-branch/gcc/config/aarch64/aarch64.md
    branches/linaro/gcc-4_8-branch/gcc/testsuite/ChangeLog.linaro
    branches/linaro/gcc-4_8-branch/gcc/testsuite/gcc.target/aarch64/cmn-neg.c


      parent reply	other threads:[~2014-08-11 22:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-10  0:30 [Bug target/59744] New: " michael.hudson at linaro dot org
2014-01-10  1:00 ` [Bug target/59744] " pinskia at gcc dot gnu.org
2014-01-10 15:21 ` rearnsha at gcc dot gnu.org
2014-01-10 15:23 ` rearnsha at gcc dot gnu.org
2014-01-13  1:00 ` michael.hudson at linaro dot org
2014-01-13  9:34 ` rearnsha at gcc dot gnu.org
2014-01-13  9:35 ` ktkachov at gcc dot gnu.org
2014-08-11 22:08 ` yroux at gcc dot gnu.org [this message]

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-59744-4-OL7zAUS35j@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).