public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "carrot at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/53447] missed optimization of 64bit ALU operation with small constant Date: Sun, 01 Jul 2012 15:15:00 -0000 [thread overview] Message-ID: <bug-53447-4-OQB1k1ZV3V@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-53447-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53447 --- Comment #3 from carrot at gcc dot gnu.org 2012-07-01 15:14:56 UTC --- Author: carrot Date: Sun Jul 1 15:14:52 2012 New Revision: 189102 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189102 Log: PR target/53447 * config/arm/arm-protos.h (const_ok_for_dimode_op): New prototype. * config/arm/arm.c (const_ok_for_dimode_op): New function. * config/arm/constraints.md (Dd): New constraint. * config/arm/predicates.md (arm_adddi_operand): New predicate. * config/arm/arm.md (adddi3): Extend it to handle constants. (arm_adddi3): Likewise. (addsi3_carryin_<optab>): Extend it to handle sbc case. (addsi3_carryin_alt2_<optab>): Likewise. * config/arm/neon.md (adddi3_neon): Extend it to handle constants. * gcc.target/arm/pr53447-1.c: New testcase. * gcc.target/arm/pr53447-2.c: New testcase. * gcc.target/arm/pr53447-3.c: New testcase. * gcc.target/arm/pr53447-4.c: New testcase. Added: trunk/gcc/testsuite/gcc.target/arm/pr53447-1.c trunk/gcc/testsuite/gcc.target/arm/pr53447-2.c trunk/gcc/testsuite/gcc.target/arm/pr53447-3.c trunk/gcc/testsuite/gcc.target/arm/pr53447-4.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/arm/arm-protos.h trunk/gcc/config/arm/arm.c trunk/gcc/config/arm/arm.md trunk/gcc/config/arm/constraints.md trunk/gcc/config/arm/neon.md trunk/gcc/config/arm/predicates.md trunk/gcc/testsuite/ChangeLog
next prev parent reply other threads:[~2012-07-01 15:15 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-05-22 7:37 [Bug target/53447] New: " carrot at google dot com 2012-05-22 9:57 ` [Bug target/53447] " steven at gcc dot gnu.org 2012-05-22 10:01 ` steven at gcc dot gnu.org 2012-05-23 7:06 ` carrot at google dot com 2012-07-01 15:15 ` carrot at gcc dot gnu.org [this message] 2012-07-06 2:23 ` carrot at google dot com
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-53447-4-OQB1k1ZV3V@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).