forked from Imagelibrary/binutils-gdb
sim: mips: move fpu bitsize defines to top-level configure
This drops support for the --enable-sim-float configure option, but it's not clear anyone ever actually used that. Eventually we'll want this to be a runtime option anyways.
This commit is contained in:
28
sim/configure
vendored
28
sim/configure
vendored
@@ -641,6 +641,7 @@ LTLIBOBJS
|
||||
include_makefile
|
||||
SIM_RX_CYCLE_ACCURATE_FLAGS
|
||||
SIM_RISCV_BITSIZE
|
||||
SIM_MIPS_FPU_BITSIZE
|
||||
SIM_MIPS_BITSIZE
|
||||
SIM_MIPS_SUBTARGET
|
||||
SIM_FRV_TRAPDUMP_FLAGS
|
||||
@@ -12433,7 +12434,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12436 "configure"
|
||||
#line 12437 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@@ -12539,7 +12540,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12542 "configure"
|
||||
#line 12543 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@@ -16327,6 +16328,29 @@ esac
|
||||
$as_echo "$SIM_MIPS_BITSIZE" >&6; }
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking mips fpu bitsize" >&5
|
||||
$as_echo_n "checking mips fpu bitsize... " >&6; }
|
||||
SIM_MIPS_FPU_BITSIZE=64
|
||||
case ${target} in #(
|
||||
mips*tx39*) :
|
||||
SIM_MIPS_FPU_BITSIZE=32 ;; #(
|
||||
mips*-sde-elf*) :
|
||||
SIM_MIPS_FPU_BITSIZE=64 ;; #(
|
||||
mips*-mti-elf*) :
|
||||
SIM_MIPS_FPU_BITSIZE=64 ;; #(
|
||||
mipsisa32*-*-*) :
|
||||
SIM_MIPS_FPU_BITSIZE=64 ;; #(
|
||||
mipsisa64*-*-*) :
|
||||
SIM_MIPS_FPU_BITSIZE=64 ;; #(
|
||||
mips*-*-*) :
|
||||
SIM_MIPS_FPU_BITSIZE=32 ;; #(
|
||||
*) :
|
||||
;;
|
||||
esac
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SIM_MIPS_FPU_BITSIZE" >&5
|
||||
$as_echo "$SIM_MIPS_FPU_BITSIZE" >&6; }
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking riscv bitsize" >&5
|
||||
$as_echo_n "checking riscv bitsize... " >&6; }
|
||||
SIM_RISCV_BITSIZE=64
|
||||
|
||||
Reference in New Issue
Block a user