From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6010 invoked by alias); 10 Dec 2013 01:06:08 -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 5984 invoked by uid 48); 10 Dec 2013 01:06:03 -0000 From: "rmansfield at qnx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/59442] New: movapd tests fail if built with -fstack-protector-strong/all Date: Tue, 10 Dec 2013 01:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rmansfield at qnx 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 Message-ID: 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: 2013-12/txt/msg00800.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59442 Bug ID: 59442 Summary: movapd tests fail if built with -fstack-protector-strong/all Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: rmansfield at qnx dot com === gcc tests === Schedule of variations: unix/-m32/-fstack-protector-strong Running target unix/-m32/-fstack-protector-strong Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /home/ryan/gnu/gcc/trunk/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /home/ryan/gnu/gcc/trunk/gcc/testsuite/gcc.target/i386/i386.exp ... FAIL: gcc.target/i386/avx-vmovapd-1.c execution test FAIL: gcc.target/i386/avx-vmovapd-2.c execution test FAIL: gcc.target/i386/avx-vmovapd-256-1.c execution test FAIL: gcc.target/i386/avx-vmovapd-256-2.c execution test FAIL: gcc.target/i386/sse2-movapd-1.c execution test FAIL: gcc.target/i386/sse2-movapd-2.c execution test The instrctions require 16 or 32byte alignment, but the tests are only aligning the data at 8bytes. Index: gcc/testsuite/gcc.target/i386/avx-vmovapd-256-1.c =================================================================== --- gcc/testsuite/gcc.target/i386/avx-vmovapd-256-1.c (revision 205838) +++ gcc/testsuite/gcc.target/i386/avx-vmovapd-256-1.c (working copy) @@ -15,7 +15,7 @@ avx_test (void) { union256d u; - double e [4] __attribute__ ((aligned (8))) = {41124.234,2344.2354,8653.65635,856.43576}; + double e [4] __attribute__ ((aligned (32))) = {41124.234,2344.2354,8653.65635,856.43576}; u.x = test (e); Index: gcc/testsuite/gcc.target/i386/avx-vmovapd-256-2.c =================================================================== --- gcc/testsuite/gcc.target/i386/avx-vmovapd-256-2.c (revision 205838) +++ gcc/testsuite/gcc.target/i386/avx-vmovapd-256-2.c (working copy) @@ -15,7 +15,7 @@ avx_test (void) { union256d u; - double e [4] __attribute__ ((aligned (8))) = {0.0}; + double e [4] __attribute__ ((aligned (32))) = {0.0}; u.x = _mm256_set_pd (39578.467285, 7856.342941, 85632.783567, 47563.234215); Index: gcc/testsuite/gcc.target/i386/sse2-movapd-1.c =================================================================== --- gcc/testsuite/gcc.target/i386/sse2-movapd-1.c (revision 205838) +++ gcc/testsuite/gcc.target/i386/sse2-movapd-1.c (working copy) @@ -25,7 +25,7 @@ TEST (void) { union128d u; - double e[2] __attribute__ ((aligned (8))) = {2134.3343,1234.635654}; + double e[2] __attribute__ ((aligned (16))) = {2134.3343,1234.635654}; u.x = test (e); Index: gcc/testsuite/gcc.target/i386/sse2-movapd-2.c =================================================================== --- gcc/testsuite/gcc.target/i386/sse2-movapd-2.c (revision 205838) +++ gcc/testsuite/gcc.target/i386/sse2-movapd-2.c (working copy) @@ -25,7 +25,7 @@ TEST (void) { union128d u; - double e[2] __attribute__ ((aligned (8))) = {0.0}; + double e[2] __attribute__ ((aligned (16))) = {0.0}; u.x = _mm_set_pd (2134.3343,1234.635654);