From patchwork Wed Oct 5 12:26:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 117827 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id BB2A3B6F8F for ; Wed, 5 Oct 2011 23:27:13 +1100 (EST) Received: (qmail 17042 invoked by alias); 5 Oct 2011 12:27:12 -0000 Received: (qmail 17033 invoked by uid 22791); 5 Oct 2011 12:27:11 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, TW_AV, TW_ZJ, T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-gy0-f175.google.com (HELO mail-gy0-f175.google.com) (209.85.160.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 05 Oct 2011 12:26:49 +0000 Received: by gyg8 with SMTP id 8so1711978gyg.20 for ; Wed, 05 Oct 2011 05:26:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.190.193 with SMTP id e41mr12822263yhn.118.1317817609126; Wed, 05 Oct 2011 05:26:49 -0700 (PDT) Received: by 10.147.116.13 with HTTP; Wed, 5 Oct 2011 05:26:49 -0700 (PDT) Date: Wed, 5 Oct 2011 14:26:49 +0200 Message-ID: Subject: [PATCH, testsuite]: "Fix" avx256-unaligned-{load, store}-3.c scan-assembler failures From: Uros Bizjak To: gcc-patches@gcc.gnu.org Cc: "H.J. Lu" Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hello! Atom does not vectorize DFmode arrays by default, so add -mtune=generic to dg-options to fix scan-assembler failures [1]. 2011-10-05 Uros Bizjak * gcc.target/i386/avx256-unaligned-load-3.c (dg-options): Add -mtune=generic. * gcc.target/i386/avx256-unaligned-store-3.c (dg-options): Ditto. Tested on x86_64-pc-linux-gnu {,-m32}, committed to mainline SVN. [1] http://gcc.gnu.org/ml/gcc-testresults/2011-10/msg00530.html Uros. Index: gcc.target/i386/avx256-unaligned-store-3.c =================================================================== --- gcc.target/i386/avx256-unaligned-store-3.c (revision 179535) +++ gcc.target/i386/avx256-unaligned-store-3.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -dp -mavx -mavx256-split-unaligned-store" } */ +/* { dg-options "-O3 -dp -mavx -mavx256-split-unaligned-store -mtune=generic" } */ #define N 1024 Index: gcc.target/i386/avx256-unaligned-load-3.c =================================================================== --- gcc.target/i386/avx256-unaligned-load-3.c (revision 179535) +++ gcc.target/i386/avx256-unaligned-load-3.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -dp -mavx -mavx256-split-unaligned-load" } */ +/* { dg-options "-O3 -dp -mavx -mavx256-split-unaligned-load -mtune=generic" } */ #define N 1024