aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/configure.in
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-02-01 03:29:48 +0000
committerAndrew Cagney <cagney@redhat.com>1998-02-01 03:29:48 +0000
commit01737f42d8416c7b155cb84e25d53f73530ad3a3 (patch)
tree320512d5729e4356b9f5a1d43aa765d52705d2bb /sim/mips/configure.in
parent412c4e940ed0380b2a7205327c43175fbf880ec7 (diff)
downloadgdb-01737f42d8416c7b155cb84e25d53f73530ad3a3.zip
gdb-01737f42d8416c7b155cb84e25d53f73530ad3a3.tar.gz
gdb-01737f42d8416c7b155cb84e25d53f73530ad3a3.tar.bz2
mips: Add multi-processor support for r5900. Others might work.
common, igen: Fix MP related bugs.
Diffstat (limited to 'sim/mips/configure.in')
-rw-r--r--sim/mips/configure.in16
1 files changed, 14 insertions, 2 deletions
diff --git a/sim/mips/configure.in b/sim/mips/configure.in
index 710dbe7..9ebf0b4 100644
--- a/sim/mips/configure.in
+++ b/sim/mips/configure.in
@@ -97,6 +97,18 @@ SIM_AC_OPTION_FLOAT($mips_fpu)
#
+# Select the level of SMP support
+#
+case "${target}" in
+# start-sanitize-r5900
+ mips64r59*-*-*) mips_smp=1 ;;
+# end-sanitize-r5900
+ *) mips_smp=0 ;;
+esac
+SIM_AC_OPTION_SMP($mips_smp)
+
+
+#
# Select the IGEN architecture
#
sim_use_gen=NO
@@ -141,8 +153,8 @@ case "${target}" in
*) sim_default_gen=IGEN
;;
esac
-sim_igen_flags="-F ${sim_igen_filter} ${sim_igen_machine}"
-sim_m16_flags=" -F ${sim_m16_filter} ${sim_m16_machine}"
+sim_igen_flags="-F ${sim_igen_filter} ${sim_igen_machine} ${sim_igen_smp}"
+sim_m16_flags=" -F ${sim_m16_filter} ${sim_m16_machine} ${sim_igen_smp}"
AC_SUBST(sim_igen_flags)
AC_SUBST(sim_m16_flags)