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/59683] ICE: in classify_argument, at config/i386/i386.c:6637 with #pragma GCC target("avx512f")
Date: Thu, 12 Mar 2015 18:04:00 -0000	[thread overview]
Message-ID: <bug-59683-4-DkxGLUbTMO@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-59683-4@http.gcc.gnu.org/bugzilla/>

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-03-12
      Known to work|                            |5.0
   Target Milestone|---                         |4.9.3
     Ever confirmed|0                           |1

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
This compiles OK with 5.0:

pr59683.c: In function ‘bar’:
pr59683.c:16:1: warning: AVX512F vector return without AVX512F enabled changes
the ABI [-Wpsabi]
 {
 ^

Confirmed on 4.9 branch.
>From gcc-bugs-return-480223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 12 18:14:20 2015
Return-Path: <gcc-bugs-return-480223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126392 invoked by alias); 12 Mar 2015 18:14:19 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 126322 invoked by uid 48); 12 Mar 2015 18:14:16 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65369] [5 Regression] nettle test failure on powerpc64le-linux-gnu when built with -O3
Date: Thu, 12 Mar 2015 18:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-65369-4-fHak3d3st0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65369-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65369-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-03/txt/msg01367.txt.bz2
Content-length: 1274

https://gcc.gnu.org/bugzilla/show_bug.cgi?ide369

--- Comment #26 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, on my version of the testcase with r210843 -O3 -mcpu=power8 there are like
49
32 bit load in host endianness found at: _105 = MEM[(const unsigned char
*)load_src_25];
occurrences, so I've added a quick hack (should have used dbg counters
parhaps), and
with BSWAPCNT\x16 it works fine, with BSWAPCNT\x17 it fails.
In the *.optimized dump, I've noticed that this single load matters for
vectorization in md4_update function, with BSWAPCNT\x16 a chunk of code isn't
vectorized, with BSWAPCNT\x17 it is.

--- tree-ssa-math-opts.c.xx    2015-03-12 17:44:13.000000000 +0100
+++ tree-ssa-math-opts.c    2015-03-12 18:52:49.280605232 +0100
@@ -2132,6 +2132,17 @@ bswap_replace (gimple stmt, gimple_stmt_
       gimple addr_stmt, load_stmt;
       unsigned align;

+static int cntx = -1;
+if (cntx == -1)
+{
+if (getenv ("BSWAPCNT"))
+cntx = atoi (getenv ("BSWAPCNT"));
+else
+cntx = 0x7fffffff;
+}
+if (cntx == 0)
+return false;
+cntx--;
       align = get_object_alignment (src);
       if (bswap && SLOW_UNALIGNED_ACCESS (TYPE_MODE (load_type), align))
     return false;

So very well this might just trigger a latent bug in the vectorizer or powerpc
backend.


  reply	other threads:[~2015-03-12 18:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-05 12:26 [Bug target/59683] New: " zsojka at seznam dot cz
2015-03-12 18:04 ` ubizjak at gmail dot com [this message]
2015-06-26 19:59 ` [Bug target/59683] " jakub at gcc dot gnu.org
2015-06-26 20:30 ` jakub at gcc dot gnu.org
2021-08-13 21:41 ` 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-59683-4-DkxGLUbTMO@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).