* ld-arm/arm-elf.exp: Add VFP11 tests.
* ld-arm/vfp11-fix-none.s: New file. * ld-arm/vfp11-fix-none.d: Expected disassembly of above. * ld-arm/vfp11-fix-scalar.s: New file. * ld-arm/vfp11-fix-scalar.d: Expected disassembly of above. * ld-arm/vfp11-fix-vector.s: New file. * ld-arm/vfp11-fix-vector.d: Expected disassembly of above.
This commit is contained in:
parent
704a4f78bb
commit
b785d0e121
@ -1,3 +1,13 @@
|
||||
2007-01-29 Julian Brown <julian@codesourcery.com>
|
||||
|
||||
* ld-arm/arm-elf.exp: Add VFP11 tests.
|
||||
* ld-arm/vfp11-fix-none.s: New file.
|
||||
* ld-arm/vfp11-fix-none.d: Expected disassembly of above.
|
||||
* ld-arm/vfp11-fix-scalar.s: New file.
|
||||
* ld-arm/vfp11-fix-scalar.d: Expected disassembly of above.
|
||||
* ld-arm/vfp11-fix-vector.s: New file.
|
||||
* ld-arm/vfp11-fix-vector.d: Expected disassembly of above.
|
||||
|
||||
2007-01-23 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* ld-elf/header.d: Reduce page size, restrict to linux & vxworks
|
||||
|
@ -144,6 +144,18 @@ set armelftests {
|
||||
{"Using Thumb lib by another lib" "-shared tmpdir/mixed-lib.so" "" {use-thumb-lib.s}
|
||||
{{readelf -Ds use-thumb-lib.sym}}
|
||||
"use-thumb-lib.so"}
|
||||
{"VFP11 denorm erratum fix, scalar operation"
|
||||
"-EL --vfp11-denorm-fix=scalar" "-EL" {vfp11-fix-scalar.s}
|
||||
{{objdump -dr vfp11-fix-scalar.d}}
|
||||
"vfp11-fix-scalar"}
|
||||
{"VFP11 denorm erratum fix, vector operation"
|
||||
"-EB --vfp11-denorm-fix=vector" "-EB" {vfp11-fix-vector.s}
|
||||
{{objdump -dr vfp11-fix-vector.d}}
|
||||
"vfp11-fix-vector"}
|
||||
{"VFP11 denorm erratum fix, embedded code-like data"
|
||||
"-EL --vfp11-denorm-fix=scalar" "-EL" {vfp11-fix-none.s}
|
||||
{{objdump -dr vfp11-fix-none.d}}
|
||||
"vfp11-fix-none"}
|
||||
|
||||
}
|
||||
|
||||
|
9
ld/testsuite/ld-arm/vfp11-fix-none.d
Normal file
9
ld/testsuite/ld-arm/vfp11-fix-none.d
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
.*: .*file format elf32-(big|little)arm
|
||||
|
||||
Disassembly of section \.text:
|
||||
|
||||
00008000 <_start>:
|
||||
8000: ee474a20 \.word 0xee474a20
|
||||
8004: ed927a00 \.word 0xed927a00
|
||||
8008: e12fff1e bx lr
|
7
ld/testsuite/ld-arm/vfp11-fix-none.s
Normal file
7
ld/testsuite/ld-arm/vfp11-fix-none.s
Normal file
@ -0,0 +1,7 @@
|
||||
.arm
|
||||
.text
|
||||
.globl _start
|
||||
_start:
|
||||
.word 0xee474a20
|
||||
.word 0xed927a00
|
||||
bx lr
|
15
ld/testsuite/ld-arm/vfp11-fix-scalar.d
Normal file
15
ld/testsuite/ld-arm/vfp11-fix-scalar.d
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
.*: .*file format elf32-(big|little)arm
|
||||
|
||||
Disassembly of section \.text:
|
||||
|
||||
00008000 <_start>:
|
||||
8000: 0a000001 beq 800c <__vfp11_veneer_0>
|
||||
|
||||
00008004 <__vfp11_veneer_0_r>:
|
||||
8004: ed927a00 flds s14, \[r2\]
|
||||
8008: e12fff1e bx lr
|
||||
|
||||
0000800c <__vfp11_veneer_0>:
|
||||
800c: 0e474a20 fmacseq s9, s14, s1
|
||||
8010: eafffffb b 8004 <__vfp11_veneer_0_r>
|
7
ld/testsuite/ld-arm/vfp11-fix-scalar.s
Normal file
7
ld/testsuite/ld-arm/vfp11-fix-scalar.s
Normal file
@ -0,0 +1,7 @@
|
||||
.arm
|
||||
.text
|
||||
.globl _start
|
||||
_start:
|
||||
fmacseq s9, s14, s1
|
||||
flds s14, [r2]
|
||||
bx lr
|
16
ld/testsuite/ld-arm/vfp11-fix-vector.d
Normal file
16
ld/testsuite/ld-arm/vfp11-fix-vector.d
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
.*: .*file format elf32-(big|little)arm
|
||||
|
||||
Disassembly of section \.text:
|
||||
|
||||
00008000 <_start>:
|
||||
8000: 0a000002 beq 8010 <__vfp11_veneer_0>
|
||||
|
||||
00008004 <__vfp11_veneer_0_r>:
|
||||
8004: e1a02003 mov r2, r3
|
||||
8008: ed927a00 flds s14, \[r2\]
|
||||
800c: e12fff1e bx lr
|
||||
|
||||
00008010 <__vfp11_veneer_0>:
|
||||
8010: 0e474a20 fmacseq s9, s14, s1
|
||||
8014: eafffffa b 8004 <__vfp11_veneer_0_r>
|
8
ld/testsuite/ld-arm/vfp11-fix-vector.s
Normal file
8
ld/testsuite/ld-arm/vfp11-fix-vector.s
Normal file
@ -0,0 +1,8 @@
|
||||
.arm
|
||||
.text
|
||||
.globl _start
|
||||
_start:
|
||||
fmacseq s9, s14, s1
|
||||
mov r2,r3
|
||||
flds s14, [r2]
|
||||
bx lr
|
Loading…
Reference in New Issue
Block a user