|
Message-Id: <20160706035414.10083-3-koorogi@koorogi.info> Date: Tue, 5 Jul 2016 22:54:12 -0500 From: Bobby Bingham <koorogi@...rogi.info> To: musl@...ts.openwall.com Subject: [PATCH 3/5] create ld64/ld128 generic bits overlays --- arch/aarch64/arch.mak | 1 + arch/arm/arch.mak | 1 + arch/{aarch64 => generic-ld128}/bits/float.h | 0 arch/{arm => generic-ld64}/bits/float.h | 0 arch/microblaze/arch.mak | 1 + arch/microblaze/bits/float.h | 16 ---------------- arch/mips/arch.mak | 1 + arch/mips/bits/float.h | 16 ---------------- arch/mips64/arch.mak | 1 + arch/mips64/bits/float.h | 16 ---------------- arch/mipsn32/arch.mak | 1 + arch/mipsn32/bits/float.h | 16 ---------------- arch/or1k/arch.mak | 2 +- arch/or1k/bits/float.h | 16 ---------------- arch/powerpc/arch.mak | 1 + arch/powerpc/bits/float.h | 16 ---------------- arch/powerpc64/arch.mak | 1 + arch/powerpc64/bits/float.h | 16 ---------------- arch/sh/arch.mak | 1 + arch/sh/bits/float.h | 16 ---------------- 20 files changed, 10 insertions(+), 129 deletions(-) create mode 100644 arch/aarch64/arch.mak create mode 100644 arch/arm/arch.mak rename arch/{aarch64 => generic-ld128}/bits/float.h (100%) rename arch/{arm => generic-ld64}/bits/float.h (100%) create mode 100644 arch/microblaze/arch.mak delete mode 100644 arch/microblaze/bits/float.h create mode 100644 arch/mips/arch.mak delete mode 100644 arch/mips/bits/float.h create mode 100644 arch/mips64/arch.mak delete mode 100644 arch/mips64/bits/float.h create mode 100644 arch/mipsn32/arch.mak delete mode 100644 arch/mipsn32/bits/float.h delete mode 100644 arch/or1k/bits/float.h create mode 100644 arch/powerpc/arch.mak delete mode 100644 arch/powerpc/bits/float.h create mode 100644 arch/powerpc64/arch.mak delete mode 100644 arch/powerpc64/bits/float.h create mode 100644 arch/sh/arch.mak delete mode 100644 arch/sh/bits/float.h diff --git a/arch/aarch64/arch.mak b/arch/aarch64/arch.mak new file mode 100644 index 0000000..20b4b2e --- /dev/null +++ b/arch/aarch64/arch.mak @@ -0,0 +1 @@ +ARCH_FALLBACKS = aarch64 generic-ld128 generic diff --git a/arch/arm/arch.mak b/arch/arm/arch.mak new file mode 100644 index 0000000..3d51073 --- /dev/null +++ b/arch/arm/arch.mak @@ -0,0 +1 @@ +ARCH_FALLBACKS = arm generic-ld64 generic diff --git a/arch/aarch64/bits/float.h b/arch/generic-ld128/bits/float.h similarity index 100% rename from arch/aarch64/bits/float.h rename to arch/generic-ld128/bits/float.h diff --git a/arch/arm/bits/float.h b/arch/generic-ld64/bits/float.h similarity index 100% rename from arch/arm/bits/float.h rename to arch/generic-ld64/bits/float.h diff --git a/arch/microblaze/arch.mak b/arch/microblaze/arch.mak new file mode 100644 index 0000000..2d907b7 --- /dev/null +++ b/arch/microblaze/arch.mak @@ -0,0 +1 @@ +ARCH_FALLBACKS = microblaze generic-ld64 generic diff --git a/arch/microblaze/bits/float.h b/arch/microblaze/bits/float.h deleted file mode 100644 index c4a655e..0000000 --- a/arch/microblaze/bits/float.h +++ /dev/null @@ -1,16 +0,0 @@ -#define FLT_EVAL_METHOD 0 - -#define LDBL_TRUE_MIN 4.94065645841246544177e-324L -#define LDBL_MIN 2.22507385850720138309e-308L -#define LDBL_MAX 1.79769313486231570815e+308L -#define LDBL_EPSILON 2.22044604925031308085e-16L - -#define LDBL_MANT_DIG 53 -#define LDBL_MIN_EXP (-1021) -#define LDBL_MAX_EXP 1024 - -#define LDBL_DIG 15 -#define LDBL_MIN_10_EXP (-307) -#define LDBL_MAX_10_EXP 308 - -#define DECIMAL_DIG 17 diff --git a/arch/mips/arch.mak b/arch/mips/arch.mak new file mode 100644 index 0000000..3d9f55e --- /dev/null +++ b/arch/mips/arch.mak @@ -0,0 +1 @@ +ARCH_FALLBACKS = mips generic-ld64 generic diff --git a/arch/mips/bits/float.h b/arch/mips/bits/float.h deleted file mode 100644 index c4a655e..0000000 --- a/arch/mips/bits/float.h +++ /dev/null @@ -1,16 +0,0 @@ -#define FLT_EVAL_METHOD 0 - -#define LDBL_TRUE_MIN 4.94065645841246544177e-324L -#define LDBL_MIN 2.22507385850720138309e-308L -#define LDBL_MAX 1.79769313486231570815e+308L -#define LDBL_EPSILON 2.22044604925031308085e-16L - -#define LDBL_MANT_DIG 53 -#define LDBL_MIN_EXP (-1021) -#define LDBL_MAX_EXP 1024 - -#define LDBL_DIG 15 -#define LDBL_MIN_10_EXP (-307) -#define LDBL_MAX_10_EXP 308 - -#define DECIMAL_DIG 17 diff --git a/arch/mips64/arch.mak b/arch/mips64/arch.mak new file mode 100644 index 0000000..eb9c4bf --- /dev/null +++ b/arch/mips64/arch.mak @@ -0,0 +1 @@ +ARCH_FALLBACKS = mips64 generic-ld128 generic diff --git a/arch/mips64/bits/float.h b/arch/mips64/bits/float.h deleted file mode 100644 index 719c790..0000000 --- a/arch/mips64/bits/float.h +++ /dev/null @@ -1,16 +0,0 @@ -#define FLT_EVAL_METHOD 0 - -#define LDBL_TRUE_MIN 6.47517511943802511092443895822764655e-4966L -#define LDBL_MIN 3.36210314311209350626267781732175260e-4932L -#define LDBL_MAX 1.18973149535723176508575932662800702e+4932L -#define LDBL_EPSILON 1.92592994438723585305597794258492732e-34L - -#define LDBL_MANT_DIG 113 -#define LDBL_MIN_EXP (-16381) -#define LDBL_MAX_EXP 16384 - -#define LDBL_DIG 33 -#define LDBL_MIN_10_EXP (-4931) -#define LDBL_MAX_10_EXP 4932 - -#define DECIMAL_DIG 36 diff --git a/arch/mipsn32/arch.mak b/arch/mipsn32/arch.mak new file mode 100644 index 0000000..7219df3 --- /dev/null +++ b/arch/mipsn32/arch.mak @@ -0,0 +1 @@ +ARCH_FALLBACKS = mipsn32 generic-ld128 generic diff --git a/arch/mipsn32/bits/float.h b/arch/mipsn32/bits/float.h deleted file mode 100644 index 719c790..0000000 --- a/arch/mipsn32/bits/float.h +++ /dev/null @@ -1,16 +0,0 @@ -#define FLT_EVAL_METHOD 0 - -#define LDBL_TRUE_MIN 6.47517511943802511092443895822764655e-4966L -#define LDBL_MIN 3.36210314311209350626267781732175260e-4932L -#define LDBL_MAX 1.18973149535723176508575932662800702e+4932L -#define LDBL_EPSILON 1.92592994438723585305597794258492732e-34L - -#define LDBL_MANT_DIG 113 -#define LDBL_MIN_EXP (-16381) -#define LDBL_MAX_EXP 16384 - -#define LDBL_DIG 33 -#define LDBL_MIN_10_EXP (-4931) -#define LDBL_MAX_10_EXP 4932 - -#define DECIMAL_DIG 36 diff --git a/arch/or1k/arch.mak b/arch/or1k/arch.mak index a44f82f..6dba423 100644 --- a/arch/or1k/arch.mak +++ b/arch/or1k/arch.mak @@ -1 +1 @@ -ARCH_FALLBACKS = or1k generic-be generic +ARCH_FALLBACKS = or1k generic-be generic-ld64 generic diff --git a/arch/or1k/bits/float.h b/arch/or1k/bits/float.h deleted file mode 100644 index c4a655e..0000000 --- a/arch/or1k/bits/float.h +++ /dev/null @@ -1,16 +0,0 @@ -#define FLT_EVAL_METHOD 0 - -#define LDBL_TRUE_MIN 4.94065645841246544177e-324L -#define LDBL_MIN 2.22507385850720138309e-308L -#define LDBL_MAX 1.79769313486231570815e+308L -#define LDBL_EPSILON 2.22044604925031308085e-16L - -#define LDBL_MANT_DIG 53 -#define LDBL_MIN_EXP (-1021) -#define LDBL_MAX_EXP 1024 - -#define LDBL_DIG 15 -#define LDBL_MIN_10_EXP (-307) -#define LDBL_MAX_10_EXP 308 - -#define DECIMAL_DIG 17 diff --git a/arch/powerpc/arch.mak b/arch/powerpc/arch.mak new file mode 100644 index 0000000..71389fd --- /dev/null +++ b/arch/powerpc/arch.mak @@ -0,0 +1 @@ +ARCH_FALLBACKS = powerpc generic-ld64 generic diff --git a/arch/powerpc/bits/float.h b/arch/powerpc/bits/float.h deleted file mode 100644 index c4a655e..0000000 --- a/arch/powerpc/bits/float.h +++ /dev/null @@ -1,16 +0,0 @@ -#define FLT_EVAL_METHOD 0 - -#define LDBL_TRUE_MIN 4.94065645841246544177e-324L -#define LDBL_MIN 2.22507385850720138309e-308L -#define LDBL_MAX 1.79769313486231570815e+308L -#define LDBL_EPSILON 2.22044604925031308085e-16L - -#define LDBL_MANT_DIG 53 -#define LDBL_MIN_EXP (-1021) -#define LDBL_MAX_EXP 1024 - -#define LDBL_DIG 15 -#define LDBL_MIN_10_EXP (-307) -#define LDBL_MAX_10_EXP 308 - -#define DECIMAL_DIG 17 diff --git a/arch/powerpc64/arch.mak b/arch/powerpc64/arch.mak new file mode 100644 index 0000000..939ccc2 --- /dev/null +++ b/arch/powerpc64/arch.mak @@ -0,0 +1 @@ +ARCH_FALLBACKS = powerpc64 generic-ld64 generic diff --git a/arch/powerpc64/bits/float.h b/arch/powerpc64/bits/float.h deleted file mode 100644 index c4a655e..0000000 --- a/arch/powerpc64/bits/float.h +++ /dev/null @@ -1,16 +0,0 @@ -#define FLT_EVAL_METHOD 0 - -#define LDBL_TRUE_MIN 4.94065645841246544177e-324L -#define LDBL_MIN 2.22507385850720138309e-308L -#define LDBL_MAX 1.79769313486231570815e+308L -#define LDBL_EPSILON 2.22044604925031308085e-16L - -#define LDBL_MANT_DIG 53 -#define LDBL_MIN_EXP (-1021) -#define LDBL_MAX_EXP 1024 - -#define LDBL_DIG 15 -#define LDBL_MIN_10_EXP (-307) -#define LDBL_MAX_10_EXP 308 - -#define DECIMAL_DIG 17 diff --git a/arch/sh/arch.mak b/arch/sh/arch.mak new file mode 100644 index 0000000..54c4951 --- /dev/null +++ b/arch/sh/arch.mak @@ -0,0 +1 @@ +ARCH_FALLBACKS = sh generic-ld64 generic diff --git a/arch/sh/bits/float.h b/arch/sh/bits/float.h deleted file mode 100644 index c4a655e..0000000 --- a/arch/sh/bits/float.h +++ /dev/null @@ -1,16 +0,0 @@ -#define FLT_EVAL_METHOD 0 - -#define LDBL_TRUE_MIN 4.94065645841246544177e-324L -#define LDBL_MIN 2.22507385850720138309e-308L -#define LDBL_MAX 1.79769313486231570815e+308L -#define LDBL_EPSILON 2.22044604925031308085e-16L - -#define LDBL_MANT_DIG 53 -#define LDBL_MIN_EXP (-1021) -#define LDBL_MAX_EXP 1024 - -#define LDBL_DIG 15 -#define LDBL_MIN_10_EXP (-307) -#define LDBL_MAX_10_EXP 308 - -#define DECIMAL_DIG 17 -- 2.9.0
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.