This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Obvious patch to add r4111 to mips.md
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: 08 Oct 2002 15:05:39 +0100
- Subject: Obvious patch to add r4111 to mips.md
Noticed while working on something else that R4111 had been
added to enum processor_type but not define_attr cpu.
Tested on mips64-elf, committed as obvious.
Richard
* config/mips/mips.md (define_attr cpu): Add r4111.
Index: config/mips/mips.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.md,v
retrieving revision 1.147
diff -u -d -p -r1.147 mips.md
--- config/mips/mips.md 1 Oct 2002 10:26:09 -0000 1.147
+++ config/mips/mips.md 8 Oct 2002 14:00:27 -0000
@@ -122,7 +122,7 @@
;; ??? Fix everything that tests this attribute.
(define_attr "cpu"
- "default,r3000,r3900,r6000,r4000,r4100,r4120,r4300,r4600,r4650,r5000,r5400,r5500,r8000,sr71000,r4kc,r5kc,r20kc"
+ "default,r3000,r3900,r6000,r4000,r4100,r4111,r4120,r4300,r4600,r4650,r5000,r5400,r5500,r8000,sr71000,r4kc,r5kc,r20kc"
(const (symbol_ref "mips_cpu_attr")))
;; Does the instruction have a mandatory delay slot?