From patchwork Mon Oct 10 07:29:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Zissulescu X-Patchwork-Id: 1687932 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=vMl5wa3J; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Mm9XW3hX9z23jn for ; Mon, 10 Oct 2022 18:29:31 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5AA1C385C8B1 for ; Mon, 10 Oct 2022 07:29:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5AA1C385C8B1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665386969; bh=4XlpZBJhxv/P0tb/9TDczdmtaLH5Z0LcsMnO+IzEtcA=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=vMl5wa3JillF8bLPDUQ9Y2dHSmLsd1WtM0X6WrHLbcLL+JVJ4xsdJaIeayu3Gi0Ak ilukcU2jRSrUMCOhW9Aulq1shYim6/eInwpMcBml+DMEl99Tby6YBL8st6XAYHUz0s b9nZrENLmL9xztdXJhd+liRfgzQ1sG4X90oBlw6E= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by sourceware.org (Postfix) with ESMTPS id 435D738582A5 for ; Mon, 10 Oct 2022 07:29:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 435D738582A5 Received: by mail-ej1-x62e.google.com with SMTP id r17so22998759eja.7 for ; Mon, 10 Oct 2022 00:29:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4XlpZBJhxv/P0tb/9TDczdmtaLH5Z0LcsMnO+IzEtcA=; b=ToCzXtdv5MxSzFdNBf3KBddyk1ctQrIvk+3fm2yUeMZeYJfDs3/jtAyEm3o2wJiP9u +MJBXk8caIE6mmCtXdDjvCy2KaaO+rL3LTplvHJce25RNR6Xt5/Jw5oZ76LhVrUmucWv crrHYoDQkUrLa8pKw15fqLkfBYoBP3dGFktQbN9IRHB4Me0iIkasYGDMUjWeSNLOkPW0 B0HvfUcTfAixQYNtciIMNewW6weH3v6mjNaJAwVt7j6I9IVVc/LAc4yLglgq1efcHj7d 2MJ04gOwA2erAI6NJml988SYegZ8c9AvVYFxSqyIq/Ymcq0AnDuKMafoRtni2kJ+KFB8 hYBw== X-Gm-Message-State: ACrzQf2ZSozemVSC8n0l1Ps47QtS1MKSHT6MfPwkimr9kwozcl8pQMc4 sjVRDN8LkabGaJAzZyAgMQbaJJS+fbA= X-Google-Smtp-Source: AMsMyM5fb5w85fneIGc2jYHzX67BDllE3GRJF+PRSJK1ks4ZuWVOtYP3XGaLG6tbRuxNX6E5w57mrA== X-Received: by 2002:a17:907:7e9d:b0:782:3601:7d01 with SMTP id qb29-20020a1709077e9d00b0078236017d01mr13648127ejc.361.1665386947583; Mon, 10 Oct 2022 00:29:07 -0700 (PDT) Received: from fatty.nomansland ([193.187.151.25]) by smtp.gmail.com with ESMTPSA id j1-20020a17090623e100b007317f017e64sm4901913ejg.134.2022.10.10.00.29.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Oct 2022 00:29:07 -0700 (PDT) To: gcc-patches@gcc.gnu.org Subject: [committed 5/5] arc: Remove obsolete mRcq and mRcw options. Date: Mon, 10 Oct 2022 10:29:02 +0300 Message-Id: <20221010072902.3669746-5-claziss@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221010072902.3669746-1-claziss@gmail.com> References: <20221010072902.3669746-1-claziss@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Claudiu Zissulescu via Gcc-patches From: Claudiu Zissulescu Reply-To: Claudiu Zissulescu Cc: fbedard@synopsys.com Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" gcc/ * common/config/arc/arc-common.cc (arc_option_optimization_table): Remove Rcq and Rcw options. * config/arc/arc.opt (mRcq): Ignore option, preserve it for backwards compatibility. (mRcw): Likewise. * doc/invoke.texi (mRcw, mRcq): Update document. Signed-off-by: Claudiu Zissulescu --- gcc/common/config/arc/arc-common.cc | 2 -- gcc/config/arc/arc.opt | 10 ++++++---- gcc/doc/invoke.texi | 8 ++------ 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/gcc/common/config/arc/arc-common.cc b/gcc/common/config/arc/arc-common.cc index e69c4a4fac7..62fe54234e0 100644 --- a/gcc/common/config/arc/arc-common.cc +++ b/gcc/common/config/arc/arc-common.cc @@ -44,8 +44,6 @@ arc_option_init_struct (struct gcc_options *opts ATTRIBUTE_UNUSED) #define OPT_LEVELS_3_PLUS_SPEED_ONLY OPT_LEVELS_3_PLUS static const struct default_options arc_option_optimization_table[] = { - { OPT_LEVELS_ALL, OPT_mRcq, NULL, 1 }, - { OPT_LEVELS_ALL, OPT_mRcw, NULL, 1 }, { OPT_LEVELS_ALL, OPT_msize_level_, NULL, 1 }, { OPT_LEVELS_ALL, OPT_mearly_cbranchsi, NULL, 1 }, { OPT_LEVELS_ALL, OPT_mbbit_peephole, NULL, 1 }, diff --git a/gcc/config/arc/arc.opt b/gcc/config/arc/arc.opt index 0add5a2a21f..b58273255f7 100644 --- a/gcc/config/arc/arc.opt +++ b/gcc/config/arc/arc.opt @@ -308,12 +308,14 @@ Target Ignore Does nothing. Preserved for backward compatibility. mRcq -Target Var(TARGET_Rcq) -Enable Rcq constraint handling - most short code generation depends on this. +Target Ignore +Does nothing. Preserved for backward compatibility. + mRcw -Target Var(TARGET_Rcw) -Enable Rcw constraint handling - ccfsm condexec mostly depends on this. +Target Ignore +Does nothing. Preserved for backward compatibility. + mearly-cbranchsi Target Var(TARGET_EARLY_CBRANCHSI) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 1eeaec18810..278c55d5a19 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -20896,15 +20896,11 @@ This is the default for @option{-Os}. @item -mRcq @opindex mRcq -Enable @samp{Rcq} constraint handling. -Most short code generation depends on this. -This is the default. +Does nothing. Preserved for backward compatibility. @item -mRcw @opindex mRcw -Enable @samp{Rcw} constraint handling. -Most ccfsm condexec mostly depends on this. -This is the default. +Does nothing. Preserved for backward compatibility. @item -msize-level=@var{level} @opindex msize-level