Message ID | EB4625145972F94C9680D8CADD6516150730F02B@sausexdag04.amd.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-return-318048-incoming=patchwork.ozlabs.org@gcc.gnu.org> 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 A4656B6FC2 for <incoming@patchwork.ozlabs.org>; Thu, 3 May 2012 16:37:26 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1336631847; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Received:Received:Received:Received:From:To:CC: Subject:Date:Message-ID:References:In-Reply-To:Content-Type: Content-Transfer-Encoding:MIME-Version:Mailing-List:Precedence: List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=DjNrJuF53kzpU0P3CGNNjpO4rD0=; b=ohRdYp9mdqRyS9K EHzlN38azU4+likYRX8eW4aNoGmojt5NUegtAoQqKrH9lgOWOyQr6eHAwXLQJAMe VUzwaJw1bLgSJkzQA6zatb+1mQFn6X87ZiaMmX7aKX/Lz3PT1k1K3t15tN4jHi+P p8cxjbDZCm1Lm1sa8KbnOzkHlfXs= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:X-SpamScore:X-BigFish:X-Forefront-Antispam-Report:Received:Received:Received:X-M-MSG:Received:Received:Received:From:To:CC:Subject:Date:Message-ID:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:MIME-Version:X-OriginatorOrg:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=uahv84RP/qxQP9NInhvVwaAVDf8megfzGD2wsd5+z/831kt/2cin3DWZb9CHAt gXDsPbYNp4VAy/lFgK9sePgjCw4JLPDN2EGXctdChpvMpay41smiCnLBLSiWXbYD vBgQvug5nqLDLn2/qC9dZV7gaZc9j8hnaqixb1KWX3Vxc=; Received: (qmail 3341 invoked by alias); 3 May 2012 06:37:21 -0000 Received: (qmail 3118 invoked by uid 22791); 3 May 2012 06:37:19 -0000 X-SWARE-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, KHOP_THREADED, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_NO, RCVD_IN_HOSTKARMA_W, RCVD_IN_HOSTKARMA_WL, RCVD_IN_HOSTKARMA_YE, TW_LZ, TW_TB, TW_ZC X-Spam-Check-By: sourceware.org Received: from ch1ehsobe006.messaging.microsoft.com (HELO ch1outboundpool.messaging.microsoft.com) (216.32.181.186) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 May 2012 06:37:05 +0000 Received: from mail66-ch1-R.bigfish.com (10.43.68.239) by CH1EHSOBE013.bigfish.com (10.43.70.63) with Microsoft SMTP Server id 14.1.225.23; Thu, 3 May 2012 06:36:54 +0000 Received: from mail66-ch1 (localhost [127.0.0.1]) by mail66-ch1-R.bigfish.com (Postfix) with ESMTP id 214B53201A0; Thu, 3 May 2012 06:36:54 +0000 (UTC) X-SpamScore: -23 X-BigFish: VPS-23(zz9371I936eK542M154dM1432N98dKzz1202hzz8275bh8275dhz2dh668h839h944hd25h) X-Forefront-Antispam-Report: CIP:163.181.249.109; KIP:(null); UIP:(null); IPV:NLI; H:ausb3twp02.amd.com; RD:none; EFVD:NLI Received: from mail66-ch1 (localhost.localdomain [127.0.0.1]) by mail66-ch1 (MessageSwitch) id 1336027011485178_30444; Thu, 3 May 2012 06:36:51 +0000 (UTC) Received: from CH1EHSMHS028.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.253]) by mail66-ch1.bigfish.com (Postfix) with ESMTP id 67A70380205; Thu, 3 May 2012 06:36:51 +0000 (UTC) Received: from ausb3twp02.amd.com (163.181.249.109) by CH1EHSMHS028.bigfish.com (10.43.70.28) with Microsoft SMTP Server id 14.1.225.23; Thu, 3 May 2012 06:36:49 +0000 X-M-MSG: Received: from sausexedgep02.amd.com (sausexedgep02-ext.amd.com [163.181.249.73]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ausb3twp02.amd.com (Axway MailGate 3.8.1) with ESMTP id 2922CC8109; Thu, 3 May 2012 01:36:53 -0500 (CDT) Received: from SAUSEXDAG06.amd.com (163.181.55.7) by sausexedgep02.amd.com (163.181.36.59) with Microsoft SMTP Server (TLS) id 8.3.192.1; Thu, 3 May 2012 01:37:10 -0500 Received: from SAUSEXDAG04.amd.com ([fe80::9143:6575:e649:e862]) by sausexdag06.amd.com ([fe80::cc99:d0a6:b4b:ef8b%22]) with mapi id 14.01.0323.003; Thu, 3 May 2012 01:36:56 -0500 From: "Gopalasubramanian, Ganesh" <Ganesh.Gopalasubramanian@amd.com> To: Jakub Jelinek <jakub@redhat.com> CC: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org> Subject: Re: [PATCH] [i386] fma3 instruction generation for 'march=native' in AMD processors Date: Thu, 3 May 2012 06:36:55 +0000 Message-ID: <EB4625145972F94C9680D8CADD6516150730F02B@sausexdag04.amd.com> References: <EB4625145972F94C9680D8CADD65161507309E5E@sausexdag04.amd.com> <20120502114116.GS16117@tyan-ft48-01.lab.bos.redhat.com> In-Reply-To: <20120502114116.GS16117@tyan-ft48-01.lab.bos.redhat.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: amd.com Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-patches.gcc.gnu.org> List-Unsubscribe: <mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-help@gcc.gnu.org> Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org |
Index: config/i386/driver-i386.c =================================================================== --- config/i386/driver-i386.c (revision 186897) +++ config/i386/driver-i386.c (working copy) @@ -472,6 +472,8 @@ has_abm = ecx & bit_ABM; has_lwp = ecx & bit_LWP; has_fma4 = ecx & bit_FMA4; + if (vendor == SIG_AMD && has_fma4 && has_fma) + has_fma4 = 0; has_xop = ecx & bit_XOP; has_tbm = ecx & bit_TBM; has_lzcnt = ecx & bit_LZCNT;