aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-08-21 00:20:07 +0000
committerAndrew Cagney <cagney@redhat.com>2001-08-21 00:20:07 +0000
commiteb828599478cef63ee0ec26882542380f16d623f (patch)
treefe20199770087a75c7841aada8d17080639d3a0e
parent7823178d24af1328ed557a8aece1222d3bf0bccc (diff)
downloadbinutils-eb828599478cef63ee0ec26882542380f16d623f.zip
binutils-eb828599478cef63ee0ec26882542380f16d623f.tar.gz
binutils-eb828599478cef63ee0ec26882542380f16d623f.tar.bz2
* floatformat.h (floatformat_arm_ext): Document as deprecated.
(floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword) (floatformat_ia64_spill_little, floatformat_ia64_quad_little) (floatformat_ia64_spill_big, floatformat_ia64_quad_big) (floatformat_m88110_harris_ext): Declare.
-rw-r--r--include/ChangeLog8
-rw-r--r--include/floatformat.h10
-rw-r--r--libiberty/ChangeLog9
-rw-r--r--libiberty/floatformat.c52
4 files changed, 71 insertions, 8 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 79f6163..e76756b 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,11 @@
+2001-08-20 Andrew Cagney <ac131313@redhat.com>
+
+ * floatformat.h (floatformat_arm_ext): Document as deprecated.
+ (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
+ (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
+ (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
+ (floatformat_m88110_harris_ext): Declare.
+
2001-08-18 Zack Weinberg <zackw@panix.com>
* ansidecl.h: Reorganize for readability, remove documentation
diff --git a/include/floatformat.h b/include/floatformat.h
index 4335401..0cd09be 100644
--- a/include/floatformat.h
+++ b/include/floatformat.h
@@ -95,7 +95,15 @@ extern const struct floatformat floatformat_i387_ext;
extern const struct floatformat floatformat_m68881_ext;
extern const struct floatformat floatformat_i960_ext;
extern const struct floatformat floatformat_m88110_ext;
-extern const struct floatformat floatformat_arm_ext;
+extern const struct floatformat floatformat_m88110_harris_ext;
+extern const struct floatformat floatformat_arm_ext; /* deprecated. */
+extern const struct floatformat floatformat_arm_ext_big;
+extern const struct floatformat floatformat_arm_ext_littlebyte_bigword;
+/* IA-64 Floating Point register spilt into memory. */
+extern const struct floatformat floatformat_ia64_spill_big;
+extern const struct floatformat floatformat_ia64_spill_little;
+extern const struct floatformat floatformat_ia64_quad_big;
+extern const struct floatformat floatformat_ia64_quad_little;
/* Convert from FMT to a double.
FROM is the address of the extended float.
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 98d924b..0b3dd67 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,12 @@
+2001-08-20 Andrew Cagney <ac131313@redhat.com>
+
+ * floatformat.c (floatformat_m88110_ext): Remove #ifdef
+ HARRIS_FLOAT_FORMAT.
+ (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
+ (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
+ (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
+ (floatformat_m88110_harris_ext): New float formats.
+
2001-08-17 Christopher Faylor <cgf@cygnus.com>
* configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
diff --git a/libiberty/floatformat.c b/libiberty/floatformat.c
index 27d99f0..b5d0121 100644
--- a/libiberty/floatformat.c
+++ b/libiberty/floatformat.c
@@ -91,17 +91,17 @@ const struct floatformat floatformat_i960_ext =
};
const struct floatformat floatformat_m88110_ext =
{
-#ifdef HARRIS_FLOAT_FORMAT
+ floatformat_big, 80, 0, 1, 15, 0x3fff, 0x7fff, 16, 64,
+ floatformat_intbit_yes,
+ "floatformat_m88110_ext"
+};
+const struct floatformat floatformat_m88110_harris_ext =
+{
/* Harris uses raw format 128 bytes long, but the number is just an ieee
double, and the last 64 bits are wasted. */
floatformat_big,128, 0, 1, 11, 0x3ff, 0x7ff, 12, 52,
floatformat_intbit_no,
- "floatformat_m88110_ext(harris)"
-#else
- floatformat_big, 80, 0, 1, 15, 0x3fff, 0x7fff, 16, 64,
- floatformat_intbit_yes,
- "floatformat_m88110_ext"
-#endif /* HARRIS_FLOAT_FORMAT */
+ "floatformat_m88110_ext_harris"
};
const struct floatformat floatformat_arm_ext =
{
@@ -110,6 +110,44 @@ const struct floatformat floatformat_arm_ext =
floatformat_intbit_yes,
"floatformat_arm_ext"
};
+const struct floatformat floatformat_arm_ext_big =
+{
+ /* Bits 1 to 16 are unused. */
+ floatformat_big, 96, 0, 17, 15, 0x3fff, 0x7fff, 32, 64,
+ floatformat_intbit_yes,
+ "floatformat_arm_ext_big"
+};
+const struct floatformat floatformat_arm_ext_littlebyte_bigword =
+{
+ /* Bits 1 to 16 are unused. */
+ floatformat_littlebyte_bigword, 96, 0, 17, 15, 0x3fff, 0x7fff, 32, 64,
+ floatformat_intbit_yes,
+ "floatformat_arm_ext_littlebyte_bigword"
+};
+const struct floatformat floatformat_ia64_spill_big =
+{
+ floatformat_big, 128, 0, 1, 17, 65535, 0x1ffff, 18, 64,
+ floatformat_intbit_yes,
+ "floatformat_ia64_spill_big"
+};
+const struct floatformat floatformat_ia64_spill_little =
+{
+ floatformat_little, 128, 0, 1, 17, 65535, 0x1ffff, 18, 64,
+ floatformat_intbit_yes,
+ "floatformat_ia64_spill_little"
+};
+const struct floatformat floatformat_ia64_quad_big =
+{
+ floatformat_big, 128, 0, 1, 15, 16383, 0x7fff, 16, 112,
+ floatformat_intbit_no,
+ "floatformat_ia64_quad_big"
+};
+const struct floatformat floatformat_ia64_quad_little =
+{
+ floatformat_little, 128, 0, 1, 15, 16383, 0x7fff, 16, 112,
+ floatformat_intbit_no,
+ "floatformat_ia64_quad_little"
+};
static unsigned long get_field PARAMS ((unsigned char *,
enum floatformat_byteorders,