public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] sim: mips: merge mips64vr4300 with existing multi-run build
@ 2022-12-22  3:45 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2022-12-22  3:45 UTC (permalink / raw)
  To: gdb-patches

The existing mips64vr-* multi-run build already handles mips4300
targets, so reuse that for mips64vr43* targets too.  This moves
more logic from build-time to runtime so we can have a single
binary that supports many targets.
---
 sim/mips/configure    | 5 +----
 sim/mips/configure.ac | 5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/sim/mips/configure b/sim/mips/configure
index 80963681d4ef..bc762fc04f84 100755
--- a/sim/mips/configure
+++ b/sim/mips/configure
@@ -1847,9 +1847,6 @@ case "${target}" in
 			sim_igen_filter="32,f"
 			sim_igen_machine="-M r3900"
 			;;
-  mips64vr43*)		sim_gen=IGEN
-			sim_igen_machine="-M mipsIV"
-			;;
   mips64vr5*)		sim_gen=IGEN
 			sim_igen_machine="-M vr5000"
 			;;
@@ -1859,7 +1856,7 @@ case "${target}" in
 			sim_igen_filter="32,64,f"
 			sim_m16_filter="16"
                         ;;
-  mips64vr-* | mips64vrel-*)
+  mips64vr43* | mips64vr-* | mips64vrel-*)
 			sim_gen=MULTI
 			sim_multi_configs="\
 			  vr4100:mipsIII,mips16,vr4100:32,64:mips4100,mips4111\
diff --git a/sim/mips/configure.ac b/sim/mips/configure.ac
index bdea84e821cd..a09e9a14c798 100644
--- a/sim/mips/configure.ac
+++ b/sim/mips/configure.ac
@@ -20,9 +20,6 @@ case "${target}" in
 			sim_igen_filter="32,f"
 			sim_igen_machine="-M r3900"
 			;;
-  mips64vr43*)		sim_gen=IGEN
-			sim_igen_machine="-M mipsIV"
-			;;
   mips64vr5*)		sim_gen=IGEN
 			sim_igen_machine="-M vr5000"
 			;;
@@ -32,7 +29,7 @@ case "${target}" in
 			sim_igen_filter="32,64,f"
 			sim_m16_filter="16"
                         ;;
-  mips64vr-* | mips64vrel-*)
+  mips64vr43* | mips64vr-* | mips64vrel-*)
 			sim_gen=MULTI
 			sim_multi_configs="\
 			  vr4100:mipsIII,mips16,vr4100:32,64:mips4100,mips4111\
-- 
2.39.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-22  3:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-22  3:45 [PATCH] sim: mips: merge mips64vr4300 with existing multi-run build Mike Frysinger

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).