public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/53189] DImode and/or/not/xor optimized poorly in core-registers Date: Mon, 05 Aug 2013 22:43:00 -0000 [thread overview] Message-ID: <bug-53189-4-YN4jL6ha3T@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-53189-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53189 Richard Earnshaw <rearnsha at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |4.9.0 --- Comment #3 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- Fixed on trunk. #define test(X) long long operator X(struct a a, int c){ return a.b X 1;} struct a { long long b; }; test(&) test(|) test(+) test(-) test(^) Compiling -O2 and removing the fluff gives: _Zan1ai: and r0, r0, #1 mov r1, #0 bx lr _Zor1ai: orr r0, r0, #1 bx lr _Zpl1ai: adds r0, r0, #1 adc r1, r1, #0 bx lr _Zmi1ai: subs r0, r0, #1 sbc r1, r1, #0 bx lr _Zeo1ai: eor r0, r0, #1 bx lr
prev parent reply other threads:[~2013-08-05 22:43 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-05-02 10:37 [Bug target/53189] New: " ams at gcc dot gnu.org 2012-05-02 11:25 ` [Bug target/53189] " ams at gcc dot gnu.org 2012-05-14 9:32 ` ams at gcc dot gnu.org 2013-08-05 22:43 ` rearnsha 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-53189-4-YN4jL6ha3T@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: linkBe 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).