aboutsummaryrefslogtreecommitdiff
path: root/softfloat/softfloat_types.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@eecs.berkeley.edu>2014-01-25 18:31:32 -0800
committerAndrew Waterman <waterman@eecs.berkeley.edu>2014-01-25 18:31:32 -0800
commit017f62ac55a9514d12d47cf608f7f5ca6c1d4973 (patch)
treeb59791f1fc9322b5c60b75815c244e00a2f33596 /softfloat/softfloat_types.h
parent287a1f87ca850b3583c27a1f178aaee28e02f2df (diff)
downloadriscv-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.
Diffstat (limited to 'softfloat/softfloat_types.h')
-rwxr-xr-xsoftfloat/softfloat_types.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/softfloat/softfloat_types.h b/softfloat/softfloat_types.h
new file mode 100755
index 0000000..9fada89
--- /dev/null
+++ b/softfloat/softfloat_types.h
@@ -0,0 +1,16 @@
+
+#ifndef softfloat_types_h
+#define softfloat_types_h
+
+/*** COMMENTS. ***/
+
+#include <stdbool.h>
+#include <stdint.h>
+
+typedef uint32_t float32_t;
+typedef uint64_t float64_t;
+typedef struct { uint64_t v; uint16_t x; } floatx80_t;
+typedef struct { uint64_t v[ 2 ]; } float128_t;
+
+#endif
+