public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Fix GAS testsuite unexpected failures for d30v-elf
@ 2005-03-03 12:34 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2005-03-03 12:34 UTC (permalink / raw)
  To: binutils

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

Hi Guys,

  It appears that a couple of the listing tests in the d30v specific
  section of the GAS testsuite have not kept up with the changes in
  the assembler's output, so I am applying the attached patch to fix
  them.

Cheers
  Nick

gas/testsuite/ChangeLog
2005-03-03  Nick Clifton  <nickc@redhat.com>

	* gas/d30v/serial.l: Remove listing lines that are no longer
	emitted and fix up expected binary encoding.
	* gas/d30v/serial2.l: Likewise.
	* gas/d30v/serial2O.l: Likewise.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: d30v.patch --]
[-- Type: text/x-patch, Size: 5565 bytes --]

Index: gas/testsuite/gas/d30v/serial.l
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/d30v/serial.l,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 serial.l
*** gas/testsuite/gas/d30v/serial.l	3 May 1999 07:28:48 -0000	1.1.1.1
--- gas/testsuite/gas/d30v/serial.l	3 Mar 2005 12:31:14 -0000
*************** GAS LISTING .*
*** 11,22 ****
     3              	# In the following examples, the right-subinstructions
     4              	# will never be executed.  GAS should detect this.
     5              		
!    6 \?\?\?\? 000000F0 		trap r21 -> add r2, r0, r0 ; right instruction will never be executed.
  \*\*\*\*  Error:Unable to mix instructions as specified
!    6      000000F0 
!    6      000000F0 
!    6      00000090 
!    6      001500F0 
     7 \?\?\?\? 08002000 		dbt     -> add r2, r0, r0               ; ditto
  \*\*\*\*  Error:Unable to mix instructions as specified
     7      00F00000 
--- 11,19 ----
     3              	# In the following examples, the right-subinstructions
     4              	# will never be executed.  GAS should detect this.
     5              		
!    6 \?\?\?\? ........ 		trap r21 -> add r2, r0, r0 ; right instruction will never be executed.
  \*\*\*\*  Error:Unable to mix instructions as specified
!    6      ........ 
     7 \?\?\?\? 08002000 		dbt     -> add r2, r0, r0               ; ditto
  \*\*\*\*  Error:Unable to mix instructions as specified
     7      00F00000 
Index: gas/testsuite/gas/d30v/serial2.l
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/d30v/serial2.l,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 serial2.l
*** gas/testsuite/gas/d30v/serial2.l	3 May 1999 07:28:48 -0000	1.1.1.1
--- gas/testsuite/gas/d30v/serial2.l	3 Mar 2005 12:31:14 -0000
*************** GAS LISTING .*
*** 26,37 ****
     2              		
     3              		.text
     4              		
!    5 \?\?\?\? 000000F0 		bra -3 -> add r3,r0,0	; Invalid
  \*\*\*\*  Error:Unable to mix instructions as specified
!    5      000000F0 
!    5      000000F0 
!    5      0000000B 
!    5      FFFF00F0 
     6 \?\?\?\? 08083000 		bsr -3 -> add r3,r0,0	; Invalid
  \*\*\*\*  Error:Unable to mix instructions as specified
     6      00F00000 
--- 26,34 ----
     2              		
     3              		.text
     4              		
!    5 \?\?\?\? ........ 		bra -3 -> add r3,r0,0	; Invalid
  \*\*\*\*  Error:Unable to mix instructions as specified
!    5      ........ 
     6 \?\?\?\? 08083000 		bsr -3 -> add r3,r0,0	; Invalid
  \*\*\*\*  Error:Unable to mix instructions as specified
     6      00F00000 
*************** GAS LISTING .*
*** 79,91 ****
  \*\*\*\*  Error:Unable to mix instructions as specified
    17      00F00000 
    17      000BFFFF 
- \fGAS LISTING .*
- 
- 
    17      00F00000 
    18 \?\?\?\? 10080001 		bra/tx -3 -> bra 10     ;      Valid
  \*\*\*\*  Error:Unable to mix instructions as specified
    18      00F00000 
    18      100BFFFF 
    18      00F00000 
    19 \?\?\?\? 00080001 		bra/tx -3 -> bra/fx 10  ;      Valid
--- 76,88 ----
  \*\*\*\*  Error:Unable to mix instructions as specified
    17      00F00000 
    17      000BFFFF 
    17      00F00000 
    18 \?\?\?\? 10080001 		bra/tx -3 -> bra 10     ;      Valid
  \*\*\*\*  Error:Unable to mix instructions as specified
    18      00F00000 
+ \fGAS LISTING .*
+ 
+ 
    18      100BFFFF 
    18      00F00000 
    19 \?\?\?\? 00080001 		bra/tx -3 -> bra/fx 10  ;      Valid
Index: gas/testsuite/gas/d30v/serial2O.l
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/d30v/serial2O.l,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 serial2O.l
*** gas/testsuite/gas/d30v/serial2O.l	3 May 1999 07:28:49 -0000	1.1.1.1
--- gas/testsuite/gas/d30v/serial2O.l	3 Mar 2005 12:31:14 -0000
*************** GAS LISTING .*
*** 16,27 ****
     2              		
     3              		.text
     4              		
!    5 \?\?\?\? 000000F0 		bra -3 -> add r3,r0,0	; Invalid
  \*\*\*\*  Error:Unable to mix instructions as specified
!    5      000000F0 
!    5      000000F0 
!    5      0000000B 
!    5      FFFF00F0 
     6 \?\?\?\? 08083000 		bsr -3 -> add r3,r0,0	; Invalid
  \*\*\*\*  Error:Unable to mix instructions as specified
     6      00F00000 
--- 16,24 ----
     2              		
     3              		.text
     4              		
!    5 \?\?\?\? ........ 		bra -3 -> add r3,r0,0	; Invalid
  \*\*\*\*  Error:Unable to mix instructions as specified
!    5      ........ 
     6 \?\?\?\? 08083000 		bsr -3 -> add r3,r0,0	; Invalid
  \*\*\*\*  Error:Unable to mix instructions as specified
     6      00F00000 
*************** GAS LISTING .*
*** 69,80 ****
  \*\*\*\*  Error:Unable to mix instructions as specified
    21      00F00000 
    22 \?\?\?\? 00080001 		bsr -3 -> bra/tx 10     ;      Invalid
- \fGAS LISTING .*
- 
- 
  \*\*\*\*  Error:Unable to mix instructions as specified
    22      00F00000 
    22      002BFFFF 
    22      00F00000 
    23 \?\?\?\? 10080001 		bsr/tx -3 -> bra 10     ;      Valid
    23      00F00000 
--- 66,77 ----
  \*\*\*\*  Error:Unable to mix instructions as specified
    21      00F00000 
    22 \?\?\?\? 00080001 		bsr -3 -> bra/tx 10     ;      Invalid
  \*\*\*\*  Error:Unable to mix instructions as specified
    22      00F00000 
    22      002BFFFF 
+ \fGAS LISTING .*
+ 
+ 
    22      00F00000 
    23 \?\?\?\? 10080001 		bsr/tx -3 -> bra 10     ;      Valid
    23      00F00000 

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

only message in thread, other threads:[~2005-03-03 12:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-03 12:34 Fix GAS testsuite unexpected failures for d30v-elf Nick Clifton

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).