This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[applied patch] define interlocks macros right for SB-1 intc-mips.c
- To: binutils at sources dot redhat dot com
- Subject: [applied patch] define interlocks macros right for SB-1 intc-mips.c
- From: cgd at broadcom dot com
- Date: 24 Oct 2001 14:08:35 -0700
trivial; applied. ran it through my normal set of tests to make sure
i didn't break anything else.
gas/ChangeLog:
2001-10-24 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (hilo_interlocks, cop_interlocks): Make
these evaluate to true if mips_arch indicates SB-1.
Index: config/tc-mips.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-mips.c,v
retrieving revision 1.86
diff -u -r1.86 tc-mips.c
--- tc-mips.c 2001/10/21 05:58:55 1.86
+++ tc-mips.c 2001/10/24 21:07:00
@@ -258,6 +258,7 @@
require nops to be inserted. */
#define hilo_interlocks (mips_arch == CPU_R4010 \
+ || mips_arch == CPU_SB1 \
)
/* Whether the processor uses hardware interlocks to protect reads
@@ -270,6 +271,7 @@
(co-processor) interlocks. */
/* Itbl support may require additional care here. */
#define cop_interlocks (mips_arch == CPU_R4300 \
+ || mips_arch == CPU_SB1 \
)
/* Is this a mfhi or mflo instruction? */