This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Map r10000 to mips4 in MIPS_ISA_LEVEL_SPEC
- From: Kumba <kumba at gentoo dot org>
- To: gcc-patches at gcc dot gnu dot org
- Cc: rdsandiford at googlemail dot com
- Date: Sun, 16 Nov 2008 15:54:57 -0500
- Subject: Re: [PATCH]: Map r10000 to mips4 in MIPS_ISA_LEVEL_SPEC
- References: <49206BA0.2080701@gentoo.org> <87r65bs9k3.fsf@firetop.home>
Richard Sandiford wrote:
As Maciej says, this should include r12000, r14000 and r16000 as well.
Looks good otherwise.
ChangeLog should be "* config/mips/mips.c" instead of "* gcc/...".
Needed more caffeine :)
Not sure if march=1*000 is valid, or march=r1[0246]000 works, so I just listed
them all out.
gcc/
2008-11-16 Joshua Kinard <kumba@gentoo.org>
* config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): march=r1*000
to -mips4
diff -Naurp -x .svn gcc.orig/gcc/config/mips/mips.h gcc/gcc/config/mips/mips.h
--- gcc.orig/gcc/config/mips/mips.h 2008-11-15 22:50:37.000000000 -0500
+++ gcc/gcc/config/mips/mips.h 2008-11-16 15:39:32.000000000 -0500
@@ -699,7 +699,8 @@ enum mips_code_readable_setting {
%{march=mips1|march=r2000|march=r3000|march=r3900:-mips1} \
%{march=mips2|march=r6000:-mips2} \
%{march=mips3|march=r4*|march=vr4*|march=orion|march=loongson2*:-mips3} \
- %{march=mips4|march=r8000|march=vr5*|march=rm7000|march=rm9000:-mips4} \
+ %{march=mips4|march=r8000|march=vr5*|march=rm7000|march=rm9000 \
+ |march=r10000|march=r12000|march=r14000|march=r16000:-mips4} \
%{march=mips32|march=4kc|march=4km|march=4kp|march=4ksc:-mips32} \
%{march=mips32r2|march=m4k|march=4ke*|march=4ksd|march=24k* \
|march=34k*|march=74k*: -mips32r2} \
--
Joshua Kinard
Gentoo/MIPS
kumba@gentoo.org
"The past tempts us, the present confuses us, the future frightens us. And our
lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic