#
# Select the floating hardware support of the target
#
-mips_fpu=HARDWARE_FLOATING_POINT
mips_fpu_bitsize=
case "${target}" in
- mips*tx39*) mips_fpu=HARD_FLOATING_POINT ; mips_fpu_bitsize=32 ;;
- mips*-sde-elf*) mips_fpu=HARD_FLOATING_POINT ; mips_fpu_bitsize=64 ;;
- mips*-mti-elf*) mips_fpu=HARD_FLOATING_POINT ; mips_fpu_bitsize=64 ;;
- mips64*-*-*) mips_fpu=HARD_FLOATING_POINT ;;
- mips16*-*-*) mips_fpu=HARD_FLOATING_POINT ;;
- mipsisa32*-*-*) mips_fpu=HARD_FLOATING_POINT ; mips_fpu_bitsize=64 ;;
- mipsisa64*-*-*) mips_fpu=HARD_FLOATING_POINT ; mips_fpu_bitsize=64 ;;
- mips*-*-*) mips_fpu=HARD_FLOATING_POINT ; mips_fpu_bitsize=32 ;;
- *) mips_fpu=HARD_FLOATING_POINT ;;
+ mips*tx39*) mips_fpu_bitsize=32 ;;
+ mips*-sde-elf*) mips_fpu_bitsize=64 ;;
+ mips*-mti-elf*) mips_fpu_bitsize=64 ;;
+ mipsisa32*-*-*) mips_fpu_bitsize=64 ;;
+ mipsisa64*-*-*) mips_fpu_bitsize=64 ;;
+ mips*-*-*) mips_fpu_bitsize=32 ;;
esac
-default_sim_float="$mips_fpu"
+default_sim_float="HARD_FLOATING_POINT"
default_sim_float_bitsize="$mips_fpu_bitsize"
# Check whether --enable-sim-float was given.
if test "${enable_sim_float+set}" = set; then :
#
# Select the floating hardware support of the target
#
-mips_fpu=HARDWARE_FLOATING_POINT
mips_fpu_bitsize=
case "${target}" in
- mips*tx39*) mips_fpu=HARD_FLOATING_POINT ; mips_fpu_bitsize=32 ;;
- mips*-sde-elf*) mips_fpu=HARD_FLOATING_POINT ; mips_fpu_bitsize=64 ;;
- mips*-mti-elf*) mips_fpu=HARD_FLOATING_POINT ; mips_fpu_bitsize=64 ;;
- mips64*-*-*) mips_fpu=HARD_FLOATING_POINT ;;
- mips16*-*-*) mips_fpu=HARD_FLOATING_POINT ;;
- mipsisa32*-*-*) mips_fpu=HARD_FLOATING_POINT ; mips_fpu_bitsize=64 ;;
- mipsisa64*-*-*) mips_fpu=HARD_FLOATING_POINT ; mips_fpu_bitsize=64 ;;
- mips*-*-*) mips_fpu=HARD_FLOATING_POINT ; mips_fpu_bitsize=32 ;;
- *) mips_fpu=HARD_FLOATING_POINT ;;
+ mips*tx39*) mips_fpu_bitsize=32 ;;
+ mips*-sde-elf*) mips_fpu_bitsize=64 ;;
+ mips*-mti-elf*) mips_fpu_bitsize=64 ;;
+ mipsisa32*-*-*) mips_fpu_bitsize=64 ;;
+ mipsisa64*-*-*) mips_fpu_bitsize=64 ;;
+ mips*-*-*) mips_fpu_bitsize=32 ;;
esac
-SIM_AC_OPTION_FLOAT($mips_fpu,$mips_fpu_bitsize)
+SIM_AC_OPTION_FLOAT(HARD_FLOATING_POINT,$mips_fpu_bitsize)