]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Sync include, libiberty with GCC.
authorFelix Willgerodt <felix.willgerodt@intel.com>
Thu, 10 Sep 2020 12:29:51 +0000 (14:29 +0200)
committerKevin Buettner <kevinb@redhat.com>
Fri, 11 Sep 2020 18:32:00 +0000 (11:32 -0700)
include:
2020-09-10  Felix Willgerodt  <felix.willgerodt@intel.com>

    Sync with GCC
    2020-08-17  Felix Willgerodt  <felix.willgerodt@intel.com>

    * floatformat.h (floatformat_bfloat16_big): New.
    (floatformat_bfloat16_little): New.

libiberty:
2020-09-10  Felix Willgerodt  <felix.willgerodt@intel.com>

    Sync with GCC
    2020-08-17  Felix Willgerodt  <felix.willgerodt@intel.com>

    * floatformat.c (floatformat_bfloat16_big): New.
    (floatformat_bfloat16_little): New.

include/ChangeLog
include/floatformat.h
libiberty/ChangeLog
libiberty/floatformat.c

index c9d2749d346079e434e495c96ecad73aac811422..c8a90cfa36bac8d68c583ea294ad604db61590aa 100644 (file)
@@ -1,3 +1,11 @@
+2020-09-11  Felix Willgerodt  <felix.willgerodt@intel.com>
+
+       Sync with GCC
+       2020-09-08  Felix Willgerodt  <felix.willgerodt@intel.com>
+
+       * floatformat.h (floatformat_bfloat16_big): New.
+       (floatformat_bfloat16_little): New.
+
 2020-09-12 Cooper Qu <cooper.qu@linux.alibaba.com>
 
        * opcode/csky.h (CSKYV1_ISA_E1): Convert to bfd_uint64_t type.
index ce8d6d4add8e69f32519762059bfb24a64de3830..630fade044984a51dd8b1320e6888c27d2b25969 100644 (file)
@@ -133,6 +133,9 @@ extern const struct floatformat floatformat_ia64_quad_little;
 /* IBM long double (double+double).  */
 extern const struct floatformat floatformat_ibm_long_double_big;
 extern const struct floatformat floatformat_ibm_long_double_little;
+/* bfloat16.  */
+extern const struct floatformat floatformat_bfloat16_big;
+extern const struct floatformat floatformat_bfloat16_little;
 
 /* Convert from FMT to a double.
    FROM is the address of the extended float.
index 6b46642fd35bbd851d90fd20d88308874a2589db..e6280d576bf5920640602a4209dd5a5d5d2eeef6 100644 (file)
@@ -1,3 +1,11 @@
+2020-09-11  Felix Willgerodt  <felix.willgerodt@intel.com>
+
+       Sync with GCC
+       2020-09-08  Felix Willgerodt  <felix.willgerodt@intel.com>
+
+       * floatformat.c (floatformat_bfloat16_big): New.
+       (floatformat_bfloat16_little): New.
+
 2020-09-08  Alan Modra  <amodra@gmail.com>
 
        * configure: Regenerate.
index 2fd5e688ec4177ca91cdf2cd4d92b3ac34ffe409..6b9b03288e29cee2713f7232e7585e8ebf5429bd 100644 (file)
@@ -389,7 +389,24 @@ const struct floatformat floatformat_ibm_long_double_little =
   floatformat_ibm_long_double_is_valid,
   &floatformat_ieee_double_little
 };
-\f
+
+const struct floatformat floatformat_bfloat16_big =
+{
+  floatformat_big, 16, 0, 1, 8, 127, 255, 9, 7,
+  floatformat_intbit_no,
+  "floatformat_bfloat16_big",
+  floatformat_always_valid,
+  NULL
+};
+
+const struct floatformat floatformat_bfloat16_little =
+{
+  floatformat_little, 16, 0, 1, 8, 127, 255, 9, 7,
+  floatformat_intbit_no,
+  "floatformat_bfloat16_little",
+  floatformat_always_valid,
+  NULL
+};
 
 #ifndef min
 #define min(a, b) ((a) < (b) ? (a) : (b))