public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/64180] PowerPC carry bit improvements
Date: Wed, 10 Dec 2014 18:38:00 -0000	[thread overview]
Message-ID: <bug-64180-4-FIfH9cJYaH@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-64180-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #8 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Wed Dec 10 18:37:58 2014
New Revision: 218595

URL: https://gcc.gnu.org/viewcvs?rev=218595&root=gcc&view=rev
Log:
    PR target/64180
    * config/rs6000/predicates.md (unsigned_comparison_operator): New.
    (signed_comparison_operator): New.
    * config/rs6000/rs6000-protos.h (rs6000_emit_eqne): Declare.
    * config/rs6000/rs6000.c (rs6000_emit_eqne): New function.
    (rs6000_emit_sCOND): Remove ISEL test (move it to the expander).
    * config/rs6000/rs6000.md (add<mode>3 for SDI): Expand DImode
    add to addc,adde directly, if !TARGET_POWERPC64.
    (sub<mode>3 for SDI): Expand DImode sub to subfc,subfe directly,
    if !TARGET_POWERPC64.
    (neg<mode>2): Delete expander.
    (*neg<mode>2): Rename to "neg<mode>2".
    (addti3, subti3): Delete.
    (addti3, subti3): New expanders.
    (*adddi3_noppc64, *subdi3_noppc64, *negdi2_noppc64): Delete.
    (cstore<mode>4_unsigned): New expander.
    (cstore<mode>4): Allow GPR as output (not just SI).  Rewrite.
    (cstore<mode>4 for FP): Remove superfluous quotes.
    (*eq<mode>, *eq<mode>_compare, *plus_eqsi and splitter,
    *compare_plus_eqsi and splitter, *plus_eqsi_compare and splitter,
    *neg_eq0<mode>, *neg_eq<mode>, *ne0_<mode>, plus_ne0_<mode>,
    compare_plus_ne0_<mode> and splitter, *compare_plus_ne0_<mode>_1 and
    splitter, *plus_ne0_<mode>_compare and splitter, *leu<mode>,
    *leu<mode>_compare and splitter, *plus_leu<mode>, *neg_leu<mode>,
    *and_neg_leu<mode>, *ltu<mode>, *ltu<mode>_compare, *plus_ltu<mode>,
    *plus_ltu<mode>_1, *plus_ltu<mode>compare, *neg_ltu<mode>, *geu<mode>,
    *geu<mode>_compare and splitter, *plus_geu<mode>, *neg_geu<mode>,
    *and_neg_geu<mode>, *plus_gt0<mode>, *gtu<mode>, *gtu<mode>_compare,
    *plus_gtu<mode>, *plus_gtu<mode>_1, *plus_gtu<mode>_compare,
    *neg_gtu<mode>, 12 anonymous insns, and 12 anonymous splitters):
    Delete.
    (eq<mode>3, ne<mode>3): New.
    (*neg_eq_<mode>, *neg_ne_<mode>): New.
    (*plus_eq_<mode>, *plus_ne_<mode>): New.
    (*minus_eq_<mode>, *minus_ne_<mode>): New.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/predicates.md
    trunk/gcc/config/rs6000/rs6000-protos.h
    trunk/gcc/config/rs6000/rs6000.c
    trunk/gcc/config/rs6000/rs6000.md


  parent reply	other threads:[~2014-12-10 18:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-04  2:23 [Bug ada/64180] New: " segher at gcc dot gnu.org
2014-12-04 18:38 ` [Bug target/64180] " dje at gcc dot gnu.org
2014-12-10 18:29 ` segher at gcc dot gnu.org
2014-12-10 18:31 ` segher at gcc dot gnu.org
2014-12-10 18:31 ` segher at gcc dot gnu.org
2014-12-10 18:32 ` segher at gcc dot gnu.org
2014-12-10 18:34 ` segher at gcc dot gnu.org
2014-12-10 18:36 ` segher at gcc dot gnu.org
2014-12-10 18:38 ` segher at gcc dot gnu.org [this message]
2014-12-12 21:20 ` pthaugen at gcc dot gnu.org
2015-01-02  2:16 ` segher 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-64180-4-FIfH9cJYaH@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).