This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[applied patch] define interlocks macros right for SB-1 intc-mips.c


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?  */



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]