public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH] sim: mips: trim redundant igen settings
Date: Thu, 22 Dec 2022 21:29:24 -0500	[thread overview]
Message-ID: <20221223022924.24507-1-vapier@gentoo.org> (raw)

These variables are setting the same value as the defaults.  Trim
this redundant logic to make it easier to see the real differences
so we can try to keep unifying cases.
---
 sim/mips/configure    | 9 ---------
 sim/mips/configure.ac | 9 ---------
 2 files changed, 18 deletions(-)

diff --git a/sim/mips/configure b/sim/mips/configure
index 36c9bfd18cae..8d802ac6efde 100755
--- a/sim/mips/configure
+++ b/sim/mips/configure
@@ -1850,8 +1850,6 @@ case "${target}" in
   mips64vr41*)		sim_gen=M16
 			sim_igen_machine="-M vr4100"
 			sim_m16_machine="-M vr4100"
-			sim_igen_filter="32,64,f"
-			sim_m16_filter="16"
                         ;;
   mips64*)
 			sim_gen=MULTI
@@ -1872,8 +1870,6 @@ case "${target}" in
 			sim_multi_default=mipsisa64r2
 			;;
   mips16*)		sim_gen=M16
-			sim_igen_filter="32,64,f"
-			sim_m16_filter="16"
 			;;
   mipsisa32r2*)		sim_gen=MULTI
 			sim_multi_configs="\
@@ -1893,26 +1889,21 @@ case "${target}" in
   mipsisa64r2*)		sim_gen=M16
 			sim_igen_machine="-M mips64r2,mips3d,mips16,mips16e,mdmx,dsp,dsp2"
 			sim_m16_machine="-M mips16,mips16e,mips64r2"
-			sim_igen_filter="32,64,f"
 			;;
   mipsisa64r6*)		sim_gen=IGEN
 			sim_igen_machine="-M mips64r6"
-			sim_igen_filter="32,64,f"
 			;;
   mipsisa64sb1*)	sim_gen=IGEN
 			sim_igen_machine="-M mips64,mips3d,sb1"
-			sim_igen_filter="32,64,f"
 			;;
   mipsisa64*)		sim_gen=M16
 			sim_igen_machine="-M mips64,mips3d,mips16,mips16e,mdmx"
 			sim_m16_machine="-M mips16,mips16e,mips64"
-			sim_igen_filter="32,64,f"
 			;;
   mips*lsi*)		sim_gen=M16
 			sim_igen_machine="-M mipsIII,mips16"
 			sim_m16_machine="-M mips16,mipsIII"
 			sim_igen_filter="32,f"
-			sim_m16_filter="16"
 			;;
   mips*)		sim_gen=IGEN
 			sim_igen_filter="32,f"
diff --git a/sim/mips/configure.ac b/sim/mips/configure.ac
index 96a57f3ba241..a015fcdbda84 100644
--- a/sim/mips/configure.ac
+++ b/sim/mips/configure.ac
@@ -23,8 +23,6 @@ case "${target}" in
   mips64vr41*)		sim_gen=M16
 			sim_igen_machine="-M vr4100"
 			sim_m16_machine="-M vr4100"
-			sim_igen_filter="32,64,f"
-			sim_m16_filter="16"
                         ;;
   mips64*)
 			sim_gen=MULTI
@@ -45,8 +43,6 @@ case "${target}" in
 			sim_multi_default=mipsisa64r2
 			;;
   mips16*)		sim_gen=M16
-			sim_igen_filter="32,64,f"
-			sim_m16_filter="16"
 			;;
   mipsisa32r2*)		sim_gen=MULTI
 			sim_multi_configs="\
@@ -66,26 +62,21 @@ case "${target}" in
   mipsisa64r2*)		sim_gen=M16
 			sim_igen_machine="-M mips64r2,mips3d,mips16,mips16e,mdmx,dsp,dsp2"
 			sim_m16_machine="-M mips16,mips16e,mips64r2"
-			sim_igen_filter="32,64,f"
 			;;
   mipsisa64r6*)		sim_gen=IGEN
 			sim_igen_machine="-M mips64r6"
-			sim_igen_filter="32,64,f"
 			;;
   mipsisa64sb1*)	sim_gen=IGEN
 			sim_igen_machine="-M mips64,mips3d,sb1"
-			sim_igen_filter="32,64,f"
 			;;
   mipsisa64*)		sim_gen=M16
 			sim_igen_machine="-M mips64,mips3d,mips16,mips16e,mdmx"
 			sim_m16_machine="-M mips16,mips16e,mips64"
-			sim_igen_filter="32,64,f"
 			;;
   mips*lsi*)		sim_gen=M16
 			sim_igen_machine="-M mipsIII,mips16"
 			sim_m16_machine="-M mips16,mipsIII"
 			sim_igen_filter="32,f"
-			sim_m16_filter="16"
 			;;
   mips*)		sim_gen=IGEN
 			sim_igen_filter="32,f"
-- 
2.39.0


                 reply	other threads:[~2022-12-23  2:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221223022924.24507-1-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).