sim: mips: merge mips64* with existing multi-run build
authorMike Frysinger <vapier@gentoo.org>
Fri, 11 Nov 2022 16:58:23 +0000 (23:58 +0700)
committerMike Frysinger <vapier@gentoo.org>
Fri, 23 Dec 2022 02:24:09 +0000 (21:24 -0500)
Change the default (unhandled) mips64* targets to use the existing
mips64 multi-run build.  It already handles the formats, we just
have to list the mips8000 bfd for it.

sim/mips/configure
sim/mips/configure.ac

index 7975665d1ca39da5a32ba4329bde37a28ffb393b..36c9bfd18cae3e89a3d4cf4b3ab45ae95c690973 100755 (executable)
@@ -1853,12 +1853,12 @@ case "${target}" in
                        sim_igen_filter="32,64,f"
                        sim_m16_filter="16"
                         ;;
-  mips64vr43* | mips64vr5* | mips64vr-* | mips64vrel-*)
+  mips64*)
                        sim_gen=MULTI
                        sim_multi_configs="\
                          vr4100:mipsIII,mips16,vr4100:32,64:mips4100,mips4111\
                          vr4120:mipsIII,mips16,vr4120:32,64:mips4120\
-                         vr5000:mipsIV:32,64,f:mips4300,mips5000\
+                         vr5000:mipsIV:32,64,f:mips4300,mips5000,mips8000\
                          vr5400:mipsIV,vr5400:32,64,f:mips5400\
                          vr5500:mipsIV,vr5500:32,64,f:mips5500"
                        sim_multi_default=mips5000
@@ -1871,9 +1871,6 @@ case "${target}" in
                          mipsisa64r6:mips64r6:32,64,f:mipsisa32r6,mipsisa64r6"
                        sim_multi_default=mipsisa64r2
                        ;;
-  mips64*)             sim_igen_filter="32,64,f"
-                       sim_gen=IGEN
-                       ;;
   mips16*)             sim_gen=M16
                        sim_igen_filter="32,64,f"
                        sim_m16_filter="16"
index 56b7a91a6b606bca61a71ce3dec6bf275a3bc40c..96a57f3ba241edf0ab6b6d2c2ba97105398610fc 100644 (file)
@@ -26,12 +26,12 @@ case "${target}" in
                        sim_igen_filter="32,64,f"
                        sim_m16_filter="16"
                         ;;
-  mips64vr43* | mips64vr5* | mips64vr-* | mips64vrel-*)
+  mips64*)
                        sim_gen=MULTI
                        sim_multi_configs="\
                          vr4100:mipsIII,mips16,vr4100:32,64:mips4100,mips4111\
                          vr4120:mipsIII,mips16,vr4120:32,64:mips4120\
-                         vr5000:mipsIV:32,64,f:mips4300,mips5000\
+                         vr5000:mipsIV:32,64,f:mips4300,mips5000,mips8000\
                          vr5400:mipsIV,vr5400:32,64,f:mips5400\
                          vr5500:mipsIV,vr5500:32,64,f:mips5500"
                        sim_multi_default=mips5000
@@ -44,9 +44,6 @@ case "${target}" in
                          mipsisa64r6:mips64r6:32,64,f:mipsisa32r6,mipsisa64r6"
                        sim_multi_default=mipsisa64r2
                        ;;
-  mips64*)             sim_igen_filter="32,64,f"
-                       sim_gen=IGEN
-                       ;;
   mips16*)             sim_gen=M16
                        sim_igen_filter="32,64,f"
                        sim_m16_filter="16"