From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18660 invoked by alias); 13 Jan 2014 22:23:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 18633 invoked by uid 48); 13 Jan 2014 22:23:24 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/59797] New: GCC doesn't warn AVX-512 ABI change Date: Mon, 13 Jan 2014 22:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-01/txt/msg01406.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59797 Bug ID: 59797 Summary: GCC doesn't warn AVX-512 ABI change Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: kirill.yukhin at intel dot com [hjl@gnu-6 gcc]$ cat /tmp/z.i typedef long long __m512i __attribute__ ((__vector_size__ (64), __may_alias__)); __m512i f1(__m512i x, __m512i y) { return y; } [hjl@gnu-6 gcc]$ ./xgcc -B./ -S -O /tmp/z.i /tmp/z.i: In function =E2=80=98f1=E2=80=99: /tmp/z.i:4:1: note: The ABI for passing parameters with 64-byte alignment h= as changed in GCC 4.6 f1(__m512i x, __m512i y) ^ [hjl@gnu-6 gcc]$ ./xgcc -B./ -S -O /tmp/z.i -mavx512f [hjl@gnu-6 gcc]$=20 When -mavx512f isn't used, GCC should warn ABI changes for passing/returning AVX vector values. >>From gcc-bugs-return-440265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 13 22:23:42 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19299 invoked by alias); 13 Jan 2014 22:23:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19280 invoked by uid 48); 13 Jan 2014 22:23:38 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/59797] GCC doesn't warn AVX-512 ABI change Date: Mon, 13 Jan 2014 22:23: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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on target_milestone everconfirmed Message-ID: In-Reply-To: References: 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: 2014-01/txt/msg01407.txt.bz2 Content-length: 450 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59797 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-01-13 Target Milestone|--- |4.9.0 Ever confirmed|0 |1