+++ /dev/null
-#objdump: -s -j .data
-#name: i386 fp (ELF)
-#source: fp.s
-
-.*: file format .*
-
-Contents of section .data:
- 0000 00881bcd 4b789ad4 00400000 71a37909 .*
- 0010 4f930a40 789a5440 789a5440 00000000 .*
- 0020 e65e1710 20395e3b e65e1710 20395e3b .*
- 0030 00000000 0000a044 01000000 0000a044 .*
- 0040 00000000 0000f03f 00000000 00000000 .*
- 0050 ffffffff ffffffff ffffffff cccccccc .*
- 0060 00000000 00000080 fe3f0000 00000000 .*
- 0070 00000080 fdbf0000 00000000 00000080 .*
- 0080 ff030000 aaaaaaaa aaaaaaaa aaaaaaaa .*
- 0090 003c00c0 003c803f 00c0803f 55555555 .*
- 00a0 007c807f 0000807f 00000000 0000f07f .*
- 00b0 00000000 00000080 ff7f0000 44444444 .*
- 00c0 007c807f 0000807f 00000000 0000f07f .*
- 00d0 00000000 00000080 ff7f0000 33333333 .*
- 00e0 00fc80ff 000080ff 00000000 0000f0ff .*
- 00f0 00000000 00000080 ffff0000 22222222 .*
- 0100 ff7fff7f ffffff7f ffffffff ffffff7f .*
- 0110 ffffffff ffffffff ff7f0000 44444444 .*
- 0120 ff7fff7f ffffff7f ffffffff ffffff7f .*
- 0130 ffffffff ffffffff ff7f0000 33333333 .*
- 0140 ffffffff ffffffff ffffffff ffffffff .*
- 0150 ffffffff ffffffff ffff0000 22222222 .*
- 0160 ff7fff7f ffffff7f ffffffff ffffff7f .*
- 0170 ffffffff ffffffff ff7f0000 44444444 .*
- 0180 ff7fff7f ffffff7f ffffffff ffffff7f .*
- 0190 ffffffff ffffffff ff7f0000 33333333 .*
- 01a0 ffffffff ffffffff ffffffff ffffffff .*
- 01b0 ffffffff ffffffff ffff0000 22222222 .*
- 01c0 ff7dbf7f ffffbf7f ffffffff fffff77f .*
- 01d0 ffffffff ffffffbf ff7f0000 44444444 .*
- 01e0 ff7dbf7f ffffbf7f ffffffff fffff77f .*
- 01f0 ffffffff ffffffbf ff7f0000 33333333 .*
- 0200 fffdbfff ffffbfff ffffffff fffff7ff .*
- 0210 ffffffff ffffffbf ffff0000 22222222 .*
+++ /dev/null
-#objdump: -s -j .data
-#name: x86-64 fp (ELF)
-#source: fp.s
-
-.*: file format .*
-
-Contents of section .data:
- 0000 00881bcd 4b789ad4 00400000 00000000 .*
- 0010 71a37909 4f930a40 789a5440 789a5440 .*
- 0020 e65e1710 20395e3b e65e1710 20395e3b .*
- 0030 00000000 0000a044 01000000 0000a044 .*
- 0040 00000000 0000f03f 00000000 00000000 .*
- 0050 ffffffff ffffffff ffffffff ffffffff .*
- 0060 00000000 00000080 fe3f0000 00000000 .*
- 0070 00000000 00000080 fdbf0000 00000000 .*
- 0080 00000000 00000080 ff030000 00000000 .*
- 0090 003c00c0 003c803f 00c0803f 55555555 .*
- 00a0 007c807f 0000807f 00000000 0000f07f .*
- 00b0 00000000 00000080 ff7f0000 00000000 .*
- 00c0 007c807f 0000807f 00000000 0000f07f .*
- 00d0 00000000 00000080 ff7f0000 00000000 .*
- 00e0 00fc80ff 000080ff 00000000 0000f0ff .*
- 00f0 00000000 00000080 ffff0000 00000000 .*
- 0100 ff7fff7f ffffff7f ffffffff ffffff7f .*
- 0110 ffffffff ffffffff ff7f0000 00000000 .*
- 0120 ff7fff7f ffffff7f ffffffff ffffff7f .*
- 0130 ffffffff ffffffff ff7f0000 00000000 .*
- 0140 ffffffff ffffffff ffffffff ffffffff .*
- 0150 ffffffff ffffffff ffff0000 00000000 .*
- 0160 ff7fff7f ffffff7f ffffffff ffffff7f .*
- 0170 ffffffff ffffffff ff7f0000 00000000 .*
- 0180 ff7fff7f ffffff7f ffffffff ffffff7f .*
- 0190 ffffffff ffffffff ff7f0000 00000000 .*
- 01a0 ffffffff ffffffff ffffffff ffffffff .*
- 01b0 ffffffff ffffffff ffff0000 00000000 .*
- 01c0 ff7dbf7f ffffbf7f ffffffff fffff77f .*
- 01d0 ffffffff ffffffbf ff7f0000 00000000 .*
- 01e0 ff7dbf7f ffffbf7f ffffffff fffff77f .*
- 01f0 ffffffff ffffffbf ff7f0000 00000000 .*
- 0200 fffdbfff ffffbfff ffffffff fffff7ff .*
- 0210 ffffffff ffffffbf ffff0000 00000000 .*
.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
run_dump_test "intel-movs16"
run_dump_test "intel-cmps32"
run_dump_test "intel-cmps16"
- run_dump_test "fp-elf32"
run_list_test "inval-equ-1" "-al"
run_list_test "inval-equ-2" "-al"
run_dump_test "ifunc"
run_dump_test "iamcu-5"
run_list_test "iamcu-inval-1" "-march=iamcu -al"
}
- } else {
- set saved_ASFLAGS "$ASFLAGS"
- append ASFLAGS " --defsym NO_TFLOAT_PADDING=1"
- run_dump_test "fp"
- set $ASFLAGS "$saved_ASFLAGS"
}
# This is a PE specific test.
run_dump_test pr19498
run_list_test "nop-bad-1" ""
run_list_test "unspec" ""
+run_dump_test "fp"
if {[is_elf_format] || [istarget "*-*-vxworks*"]} then {
run_list_test_stdin "list-1" "-al"
run_list_test_stdin "list-2" "-al"
run_list_test "reloc64" "--defsym _bad_=1"
run_dump_test "mixed-mode-reloc64"
run_dump_test "rela"
- run_dump_test "fp-elf64"
run_dump_test "x86-64-ifunc"
run_dump_test "x86-64-opcode-inval"
run_dump_test "x86-64-opcode-inval-intel"