From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x62e.google.com with SMTP id r17so22998759eja.7 for ; Mon, 10 Oct 2022 00:29:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4XlpZBJhxv/P0tb/9TDczdmtaLH5Z0LcsMnO+IzEtcA=; b=Z43ekh+yXuqUzJ5dmngQ42p5WmQmDkAUbOibrHYPigu+nxOQ1pij5e5kOO1eQ5ScBL AGFnryyb6U779bfJN8mFJrHr3AzRvxYocFijDkiud79GgHxUCWt7moNFl/qwymvXktAK zmzlMovLKZ9W8GO5h7fAyd82NkzXhFk3YzBGFUo9L+3S95ZsRhz97sZDh2/G+cuUeM+W C1E65gnsqa9LHGPA/QGqRcLfPeIb1ZLwu5Hhg3h7kHAgAFTynT4Joi068ZgHuZZDs6M9 cBCMP4Azn14klbEvcmlN3LdnA/BIazdL6p2VobEbwW25ZNdfa44ucXsLe0KGb6duSRy7 ShSA== 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) From: Claudiu Zissulescu To: gcc-patches@gcc.gnu.org Cc: fbedard@synopsys.com 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 Content-Transfer-Encoding: 8bit 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 List-Id: 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 -- 2.30.2