From: Matthew Fortune Date: Tue, 12 Jun 2018 10:36:12 +0000 (+0000) Subject: MIPS: Add i6500 processor as an alias for i6400. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a3361e8d4949d502376750912eddba4da35cd39;p=gcc.git MIPS: Add i6500 processor as an alias for i6400. gcc/ChangeLog: 2018-06-12 Matthew Fortune * config/mips/mips-cpus.def: New MIPS_CPU for i6500. * config/mips/mips-tables.opt: Regenerate. * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Mark i6500 as mips64r6. * doc/invoke.texi: Document -march=i6500. From-SVN: r261490 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index afec6b93106..0b77ed1af1a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2018-06-12 Matthew Fortune + + * config/mips/mips-cpus.def: New MIPS_CPU for i6500. + * config/mips/mips-tables.opt: Regenerate. + * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Mark i6500 as + mips64r6. + * doc/invoke.texi: Document -march=i6500. + 2018-06-12 Prachi Godbole * config/mips/i6400.md (i6400_gpmuldiv): Remove cpu_unit. diff --git a/gcc/config/mips/mips-cpus.def b/gcc/config/mips/mips-cpus.def index d0640e52ba6..7314335f147 100644 --- a/gcc/config/mips/mips-cpus.def +++ b/gcc/config/mips/mips-cpus.def @@ -171,3 +171,4 @@ MIPS_CPU ("xlp", PROCESSOR_XLP, 65, PTF_AVOID_BRANCHLIKELY_SPEED) /* MIPS64 Release 6 processors. */ MIPS_CPU ("i6400", PROCESSOR_I6400, 69, 0) +MIPS_CPU ("i6500", PROCESSOR_I6400, 69, 0) diff --git a/gcc/config/mips/mips-tables.opt b/gcc/config/mips/mips-tables.opt index daccefb1c7c..d8e50b298b5 100644 --- a/gcc/config/mips/mips-tables.opt +++ b/gcc/config/mips/mips-tables.opt @@ -696,3 +696,6 @@ Enum(mips_arch_opt_value) String(xlp) Value(101) Canonical EnumValue Enum(mips_arch_opt_value) String(i6400) Value(102) Canonical +EnumValue +Enum(mips_arch_opt_value) String(i6500) Value(103) Canonical + diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index f29056016c6..705434eca39 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -782,7 +782,7 @@ struct mips_cpu_info { %{march=mips64r2|march=loongson3a|march=octeon|march=xlp: -mips64r2} \ %{march=mips64r3: -mips64r3} \ %{march=mips64r5: -mips64r5} \ - %{march=mips64r6|march=i6400: -mips64r6}}" + %{march=mips64r6|march=i6400|march=i6500: -mips64r6}}" /* A spec that injects the default multilib ISA if no architecture is specified. */ diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 5c8f66c86ce..b06ea6e7368 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -20099,7 +20099,7 @@ The processor names are: @samp{34kc}, @samp{34kf2_1}, @samp{34kf1_1}, @samp{34kn}, @samp{74kc}, @samp{74kf2_1}, @samp{74kf1_1}, @samp{74kf3_2}, @samp{1004kc}, @samp{1004kf2_1}, @samp{1004kf1_1}, -@samp{i6400}, +@samp{i6400}, @samp{i6500}, @samp{interaptiv}, @samp{loongson2e}, @samp{loongson2f}, @samp{loongson3a}, @samp{m4k},