diff options
author | Andrew Waterman <waterman@eecs.berkeley.edu> | 2014-01-25 18:31:32 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@eecs.berkeley.edu> | 2014-01-25 18:31:32 -0800 |
commit | 017f62ac55a9514d12d47cf608f7f5ca6c1d4973 (patch) | |
tree | b59791f1fc9322b5c60b75815c244e00a2f33596 | |
parent | 287a1f87ca850b3583c27a1f178aaee28e02f2df (diff) | |
download | riscv-isa-sim-017f62ac55a9514d12d47cf608f7f5ca6c1d4973.zip riscv-isa-sim-017f62ac55a9514d12d47cf608f7f5ca6c1d4973.tar.gz riscv-isa-sim-017f62ac55a9514d12d47cf608f7f5ca6c1d4973.tar.bz2 |
Merge softfloat_riscv into softfloat
They really aren't independent libraries.
-rwxr-xr-x | configure | 46 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | riscv/riscv.mk.in | 1 | ||||
-rwxr-xr-x | softfloat/platform.h (renamed from softfloat_riscv/platform.h) | 0 | ||||
-rwxr-xr-x | softfloat/s_commonNaNToF32UI.c (renamed from softfloat_riscv/s_commonNaNToF32UI.c) | 0 | ||||
-rwxr-xr-x | softfloat/s_commonNaNToF64UI.c (renamed from softfloat_riscv/s_commonNaNToF64UI.c) | 0 | ||||
-rwxr-xr-x | softfloat/s_f32UIToCommonNaN.c (renamed from softfloat_riscv/s_f32UIToCommonNaN.c) | 0 | ||||
-rwxr-xr-x | softfloat/s_f64UIToCommonNaN.c (renamed from softfloat_riscv/s_f64UIToCommonNaN.c) | 0 | ||||
-rwxr-xr-x | softfloat/s_isSigNaNF32UI.c (renamed from softfloat_riscv/s_isSigNaNF32UI.c) | 0 | ||||
-rwxr-xr-x | softfloat/s_isSigNaNF64UI.c (renamed from softfloat_riscv/s_isSigNaNF64UI.c) | 0 | ||||
-rwxr-xr-x | softfloat/s_propagateNaNF32UI.c (renamed from softfloat_riscv/s_propagateNaNF32UI.c) | 0 | ||||
-rwxr-xr-x | softfloat/s_propagateNaNF64UI.c (renamed from softfloat_riscv/s_propagateNaNF64UI.c) | 0 | ||||
-rw-r--r-- | softfloat/softfloat.mk.in | 13 | ||||
-rwxr-xr-x | softfloat/softfloat_raiseFlags.c (renamed from softfloat_riscv/softfloat_raiseFlags.c) | 0 | ||||
-rwxr-xr-x | softfloat/softfloat_types.h (renamed from softfloat_riscv/softfloat_types.h) | 0 | ||||
-rwxr-xr-x | softfloat/specialize.h (renamed from softfloat_riscv/specialize.h) | 0 | ||||
-rw-r--r-- | softfloat_riscv/softfloat_riscv.ac | 0 | ||||
-rw-r--r-- | softfloat_riscv/softfloat_riscv.mk.in | 21 |
18 files changed, 13 insertions, 70 deletions
@@ -4358,51 +4358,6 @@ $as_echo "#define SOFTFLOAT_ENABLED /**/" >>confdefs.h - # Determine if this is a required or an optional subproject - - - - # Determine if there is a group with the same name - - - - # Create variations of the subproject name suitable for use as a CPP - # enabled define, a shell enabled variable, and a shell function - - - - - - - - - - - - # Add subproject to our running list - - subprojects="$subprojects softfloat_riscv" - - # Process the subproject appropriately. If enabled add it to the - # $enabled_subprojects running shell variable, set a - # SUBPROJECT_ENABLED C define, and include the appropriate - # 'subproject.ac'. - - - { $as_echo "$as_me:${as_lineno-$LINENO}: configuring default subproject : softfloat_riscv" >&5 -$as_echo "$as_me: configuring default subproject : softfloat_riscv" >&6;} - ac_config_files="$ac_config_files softfloat_riscv.mk:softfloat_riscv/softfloat_riscv.mk.in" - - enable_softfloat_riscv_sproj="yes" - subprojects_enabled="$subprojects_enabled softfloat_riscv" - -$as_echo "#define SOFTFLOAT_RISCV_ENABLED /**/" >>confdefs.h - - - - - - # Output make variables @@ -5134,7 +5089,6 @@ do "riscv.mk") CONFIG_FILES="$CONFIG_FILES riscv.mk:riscv/riscv.mk.in" ;; "hwacha.mk") CONFIG_FILES="$CONFIG_FILES hwacha.mk:hwacha/hwacha.mk.in" ;; "softfloat.mk") CONFIG_FILES="$CONFIG_FILES softfloat.mk:softfloat/softfloat.mk.in" ;; - "softfloat_riscv.mk") CONFIG_FILES="$CONFIG_FILES softfloat_riscv.mk:softfloat_riscv/softfloat_riscv.mk.in" ;; "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; diff --git a/configure.ac b/configure.ac index d683cc5..bf35807 100644 --- a/configure.ac +++ b/configure.ac @@ -82,7 +82,7 @@ AC_SUBST([CXXFLAGS],["-Wall -O2 -std=c++11"]) # The '*' suffix indicates an optional subproject. The '**' suffix # indicates an optional subproject which is also the name of a group. -MCPPBS_SUBPROJECTS([ riscv, hwacha, softfloat, softfloat_riscv ]) +MCPPBS_SUBPROJECTS([ riscv, hwacha, softfloat ]) #------------------------------------------------------------------------- # MCPPBS subproject groups diff --git a/riscv/riscv.mk.in b/riscv/riscv.mk.in index 45c5ee7..92adb8f 100644 --- a/riscv/riscv.mk.in +++ b/riscv/riscv.mk.in @@ -2,7 +2,6 @@ get_insn_list = $(shell grep ^DECLARE_INSN $(1) | sed 's/DECLARE_INSN(\(.*\),.*, get_opcode = $(shell grep ^DECLARE_INSN.*\\\<$(2)\\\> $(1) | sed 's/DECLARE_INSN(.*,\(.*\),.*)/\1/') riscv_subproject_deps = \ - softfloat_riscv \ softfloat \ hwacha \ diff --git a/softfloat_riscv/platform.h b/softfloat/platform.h index 6c54313..6c54313 100755 --- a/softfloat_riscv/platform.h +++ b/softfloat/platform.h diff --git a/softfloat_riscv/s_commonNaNToF32UI.c b/softfloat/s_commonNaNToF32UI.c index 61f2735..61f2735 100755 --- a/softfloat_riscv/s_commonNaNToF32UI.c +++ b/softfloat/s_commonNaNToF32UI.c diff --git a/softfloat_riscv/s_commonNaNToF64UI.c b/softfloat/s_commonNaNToF64UI.c index da36c04..da36c04 100755 --- a/softfloat_riscv/s_commonNaNToF64UI.c +++ b/softfloat/s_commonNaNToF64UI.c diff --git a/softfloat_riscv/s_f32UIToCommonNaN.c b/softfloat/s_f32UIToCommonNaN.c index 9ee0db9..9ee0db9 100755 --- a/softfloat_riscv/s_f32UIToCommonNaN.c +++ b/softfloat/s_f32UIToCommonNaN.c diff --git a/softfloat_riscv/s_f64UIToCommonNaN.c b/softfloat/s_f64UIToCommonNaN.c index 84d8ca0..84d8ca0 100755 --- a/softfloat_riscv/s_f64UIToCommonNaN.c +++ b/softfloat/s_f64UIToCommonNaN.c diff --git a/softfloat_riscv/s_isSigNaNF32UI.c b/softfloat/s_isSigNaNF32UI.c index 0a9c33f..0a9c33f 100755 --- a/softfloat_riscv/s_isSigNaNF32UI.c +++ b/softfloat/s_isSigNaNF32UI.c diff --git a/softfloat_riscv/s_isSigNaNF64UI.c b/softfloat/s_isSigNaNF64UI.c index d255213..d255213 100755 --- a/softfloat_riscv/s_isSigNaNF64UI.c +++ b/softfloat/s_isSigNaNF64UI.c diff --git a/softfloat_riscv/s_propagateNaNF32UI.c b/softfloat/s_propagateNaNF32UI.c index d8738d1..d8738d1 100755 --- a/softfloat_riscv/s_propagateNaNF32UI.c +++ b/softfloat/s_propagateNaNF32UI.c diff --git a/softfloat_riscv/s_propagateNaNF64UI.c b/softfloat/s_propagateNaNF64UI.c index 871989d..871989d 100755 --- a/softfloat_riscv/s_propagateNaNF64UI.c +++ b/softfloat/s_propagateNaNF64UI.c diff --git a/softfloat/softfloat.mk.in b/softfloat/softfloat.mk.in index 59993cb..2b29f92 100644 --- a/softfloat/softfloat.mk.in +++ b/softfloat/softfloat.mk.in @@ -1,10 +1,12 @@ softfloat_subproject_deps = \ - sotfloat_riscv \ softfloat_hdrs = \ internals.h \ primitives.h \ softfloat.h \ + softfloat_types.h \ + platform.h \ + specialize.h \ softfloat_c_srcs = \ f32_add.c \ @@ -107,6 +109,15 @@ softfloat_c_srcs = \ ui32_to_f64.c \ ui64_to_f32.c \ ui64_to_f64.c \ + softfloat_raiseFlags.c \ + s_commonNaNToF32UI.c \ + s_commonNaNToF64UI.c \ + s_f32UIToCommonNaN.c \ + s_f64UIToCommonNaN.c \ + s_isSigNaNF32UI.c \ + s_isSigNaNF64UI.c \ + s_propagateNaNF32UI.c \ + s_propagateNaNF64UI.c \ softfloat_test_srcs = diff --git a/softfloat_riscv/softfloat_raiseFlags.c b/softfloat/softfloat_raiseFlags.c index c0c0dc8..c0c0dc8 100755 --- a/softfloat_riscv/softfloat_raiseFlags.c +++ b/softfloat/softfloat_raiseFlags.c diff --git a/softfloat_riscv/softfloat_types.h b/softfloat/softfloat_types.h index 9fada89..9fada89 100755 --- a/softfloat_riscv/softfloat_types.h +++ b/softfloat/softfloat_types.h diff --git a/softfloat_riscv/specialize.h b/softfloat/specialize.h index 1793c46..1793c46 100755 --- a/softfloat_riscv/specialize.h +++ b/softfloat/specialize.h diff --git a/softfloat_riscv/softfloat_riscv.ac b/softfloat_riscv/softfloat_riscv.ac deleted file mode 100644 index e69de29..0000000 --- a/softfloat_riscv/softfloat_riscv.ac +++ /dev/null diff --git a/softfloat_riscv/softfloat_riscv.mk.in b/softfloat_riscv/softfloat_riscv.mk.in deleted file mode 100644 index 0b898ed..0000000 --- a/softfloat_riscv/softfloat_riscv.mk.in +++ /dev/null @@ -1,21 +0,0 @@ -softfloat_riscv_subproject_deps = \ - -softfloat_riscv_hdrs = \ - softfloat_types.h \ - platform.h \ - specialize.h \ - -softfloat_riscv_c_srcs = \ - softfloat_raiseFlags.c \ - s_commonNaNToF32UI.c \ - s_commonNaNToF64UI.c \ - s_f32UIToCommonNaN.c \ - s_f64UIToCommonNaN.c \ - s_isSigNaNF32UI.c \ - s_isSigNaNF64UI.c \ - s_propagateNaNF32UI.c \ - s_propagateNaNF64UI.c \ - -softfloat_riscv_test_srcs = - -softfloat_riscv_install_prog_srcs = |