This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[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: Richard Sandiford <rdsandiford at googlemail dot com>
- Date: Sun, 16 Nov 2008 13:51:12 -0500
- Subject: [PATCH]: Map r10000 to mips4 in MIPS_ISA_LEVEL_SPEC
Small patch; Probably should have been a part of the R10K scheduling patch.
gcc/
2008-11-16 Joshua Kinard <kumba@gentoo.org>
* gcc/config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): march=r10000
to -mips4
diff -Naurp 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 13:40:31.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:-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