public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Fix broken FPA tests
@ 2002-01-09  9:24 Richard Earnshaw
  0 siblings, 0 replies; only message in thread
From: Richard Earnshaw @ 2002-01-09  9:24 UTC (permalink / raw)
  To: binutils; +Cc: Richard.Earnshaw, nickc

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]


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.



[-- Attachment #2: fpatest.patch --]
[-- Type: text/x-patch , Size: 1300 bytes --]

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
  

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-01-09 16:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-09  9:24 Fix broken FPA tests Richard Earnshaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).