This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
fix Xtensa assembler false conflict errors
- From: Bob Wilson <bwilson at tensilica dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 11 Apr 2005 15:49:48 -0700
- Subject: fix Xtensa assembler false conflict errors
- Organization: Tensilica, Inc.
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.
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)