+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.
/* 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.
+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.
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))