SIM_AC_OPTION_WARNINGS
-# Ensure a reasonable default simulator is constructed:
+# Ensure a reasonable default simulator is constructed: (DEPRECATED)
case "${target}" in
# start-sanitize-tx19
mipstx19*-*-*) SIMCONF="-mips1 -mcpu=r1900 -mno-fp --warnings";;
esac
AC_SUBST(SIMCONF)
+# DEPRECATED
case "${target}" in
# start-sanitize-tx19
mipstx19*-*-*) SIM_SUBTARGET="-DSUBTARGET_R3900=1";;
AC_SUBST(SIM_SUBTARGET)
+
#
# Select the byte order of the target
#
SIM_AC_OPTION_ENDIAN($mips_endian,$default_endian)
+
#
# Select the bitsize of the target
#
SIM_AC_OPTION_BITSIZE($mips_bitsize,$mips_msb)
+
#
# Select the floating hardware support of the target
#
SIM_AC_OPTION_FLOAT($mips_fpu)
+
#
# Select the level of SMP support
#
SIM_AC_OPTION_SMP($mips_smp)
+
#
# Select the IGEN architecture
#
sim_m16_machine="-M mips16"
sim_igen_filter="32,64,f"
sim_m16_filter="16"
-
case "${target}" in
# start-sanitize-tx19
mipstx19*-*-*) sim_default_gen=M16
sim_igen_machine="-M vr5000,vr5400 -G gen-multi-sim=vr5000"
# end-sanitize-vr5400
;;
+ mips64*-*-*) sim_default_gen=IGEN
+ sim_igen_filter="32,64,f"
+ sim_use_gen=IGEN
+ ;;
mips16*-*-*) sim_default_gen=M16
+ sim_igen_filter="32,64,f"
+ sim_m16_filter="16"
;;
- mips32*-*-*) sim_default_gen=IGEN
+ mips*-*-*) sim_default_gen=IGEN
sim_igen_filter="32,f"
- ;;
- *) sim_default_gen=IGEN
+ sim_use_gen=IGEN
;;
esac
sim_igen_flags="-F ${sim_igen_filter} ${sim_igen_machine} ${sim_igen_smp}"
AC_SUBST(sim_igen_flags)
AC_SUBST(sim_m16_flags)
+
+
#
# Enable igen
#