Sync include, libiberty with GCC.

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.
This commit is contained in:
Felix Willgerodt
2020-09-10 14:29:51 +02:00
committed by Kevin Buettner
parent edc7a80a9c
commit dae7c5a444
4 changed files with 37 additions and 1 deletions

View 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.

View File

@@ -389,7 +389,24 @@ const struct floatformat floatformat_ibm_long_double_little =
floatformat_ibm_long_double_is_valid,
&floatformat_ieee_double_little
};
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))