From patchwork Sun Oct 31 19:09:15 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 69733 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 31FA41007D2 for ; Mon, 1 Nov 2010 06:09:23 +1100 (EST) Received: (qmail 18585 invoked by alias); 31 Oct 2010 19:09:22 -0000 Received: (qmail 18537 invoked by uid 22791); 31 Oct 2010 19:09:21 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL, BAYES_00, NO_DNS_FOR_FROM, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mga02.intel.com (HELO mga02.intel.com) (134.134.136.20) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 31 Oct 2010 19:09:17 +0000 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 31 Oct 2010 12:09:15 -0700 X-ExtLoop1: 1 Received: from gnu-6.sc.intel.com ([10.3.194.135]) by orsmga001.jf.intel.com with ESMTP; 31 Oct 2010 12:09:15 -0700 Received: by gnu-6.sc.intel.com (Postfix, from userid 500) id 78E4A22914; Sun, 31 Oct 2010 12:09:15 -0700 (PDT) Date: Sun, 31 Oct 2010 12:09:15 -0700 From: "H.J. Lu" To: gcc-patches@gcc.gnu.org Subject: PATCH: PR target/46142: FMA test failures Message-ID: <20101031190915.GA22448@intel.com> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) 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 Hi, I checked in this preapproved patch to add -mtune=generic to gcc.target/i386/fma3-builtin-2.c and gcc.target/i386/fma4-builtin-2.c. H.J. Index: gcc.target/i386/fma4-builtin-2.c =================================================================== --- gcc.target/i386/fma4-builtin-2.c (revision 166112) +++ gcc.target/i386/fma4-builtin-2.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -mfma4" } */ +/* { dg-options "-O3 -mfma4 -mtune=generic" } */ #ifndef SIZE #define SIZE 1024 Index: gcc.target/i386/fma3-builtin-2.c =================================================================== --- gcc.target/i386/fma3-builtin-2.c (revision 166112) +++ gcc.target/i386/fma3-builtin-2.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -mfma -mno-fma4" } */ +/* { dg-options "-O3 -mfma -mno-fma4 -mtune=generic" } */ #ifndef SIZE #define SIZE 1024 Index: ChangeLog =================================================================== --- ChangeLog (revision 166112) +++ ChangeLog (working copy) @@ -1,3 +1,9 @@ +2010-10-31 H.J. Lu + + PR target/46142 + * gcc.target/i386/fma3-builtin-2.c: Add -mtune=generic. + * gcc.target/i386/fma4-builtin-2.c: Likewise. + 2010-10-31 Richard Sandiford * gcc.dg/stack-usage-1.c (SIZE): Increase to 248 for some MIPS targets.