public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/50875] O3 and -mavx lead to internal compiler error: in find_reloads
Date: Wed, 26 Oct 2011 22:53:00 -0000	[thread overview]
Message-ID: <bug-50875-4-cM3Ko3psYU@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-50875-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50875

--- Comment #6 from Uros Bizjak <ubizjak at gmail dot com> 2011-10-26 22:52:50 UTC ---
Following (untested) patch fixes the failure for me:

Index: sse.md
===================================================================
--- sse.md    (revision 180528)
+++ sse.md    (working copy)
@@ -4231,12 +4231,11 @@
   [(set (match_operand:V4DF 0 "register_operand"         "=x,x")
     (vec_select:V4DF
       (vec_concat:V8DF
-        (match_operand:V4DF 1 "nonimmediate_operand" "xm,x")
+        (match_operand:V4DF 1 "nonimmediate_operand" " m,x")
         (match_operand:V4DF 2 "nonimmediate_operand" " 1,xm"))
       (parallel [(const_int 0) (const_int 4)
              (const_int 2) (const_int 6)])))]
-  "TARGET_AVX
-   && (!MEM_P (operands[1]) || rtx_equal_p (operands[1], operands[2]))"
+  "TARGET_AVX"
   "@
    vmovddup\t{%1, %0|%0, %1}
    vunpcklpd\t{%2, %1, %0|%0, %1, %2}"


  parent reply	other threads:[~2011-10-26 22:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-26 15:43 [Bug fortran/50875] New: O3 and -march=native " holyjoly at gmail dot com
2011-10-26 15:54 ` [Bug fortran/50875] " xunxun1982 at gmail dot com
2011-10-26 16:08 ` holyjoly at gmail dot com
2011-10-26 16:35 ` xunxun1982 at gmail dot com
2011-10-26 18:03 ` holyjoly at gmail dot com
2011-10-26 18:10 ` holyjoly at gmail dot com
2011-10-26 22:53 ` ubizjak at gmail dot com [this message]
2011-10-27 19:07 ` [Bug target/50875] O3 and -mavx " uros at gcc dot gnu.org
2011-10-27 21:55 ` uros at gcc dot gnu.org
2011-10-30 10:31 ` uros at gcc dot gnu.org
2011-10-30 11:35 ` ubizjak 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-50875-4-cM3Ko3psYU@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).