public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* fix Xtensa assembler false conflict errors
@ 2005-04-11 22:49 Bob Wilson
  0 siblings, 0 replies; only message in thread
From: Bob Wilson @ 2005-04-11 22:49 UTC (permalink / raw)
  To: binutils

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

There was a typo in some error checking code for Xtensa instruction conflicts 
that caused false positive errors for any instruction that accesses more than 
one external interface (e.g., a queue).  I've committed this patch on the 
mainline and 2.16 branches to fix it.

2005-04-11  Sterling Augustine  <sterling@tensilica.com>
	    Bob Wilson  <bob.wilson@acm.org>

	* config/tc-xtensa.c (check_t1_t2_reads_and_writes): Fix typo.



[-- Attachment #2: xtensa-queue-conflict.diff --]
[-- Type: text/x-patch, Size: 670 bytes --]

Index: tc-xtensa.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-xtensa.c,v
retrieving revision 1.30
diff -u -p -r1.30 tc-xtensa.c
--- tc-xtensa.c	8 Apr 2005 17:26:42 -0000	1.30
+++ tc-xtensa.c	11 Apr 2005 22:42:23 -0000
@@ -6421,7 +6421,7 @@ check_t1_t2_reads_and_writes (TInsn *t1,
 	{
 	  xtensa_interface t1_int
 	    = xtensa_interfaceOperand_interface (isa, t1->opcode, j);
-	  int t1_class = xtensa_interface_class_id (isa, t2_int);
+	  int t1_class = xtensa_interface_class_id (isa, t1_int);
 
 	  t1_inout = xtensa_interface_inout (isa, i);
 	  if (xtensa_interface_has_side_effect (isa, t1_int) == 1)

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

only message in thread, other threads:[~2005-04-11 22:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-11 22:49 fix Xtensa assembler false conflict errors Bob Wilson

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