This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Obvious patch to add r4111 to mips.md
- From: Graham Stott <graham dot stott at btinternet dot com>
- To: Richard Sandiford <rsandifo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 08 Oct 2002 18:33:00 +0100
- Subject: Re: Obvious patch to add r4111 to mips.md
- References: <wvnzntphvpo.fsf@talisman.cambridge.redhat.com>
Richard,
+ "default,r3000,r3900,r6000,r4000,r4100,r4111,r4120,r4300,r4600,r4650,r5000,r5400,r5500,r8000,sr71000,r4kc,r5kc,r20kc"
Good catch but define_attr "cpu" and "enum processor_type are still out of sync :-(
enum processor_type {
PROCESSOR_DEFAULT,
PROCESSOR_R3000,
PROCESSOR_R3900,
PROCESSOR_R6000,
PROCESSOR_R4000,
PROCESSOR_R4100,
PROCESSOR_R4111,
PROCESSOR_R4120,
PROCESSOR_R4300,
PROCESSOR_R4600,
PROCESSOR_R4650,
PROCESSOR_R5000,
PROCESSOR_R5400,
PROCESSOR_R5500,
PROCESSOR_R8000,
PROCESSOR_R4KC,
PROCESSOR_R5KC,
PROCESSOR_R20KC,
PROCESSOR_SR71000,
PROCESSOR_SB1
};
We are OK up to R8000 but the remainder are out of sync.
There really ought to be an automatic check that these two entities are in sync
we always end up breaking this stuff and not only on mips. At various times in the past
this has been broken on x86 and rs6000.
Cheers
Graham