2006-04-29 H.J. Lu <hongjiu.lu@intel.com>

* gas/i386/fp.d: New file.
	* gas/i386/fp.s: Likewise.

	* gas/i386/i386.exp: Run "fp".
This commit is contained in:
H.J. Lu 2006-04-30 00:21:26 +00:00
parent b31e893eb5
commit 5645cf1e51
4 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2006-04-29 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/fp.d: New file.
* gas/i386/fp.s: Likewise.
* gas/i386/i386.exp: Run "fp".
2006-04-28 Thiemo Seufer <ths@mips.com>
David Ung <davidu@mips.com>
Nigel Stephens <nigel@mips.com>

View File

@ -0,0 +1,8 @@
#objdump: -s -j .data
#name: i386 fp
.*: file format .*
Contents of section .data:
0000 00881bcd 4b789ad4 004071a3 79094f93 ....Kx...@q.y.O.
0010 0a40789a 5440789a 54400000 00000000 .@x.T@x.T@......

View File

@ -0,0 +1,13 @@
.data
# .tfloat is 80-bit floating point format.
.tfloat 3.32192809488736218171e0
# .byte 0x0, 0x88, 0x1b, 0xcd, 0x4b, 0x78, 0x9a, 0xd4, 0x0, 0x40
# .double is 64-bit floating point format.
.double 3.32192809488736218171e0
# .byte 0x71, 0xa3, 0x79, 0x09, 0x4f, 0x93, 0x0a, 0x40
# The next two are 32-bit floating point format.
.float 3.32192809488736218171e0
# .byte 0x78, 0x9a, 0x54, 0x40, 0, 0, 0, 0
.single 3.32192809488736218171e0
# .byte 0x78, 0x9a, 0x54, 0x40, 0, 0, 0, 0
.byte 0, 0, 0, 0, 0, 0

View File

@ -71,6 +71,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]]
run_dump_test "merom"
run_dump_test "rep"
run_dump_test "rep-suffix"
run_dump_test "fp"
# These tests require support for 8 and 16 bit relocs,
# so we only run them for ELF and COFF targets.