aboutsummaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2020-06-29 19:30:35 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2020-06-29 19:30:35 +0000
commitbbfbc439f2aa6d4e4e47bb478c7182b2841286e3 (patch)
tree4afb02525efe564b84dddd97f89916f9fed6f32c /lib/libc
parent70448a5414ad07e437bed167cdeea36319cce4bc (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/riscv/_fpmath.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/libc/riscv/_fpmath.h b/lib/libc/riscv/_fpmath.h
index 5c4077cb90c57..be5be56acaa69 100644
--- a/lib/libc/riscv/_fpmath.h
+++ b/lib/libc/riscv/_fpmath.h
@@ -46,19 +46,6 @@ union IEEEl2bits {
#define LDBL_IMPLICIT_NBIT
#define mask_nbit_l(u) ((void)0)
-#define LDBL_MANH_SIZE 20
-#define LDBL_MANL_SIZE 32
-
-#define LDBL_TO_ARRAY32(u, a) do { \
- (a)[0] = (uint32_t)(u).bits.manl; \
- (a)[1] = (uint32_t)(u).bits.manh; \
-} while(0)
-
-/*
- * TODO: Due to compiler problem we are temporary using
- * LDBL_PREC == 53. Use code below for LDBL_PREC == 113
- */
-#if 0
#define LDBL_MANH_SIZE 48
#define LDBL_MANL_SIZE 64
@@ -68,4 +55,3 @@ union IEEEl2bits {
(a)[2] = (uint32_t)(u).bits.manh; \
(a)[3] = (uint32_t)((u).bits.manh >> 32); \
} while(0)
-#endif