Separate r5900 specifoc and mips16 instructions.

Add support for this to configure (vr5400 target only)
This commit is contained in:
Andrew Cagney
1997-10-27 07:55:24 +00:00
parent 90ad43b2de
commit 16bd5d6e52
9 changed files with 2770 additions and 5179 deletions

View File

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