diff options
author | Marcus Comstedt <marcus@mc.pp.se> | 2019-08-18 16:03:43 +0200 |
---|---|---|
committer | Marcus Comstedt <marcus@mc.pp.se> | 2019-10-28 09:23:32 +0100 |
commit | f437e6a4e9983be0583ee1bf34512f80f3cc0162 (patch) | |
tree | f3ac0efc442019566f31aa5ba26c78915e80a0b6 /softfloat | |
parent | 5652b9dd6298c7b61fe80bc2a508bbd3c9e5c5ef (diff) | |
download | spike-f437e6a4e9983be0583ee1bf34512f80f3cc0162.zip spike-f437e6a4e9983be0583ee1bf34512f80f3cc0162.tar.gz spike-f437e6a4e9983be0583ee1bf34512f80f3cc0162.tar.bz2 |
Implement support for big-endian hosts
Diffstat (limited to 'softfloat')
-rw-r--r-- | softfloat/platform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/softfloat/platform.h b/softfloat/platform.h index 03dd429..48838cd 100644 --- a/softfloat/platform.h +++ b/softfloat/platform.h @@ -36,7 +36,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. /*---------------------------------------------------------------------------- *----------------------------------------------------------------------------*/ +#include "config.h" +#ifndef WORDS_BIGENDIAN #define LITTLEENDIAN 1 +#endif #define INLINE_LEVEL 5 #define SOFTFLOAT_FAST_INT64 |