This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Fix broken FPA tests
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: binutils at sources dot redhat dot com
- Cc: Richard dot Earnshaw at arm dot com, nickc at redhat dot com
- Date: Wed, 09 Jan 2002 16:14:37 +0000
- Subject: Fix broken FPA tests
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
The FPA test in the arm part of the gas testsuite is incorrectly using
some VFP register names in the instructions. This is completely bogus and
will start to fail with my following patch to clean up register name
parsing. The patch below cleans this up before I commit the patch to the
assembler.
<date> Richard Earnshaw <rearnsha@arm.com>
* gas/arm/float.s: Don't use VFP register names in fpa instructions.
Index: float.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arm/float.s,v
retrieving revision 1.2
diff -p -r1.2 float.s
*** float.s 2000/01/31 22:14:50 1.2
--- float.s 2002/01/09 16:08:21
***************
*** 4,24 ****
mvfeqe f3, f5
mvfeqd f4, #1.0
mvfs f4, f7
! mvfsp s0, s1
! mvfdm s3, s4
! mvfez s7, s7
adfe f0, f1, #2.0
! adfeqe f1, s2, #0.5
! adfsm f3, f4, s5
! sufd d0, f0, #2.0
! sufs d1, d2, #10.0
! sufneez d3, d4, d5
rsfs f1, f1, #0.0
rsfdp f3, f0, #5.0
! rsfled f7, s6, f0
mufd f0, f0, f0
mufez f1, f2, #3.0
--- 4,24 ----
mvfeqe f3, f5
mvfeqd f4, #1.0
mvfs f4, f7
! mvfsp f0, f1
! mvfdm f3, f4
! mvfez f7, f7
adfe f0, f1, #2.0
! adfeqe f1, f2, #0.5
! adfsm f3, f4, f5
! sufd f0, f0, #2.0
! sufs f1, f2, #10.0
! sufneez f3, f4, f5
rsfs f1, f1, #0.0
rsfdp f3, f0, #5.0
! rsfled f7, f6, f0
mufd f0, f0, f0
mufez f1, f2, #3.0
***************
*** 34,42 ****
powd f0, f2, f3
pows f1, f3, #0e1e1
! powcsez f4, d7, #1
! rpws f7, d6, f7
rpweqd f0, f1, f2
rpwem f2, f2, f3
--- 34,42 ----
powd f0, f2, f3
pows f1, f3, #0e1e1
! powcsez f4, f7, #1
! rpws f7, f6, f7
rpweqd f0, f1, f2
rpwem f2, f2, f3