public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/50696] [x32] Unnecessary lea Date: Tue, 11 Oct 2011 20:09:00 -0000 [thread overview] Message-ID: <bug-50696-4-0oNZdwFfsb@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-50696-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50696 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|target |rtl-optimization --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-10-11 20:09:10 UTC --- For (insn 37 35 39 3 (parallel [ (set (reg:SI 88) (plus:SI (reg:SI 89) (reg:SI 100))) (clobber (reg:CC 17 flags)) ]) x.i:12 253 {*addsi_1} (expr_list:REG_DEAD (reg:SI 89) (expr_list:REG_UNUSED (reg:CC 17 flags) (nil)))) (insn 39 37 41 3 (set (mem:SI (zero_extend:DI (reg:SI 88)) [0 MEM[symbol: x, index: D.2735_1, step: 4, offset: 4294967292B]+0 S4 A32]) (reg/v:SI 85 [ i ])) x.i:12 64 {*movsi_internal} (expr_list:REG_DEAD (reg:DI 87) (nil))) combine replaces zero_extend with and. It may be a valid option for normal computation. But it messes up the POINTERS_EXTEND_UNSIGNED > 0 target where address is zero-extendeded from ptr_mode to Pmode.
next prev parent reply other threads:[~2011-10-11 20:09 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-10-11 17:36 [Bug target/50696] New: " hjl.tools at gmail dot com 2011-10-11 18:00 ` [Bug target/50696] " hjl.tools at gmail dot com 2011-10-11 20:09 ` hjl.tools at gmail dot com [this message] 2011-10-11 20:12 ` [Bug rtl-optimization/50696] " hjl.tools at gmail dot com 2011-10-11 22:14 ` hjl.tools at gmail dot com 2011-10-11 23:29 ` hjl.tools at gmail dot com 2011-10-14 16:25 ` bonzini at gnu dot org 2011-10-14 16:36 ` hjl.tools at gmail 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-50696-4-0oNZdwFfsb@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).