This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Add MIPS 4ksc and 4ksd processors



Just for the record, the 4ksc and 4ksd are smartmips versions of the 4kc and 4kec. You probably want to enable use of smartmips insn automatically for these processors.


David

Sandra Loosemore wrote:
OK to commit?

-Sandra


------------------------------------------------------------------------


2007-07-04  Sandra Loosemore  <sandra@codesourcery.com>
	    David Ung  <davidu@mips.com>

	gcc/
	* config/mips/mips.c (mips_cpu_info): Add 4ksc and 4ksd processors.
	* doc/invoke.texi: (MIPS Options): Document them.


------------------------------------------------------------------------


Index: gcc/config/mips/mips.c
===================================================================
*** gcc/config/mips/mips.c (revision 126323)
--- gcc/config/mips/mips.c (working copy)
*************** const struct mips_cpu_info mips_cpu_info
*** 766,777 ****
--- 766,779 ----
{ "4kc", PROCESSOR_4KC, 32 },
{ "4km", PROCESSOR_4KC, 32 }, /* = 4kc */
{ "4kp", PROCESSOR_4KP, 32 },
+ { "4ksc", PROCESSOR_4KC, 32 },
/* MIPS32 Release 2 */
{ "m4k", PROCESSOR_M4K, 33 },
{ "4kec", PROCESSOR_4KC, 33 },
{ "4kem", PROCESSOR_4KC, 33 },
{ "4kep", PROCESSOR_4KP, 33 },
+ { "4ksd", PROCESSOR_4KC, 33 },
{ "24kc", PROCESSOR_24KC, 33 },
{ "24kf2_1", PROCESSOR_24KF2_1, 33 },
Index: gcc/doc/invoke.texi
===================================================================
*** gcc/doc/invoke.texi (revision 126323)
--- gcc/doc/invoke.texi (working copy)
*************** The ISA names are:
*** 11424,11431 ****
@samp{mips1}, @samp{mips2}, @samp{mips3}, @samp{mips4},
@samp{mips32}, @samp{mips32r2}, and @samp{mips64}.
The processor names are:
! @samp{4kc}, @samp{4km}, @samp{4kp},
! @samp{4kec}, @samp{4kem}, @samp{4kep},
@samp{5kc}, @samp{5kf},
@samp{20kc},
@samp{24kc}, @samp{24kf2_1}, @samp{24kf1_1},
--- 11425,11432 ----
@samp{mips1}, @samp{mips2}, @samp{mips3}, @samp{mips4},
@samp{mips32}, @samp{mips32r2}, and @samp{mips64}.
The processor names are:
! @samp{4kc}, @samp{4km}, @samp{4kp}, @samp{4ksc},
! @samp{4kec}, @samp{4kem}, @samp{4kep}, @samp{4ksd},
@samp{5kc}, @samp{5kf},
@samp{20kc},
@samp{24kc}, @samp{24kf2_1}, @samp{24kf1_1},


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