From patchwork Tue Jan 4 18:38:58 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Fang, Changpeng" X-Patchwork-Id: 77510 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 07ABBB710C for ; Wed, 5 Jan 2011 05:43:16 +1100 (EST) Received: (qmail 14232 invoked by alias); 4 Jan 2011 18:43:15 -0000 Received: (qmail 14220 invoked by uid 22791); 4 Jan 2011 18:43:14 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, TW_BD X-Spam-Check-By: sourceware.org Received: from am1ehsobe001.messaging.microsoft.com (HELO AM1EHSOBE001.bigfish.com) (213.199.154.204) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 04 Jan 2011 18:43:10 +0000 Received: from mail20-am1-R.bigfish.com (10.3.201.252) by AM1EHSOBE001.bigfish.com (10.3.204.21) with Microsoft SMTP Server id 14.1.225.8; Tue, 4 Jan 2011 18:43:06 +0000 Received: from mail20-am1 (localhost.localdomain [127.0.0.1]) by mail20-am1-R.bigfish.com (Postfix) with ESMTP id BB0081240489 for ; Tue, 4 Jan 2011 18:43:06 +0000 (UTC) X-SpamScore: -3 X-BigFish: VPS-3(zz4015Lzz1202hzzz32i668h34h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:ausb3twp01.amd.com; RD:none; EFVD:NLI Received: from mail20-am1 (localhost.localdomain [127.0.0.1]) by mail20-am1 (MessageSwitch) id 1294166586552787_10208; Tue, 4 Jan 2011 18:43:06 +0000 (UTC) Received: from AM1EHSMHS006.bigfish.com (unknown [10.3.201.244]) by mail20-am1.bigfish.com (Postfix) with ESMTP id 7BB571880059 for ; Tue, 4 Jan 2011 18:43:06 +0000 (UTC) Received: from ausb3twp01.amd.com (163.181.249.108) by AM1EHSMHS006.bigfish.com (10.3.207.106) with Microsoft SMTP Server id 14.1.225.8; Tue, 4 Jan 2011 18:43:05 +0000 X-M-MSG: Received: from sausexedgep01.amd.com (sausexedgep01-ext.amd.com [163.181.249.72]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ausb3twp01.amd.com (Tumbleweed MailGate 3.7.2) with ESMTP id 2753910289BA for ; Tue, 4 Jan 2011 12:42:59 -0600 (CST) Received: from sausexhtp02.amd.com (163.181.3.152) by sausexedgep01.amd.com (163.181.36.54) with Microsoft SMTP Server (TLS) id 8.3.106.1; Tue, 4 Jan 2011 12:46:11 -0600 Received: from SAUSEXMBP01.amd.com ([163.181.3.198]) by sausexhtp02.amd.com ([163.181.3.152]) with mapi; Tue, 4 Jan 2011 12:43:03 -0600 From: "Fang, Changpeng" To: "gcc-patches@gcc.gnu.org" Date: Tue, 4 Jan 2011 12:38:58 -0600 Subject: [PATCH i386] Drop 3DNow support for Bulldozer processors (bdver1) Message-ID: MIME-Version: 1.0 X-OriginatorOrg: amd.com 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, Bulldozer and future AMD processors no longer support 3DNow instructions. This patch removes 3DNow from the bdver1-supported instruction sets. Is it OK to commit to trunk? Thanks, Changpeng From 57179c83f774338b35db2ef1b903ca32223927ff Mon Sep 17 00:00:00 2001 From: Changpeng Fang Date: Mon, 3 Jan 2011 15:34:22 -0800 Subject: [PATCH] Remove 3DNow instructions from the bdver1-supported instruction sets * config/i386/i386.c (ix86_option_override_internal): Bulldozer processors do not support 3DNow instructions. --- gcc/config/i386/i386.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 50dac35..2a31d3c 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -3256,10 +3256,10 @@ ix86_option_override_internal (bool main_args_p) PTA_64BIT | PTA_MMX | PTA_3DNOW | PTA_3DNOW_A | PTA_SSE | PTA_SSE2 | PTA_SSE3 | PTA_SSE4A | PTA_CX16 | PTA_ABM}, {"bdver1", PROCESSOR_BDVER1, CPU_BDVER1, - PTA_64BIT | PTA_MMX | PTA_3DNOW | PTA_3DNOW_A | PTA_SSE - | PTA_SSE2 | PTA_SSE3 | PTA_SSE4A | PTA_CX16 | PTA_ABM - | PTA_SSSE3 | PTA_SSE4_1 | PTA_SSE4_2 | PTA_AES - | PTA_PCLMUL | PTA_AVX | PTA_FMA4 | PTA_XOP | PTA_LWP}, + PTA_64BIT | PTA_MMX | PTA_SSE | PTA_SSE2 | PTA_SSE3 + | PTA_SSE4A | PTA_CX16 | PTA_ABM | PTA_SSSE3 | PTA_SSE4_1 + | PTA_SSE4_2 | PTA_AES | PTA_PCLMUL | PTA_AVX | PTA_FMA4 + | PTA_XOP | PTA_LWP}, {"generic32", PROCESSOR_GENERIC32, CPU_PENTIUMPRO, 0 /* flags are only used for -march switch. */ }, {"generic64", PROCESSOR_GENERIC64, CPU_GENERIC64, -- 1.6.3.3