From patchwork Tue Jun 6 15:56:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Segher Boessenkool X-Patchwork-Id: 771928 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3whxHH1v2fz9s74 for ; Wed, 7 Jun 2017 02:00:43 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="qu9dfBpV"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; q=dns; s=default; b=XJ4/U4H2bwuuSys+ZdI NCqIRdlpffQ1qySKiNJsBTVcCfKhG4G5o0cnLFFmQNhZLeNB04cxbQ/zdFVwC/vi fnV95aAelnNIBRq3KNIILagAXdjGQINyIX6R4RcgdjU+Zz3wLnsVNyp4Lg28prHY tbmrcGYiHxmbL0mUO5uiVsUI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; s=default; bh=tZbFCH+hv1Tbbt6GIFOVqp3zt KI=; b=qu9dfBpV5bqjnhOOhZvC5P31d/UiVUW3lkCO/LMxFk78kfnWRj0OtogDc lCAUmK60iU74NMTH0jmnY5SeV/2lV3PoNA6DofrXzSzA4fDtvEZ//1HOTw86DiG9 IDvLMnViERWsbswL4YfC7rLLXXYZA6xiDRE89De7/nQfums0hY= Received: (qmail 53833 invoked by alias); 6 Jun 2017 15:58:11 -0000 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 Received: (qmail 53438 invoked by uid 89); 6 Jun 2017 15:58:10 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-23.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=ASAP, representative X-HELO: gcc1-power7.osuosl.org Received: from gcc1-power7.osuosl.org (HELO gcc1-power7.osuosl.org) (140.211.15.137) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 06 Jun 2017 15:58:08 +0000 Received: by gcc1-power7.osuosl.org (Postfix, from userid 10019) id 6FA571C06BC; Tue, 6 Jun 2017 15:58:11 +0000 (UTC) From: Segher Boessenkool To: gcc-patches@gcc.gnu.org Cc: dje.gcc@gmail.com, Segher Boessenkool Subject: [PATCH 08/14] rs6000: Remove -mspe options Date: Tue, 6 Jun 2017 15:56:24 +0000 Message-Id: <587ec43111703cadfa9dde678d250f009e1f4c72.1496745183.git.segher@kernel.crashing.org> In-Reply-To: References: In-Reply-To: References: X-IsSubscribed: yes 2017-06-06 Segher Boessenkool * config/rs6000/rs6000.c (rs6000_option_override_internal): Delete handling of SPE flags. * config/rs6000/rs6000.opt (-mspe, -mspe=no, -mspe=yes): Delete. --- gcc/config/rs6000/rs6000.c | 18 ------------------ gcc/config/rs6000/rs6000.opt | 12 ------------ 2 files changed, 30 deletions(-) diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index a2bf968..89f9fc2 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -4146,24 +4146,6 @@ rs6000_option_override_internal (bool global_init_p) gcc_assert (tune_index >= 0); rs6000_cpu = processor_target_table[tune_index].processor; - /* Pick defaults for SPE related control flags. Do this early to make sure - that the TARGET_ macros are representative ASAP. */ - { - int spe_capable_cpu = - (rs6000_cpu == PROCESSOR_PPC8540 - || rs6000_cpu == PROCESSOR_PPC8548); - - if (!global_options_set.x_rs6000_spe) - rs6000_spe = spe_capable_cpu; - } - - if (global_options_set.x_rs6000_spe && rs6000_spe) - error ("not configured for SPE instruction set"); - - if (main_target_opt != NULL - && main_target_opt->x_rs6000_spe != rs6000_spe) - error ("target attribute or pragma changes SPE ABI"); - if (rs6000_cpu == PROCESSOR_PPCE300C2 || rs6000_cpu == PROCESSOR_PPCE300C3 || rs6000_cpu == PROCESSOR_PPCE500MC || rs6000_cpu == PROCESSOR_PPCE500MC64 || rs6000_cpu == PROCESSOR_PPCE5500) diff --git a/gcc/config/rs6000/rs6000.opt b/gcc/config/rs6000/rs6000.opt index a1a7753..28d8993 100644 --- a/gcc/config/rs6000/rs6000.opt +++ b/gcc/config/rs6000/rs6000.opt @@ -353,22 +353,10 @@ misel=yes Target RejectNegative Alias(misel) Deprecated option. Use -misel instead. -mspe -Target Var(rs6000_spe) Save -Generate SPE SIMD instructions on E500. - mpaired Target Var(rs6000_paired_float) Save Generate PPC750CL paired-single instructions. -mspe=no -Target RejectNegative Alias(mspe) NegativeAlias -Deprecated option. Use -mno-spe instead. - -mspe=yes -Target RejectNegative Alias(mspe) -Deprecated option. Use -mspe instead. - mdebug= Target RejectNegative Joined -mdebug= Enable debug output.