public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/95756] Failure to optimize memory operations with _Complex
Date: Fri, 19 Jun 2020 07:23:00 +0000	[thread overview]
Message-ID: <bug-95756-4-joxzy7kYFQ@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-95756-4@http.gcc.gnu.org/bugzilla/>

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |missed-optimization
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2020-06-19
             Target|                            |x86_64-*-* i?86-*-*
          Component|target                      |rtl-optimization

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
RTL expansion issue, we're ending up with

(insn 5 2 6 2 (set (reg:SF 82 [ <retval> ])
        (mem/u/c:SF (symbol_ref/u:DI ("*.LC0") [flags 0x2]) [0  S4 A32]))
"t.c":3:12 -1
     (expr_list:REG_EQUAL (const_double:SF 0.0 [0x0.0p+0])
        (nil)))
(insn 6 5 10 2 (set (reg:SF 83 [ <retval>+4 ])
        (mem/u/c:SF (symbol_ref/u:DI ("*.LC0") [flags 0x2]) [0  S4 A32]))
"t.c":3:12 -1
     (expr_list:REG_EQUAL (const_double:SF 0.0 [0x0.0p+0])
        (nil)))
(insn 10 6 11 2 (set (reg:SF 84)
        (reg:SF 82 [ <retval> ])) "t.c":4:1 -1
     (nil))
(insn 11 10 12 2 (set (reg:SF 85)
        (reg:SF 83 [ <retval>+4 ])) "t.c":4:1 -1
     (nil))
(insn 12 11 13 2 (set (mem/c:SF (plus:DI (reg/f:DI 77 virtual-stack-vars)
                (const_int -8 [0xfffffffffffffff8])) [0  S4 A32])
        (reg:SF 84)) "t.c":4:1 -1
     (nil))
(insn 13 12 14 2 (set (mem/c:SF (plus:DI (reg/f:DI 77 virtual-stack-vars)
                (const_int -4 [0xfffffffffffffffc])) [0  S4 A32])
        (reg:SF 85)) "t.c":4:1 -1
     (nil))
(insn 14 13 15 2 (set (reg:DI 20 xmm0)
        (mem/c:DI (plus:DI (reg/f:DI 77 virtual-stack-vars)
                (const_int -8 [0xfffffffffffffff8])) [0  S8 A32])) "t.c":4:1 -1
     (nil))
(insn 15 14 0 2 (use (reg:DI 20 xmm0)) "t.c":4:1 -1
     (nil))

  reply	other threads:[~2020-06-19  7:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-19  0:43 [Bug target/95756] New: " gabravier at gmail dot com
2020-06-19  7:23 ` rguenth at gcc dot gnu.org [this message]
2021-08-16  0:35 ` [Bug middle-end/95756] " pinskia 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-95756-4-joxzy7kYFQ@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).