aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'sim/mips/configure.in')
-rw-r--r--sim/mips/configure.in18
1 files changed, 15 insertions, 3 deletions
diff --git a/sim/mips/configure.in b/sim/mips/configure.in
index c98b231..49f0af6 100644
--- a/sim/mips/configure.in
+++ b/sim/mips/configure.in
@@ -95,20 +95,32 @@ SIM_AC_OPTION_FLOAT($mips_fpu)
# Select the sim generator & architecture
#
sim_gen=NO
+sim_igen_flags="-F 32,64,f -M mipsIV"
+sim_m16_flags="-F 16 -M mips16"
+
case "${target}" in
# start-sanitize-tx19
- mipstx19*-*-*) sim_gen=M16 ;;
+# mipstx19*-*-*) sim_gen=M16
+# sim_igen_flags="-F 32,64,f -M tx19"
+# sim_m16_flags="-F 16 -M tx19"
+# ;;
# end-sanitize-tx19
# start-sanitize-r5900
-# mips64r59*-*-*) sim_gen=IGEN ;;
+# mips64r59*-*-*) sim_gen=IGEN
+# sim_igen_flags="-F 32,64,f -M r5900"
+# ;;
# end-sanitize-r5900
# start-sanitize-vr5400
- mips64vr54*-*-*) sim_gen=IGEN ;;
+ mips64vr54*-*-*) sim_gen=IGEN
+ sim_igen_flags="-F 32,64,f -M vr5400"
+ ;;
# end-sanitize-vr5400
# mips16*-*-*) sim_gen=M16 ;;
*) sim_gen=NO ;;
esac
AC_SUBST(sim_gen)
+AC_SUBST(sim_igen_flags)
+AC_SUBST(sim_m16_flags)
AC_CHECK_HEADERS(string.h strings.h stdlib.h stdlib.h)