public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/31485] C complex numbers, amd64 SSE, missed optimization opportunity Date: Sat, 17 Apr 2010 11:11:00 -0000 [thread overview] Message-ID: <20100417111103.25766.qmail@sourceware.org> (raw) In-Reply-To: <bug-31485-2551@http.gcc.gnu.org/bugzilla/> ------- Comment #7 from rguenth at gcc dot gnu dot org 2010-04-17 11:11 ------- We now have basic-block vectorization but it still works on memory accesses (visible on the gimple level) only. So it doesn't handle add1 (ss1 a, ss1 b) { float D.3164; float D.3163; float b$imag; float b$real; float a$imag; float a$real; ss1 D.3154; <bb 2>: a$real_4 = REALPART_EXPR <a_1(D)>; a$imag_5 = IMAGPART_EXPR <a_1(D)>; b$real_6 = REALPART_EXPR <b_2(D)>; b$imag_7 = IMAGPART_EXPR <b_2(D)>; D.3163_8 = a$real_4 + b$real_6; D.3164_9 = a$imag_5 + b$imag_7; D.3154_3 = COMPLEX_EXPR <D.3163_8, D.3164_9>; return D.3154_3; } though maybe it could be teached to see REAL/IMAG_PART exprs as loads and COMPLEX_EXPR as store. Ira? -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |irar at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31485
next prev parent reply other threads:[~2010-04-17 11:11 UTC|newest] Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-04-05 11:29 [Bug rtl-optimization/31485] New: " bisqwit at iki dot fi 2007-04-09 17:48 ` [Bug rtl-optimization/31485] " rguenth at gcc dot gnu dot org 2008-07-29 22:07 ` victork at gcc dot gnu dot org 2008-08-02 12:23 ` rguenth at gcc dot gnu dot org 2008-08-02 13:01 ` ubizjak at gmail dot com 2008-08-02 13:19 ` rguenth at gcc dot gnu dot org 2010-04-17 0:28 ` ddesics at gmail dot com 2010-04-17 11:11 ` rguenth at gcc dot gnu dot org [this message] 2010-04-21 11:33 ` irar at il dot ibm dot com 2010-04-21 11:44 ` rguenther at suse dot de 2010-04-21 18:34 ` irar at il dot ibm dot com [not found] <bug-31485-4@http.gcc.gnu.org/bugzilla/> 2020-04-21 6:43 ` bisqwit at iki dot fi 2020-04-21 7:07 ` rguenth at gcc dot gnu.org 2020-04-21 7:17 ` bisqwit at iki dot fi 2020-04-21 7:37 ` rguenth at gcc dot gnu.org 2020-04-21 8:18 ` bisqwit at iki dot fi 2020-04-21 8:23 ` jakub at gcc dot gnu.org 2020-04-21 8:29 ` rguenther at suse dot de 2020-04-21 8:32 ` jakub at gcc dot gnu.org 2020-04-21 8:33 ` jakub at gcc dot gnu.org 2020-04-21 8:34 ` bisqwit at iki dot fi 2020-04-21 8:43 ` jakub at gcc dot gnu.org 2020-04-21 8:47 ` rguenther at suse dot de 2020-04-21 8:51 ` bisqwit at iki dot fi 2020-04-21 8:58 ` jakub at gcc dot gnu.org 2020-04-21 9:06 ` bisqwit at iki dot fi 2021-08-16 21:29 ` 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=20100417111103.25766.qmail@sourceware.org \ --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).