-*- text -*-
+* Outputs of .ds.x directive and .tfloat directive with hex input from
+ x86 assembler have been reduced from 12 bytes to 10 bytes to match the
+ output of .tfloat directive.
+
* Add support for Intel AVX512_FP16 instructions.
Changes in 2.37:
fix_new_exp (frag, off, len, exp, 0, r);
}
-/* Return the number of padding LITTLENUMs following a tbyte floating
- point value. */
-
-int
-x86_tfloat_pad (void)
-{
-#if defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)
- if (IS_ELF)
- return object_64bit ? 3 : 1;
-#endif
- return 0;
-}
-
/* Export the ABI address size for use by TC_ADDRESS_BYTES for the
purpose of the `.dc.a' internal pseudo-op. */
(fragS *, unsigned int, unsigned int, expressionS *, bfd_reloc_code_real_type);
#define X_PRECISION 5
-#define X_PRECISION_PAD x86_tfloat_pad ()
-extern int x86_tfloat_pad (void);
+#define X_PRECISION_PAD 0
#define TC_ADDRESS_BYTES x86_address_bytes
extern int x86_address_bytes (void);
.data
# .tfloat is 80-bit floating point format.
.tfloat 3.32192809488736218171e0
+.ifndef NO_TFLOAT_PADDING
+ .ifdef x86_64
+ .byte 0, 0, 0, 0, 0, 0
+ .else
+ .byte 0, 0
+ .endif
+.endif
# .byte 0x0, 0x88, 0x1b, 0xcd, 0x4b, 0x78, 0x9a, 0xd4, 0x0, 0x40
# .double is 64-bit floating point format.
.double 3.32192809488736218171e0
.p2align 4,0
.ds.x 1, -1
+.ifndef NO_TFLOAT_PADDING
+ .ifdef x86_64
+ .byte -1, -1, -1, -1, -1, -1
+ .else
+ .byte -1, -1
+ .endif
+.endif
.p2align 4,0xcc
.tfloat 0x:3ffe80
+.ifndef NO_TFLOAT_PADDING
+ .ifdef x86_64
+ .byte 0, 0, 0, 0, 0, 0
+ .else
+ .byte 0, 0
+ .endif
+.endif
.dc.x 0x:bffd80
+.ifndef NO_TFLOAT_PADDING
+ .ifdef x86_64
+ .byte 0, 0, 0, 0, 0, 0
+ .else
+ .byte 0, 0
+ .endif
+.endif
.dcb.x 1, 0x:03ff80
+.ifndef NO_TFLOAT_PADDING
+ .ifdef x86_64
+ .byte 0, 0, 0, 0, 0, 0
+ .else
+ .byte 0, 0
+ .endif
+.endif
.p2align 4,0xaa
.hfloat 1, -2, 0x:3c00
.single Inf
.double Inf
.tfloat Inf
+.ifndef NO_TFLOAT_PADDING
+ .ifdef x86_64
+ .byte 0, 0, 0, 0, 0, 0
+ .else
+ .byte 0, 0
+ .endif
+.endif
.p2align 4,0x44
.hfloat +Inf
.single +Inf
.double +Inf
.tfloat +Inf
+.ifndef NO_TFLOAT_PADDING
+ .ifdef x86_64
+ .byte 0, 0, 0, 0, 0, 0
+ .else
+ .byte 0, 0
+ .endif
+.endif
.p2align 4,0x33
.hfloat -Inf
.single -Inf
.double -Inf
.tfloat -Inf
+.ifndef NO_TFLOAT_PADDING
+ .ifdef x86_64
+ .byte 0, 0, 0, 0, 0, 0
+ .else
+ .byte 0, 0
+ .endif
+.endif
.p2align 4,0x22
.hfloat NaN
.single NaN
.double NaN
.tfloat NaN
+.ifndef NO_TFLOAT_PADDING
+ .ifdef x86_64
+ .byte 0, 0, 0, 0, 0, 0
+ .else
+ .byte 0, 0
+ .endif
+.endif
.p2align 4,0x44
.hfloat +NaN
.single +NaN
.double +NaN
.tfloat +NaN
+.ifndef NO_TFLOAT_PADDING
+ .ifdef x86_64
+ .byte 0, 0, 0, 0, 0, 0
+ .else
+ .byte 0, 0
+ .endif
+.endif
.p2align 4,0x33
.hfloat -NaN
.single -NaN
.double -NaN
.tfloat -NaN
+.ifndef NO_TFLOAT_PADDING
+ .ifdef x86_64
+ .byte 0, 0, 0, 0, 0, 0
+ .else
+ .byte 0, 0
+ .endif
+.endif
.p2align 4,0x22
.hfloat QNaN
.single QNaN
.double QNaN
.tfloat QNaN
+.ifndef NO_TFLOAT_PADDING
+ .ifdef x86_64
+ .byte 0, 0, 0, 0, 0, 0
+ .else
+ .byte 0, 0
+ .endif
+.endif
.p2align 4,0x44
.hfloat +QNaN
.single +QNaN
.double +QNaN
.tfloat +QNaN
+.ifndef NO_TFLOAT_PADDING
+ .ifdef x86_64
+ .byte 0, 0, 0, 0, 0, 0
+ .else
+ .byte 0, 0
+ .endif
+.endif
.p2align 4,0x33
.hfloat -QNaN
.single -QNaN
.double -QNaN
.tfloat -QNaN
+.ifndef NO_TFLOAT_PADDING
+ .ifdef x86_64
+ .byte 0, 0, 0, 0, 0, 0
+ .else
+ .byte 0, 0
+ .endif
+.endif
.p2align 4,0x22
.hfloat SNaN
.single SNaN
.double SNaN
.tfloat SNaN
+.ifndef NO_TFLOAT_PADDING
+ .ifdef x86_64
+ .byte 0, 0, 0, 0, 0, 0
+ .else
+ .byte 0, 0
+ .endif
+.endif
.p2align 4,0x44
.hfloat +SNaN
.single +SNaN
.double +SNaN
.tfloat +SNaN
+.ifndef NO_TFLOAT_PADDING
+ .ifdef x86_64
+ .byte 0, 0, 0, 0, 0, 0
+ .else
+ .byte 0, 0
+ .endif
+.endif
.p2align 4,0x33
.hfloat -SNaN
.single -SNaN
.double -SNaN
.tfloat -SNaN
+.ifndef NO_TFLOAT_PADDING
+ .ifdef x86_64
+ .byte 0, 0, 0, 0, 0, 0
+ .else
+ .byte 0, 0
+ .endif
+.endif
.p2align 4,0x22