aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/mips.c
diff options
context:
space:
mode:
authorDavid Ung <davidu@mips.com>2005-05-09 11:43:50 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2005-05-09 11:43:50 +0000
commit880986c1acd57c72dc9f59c6927c09074da882b5 (patch)
treed67cc008403374cb0f202b2cc68c9da805aa874e /gcc/config/mips/mips.c
parentf5b9e7c92c7deea00449d6ef581275f842b299fc (diff)
downloadgcc-880986c1acd57c72dc9f59c6927c09074da882b5.zip
gcc-880986c1acd57c72dc9f59c6927c09074da882b5.tar.gz
gcc-880986c1acd57c72dc9f59c6927c09074da882b5.tar.bz2
mips.h (processor_type): Add names for the 24K.
* config/mips/mips.h (processor_type): Add names for the 24K. * config/mips/mips.c (mips_cpu_info_table): Add names for the 24K processor family. * config/mips/mips.md (cnv_mode): New attribute for recording the conversion types of float convert insns. (cpu): Add 24k and 24kx. (include): Include 24k.md file. (truncdfsf2, extendsfdf2, fix_truncdfsi2_insn, fix_truncdfsi2_macro) (fix_truncdfdi2, fix_truncsfdi2, floatsidf2, floatdidf2, floatsisf2) (floatdisf2): Setup cnv_mode. (fix_truncsfsi2_insn, fix_truncsfsi2_macro): Changed mode to SF and setup cnv_mode. * config/mips/24k.md: New file, contains 24k DFA pipeline description. From-SVN: r99429
Diffstat (limited to 'gcc/config/mips/mips.c')
-rw-r--r--gcc/config/mips/mips.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 824127a..622f704 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -699,6 +699,10 @@ const struct mips_cpu_info mips_cpu_info_table[] = {
/* MIPS32 Release 2 */
{ "m4k", PROCESSOR_M4K, 33 },
+ { "24k", PROCESSOR_24K, 33 },
+ { "24kc", PROCESSOR_24K, 33 }, /* 24K no FPU */
+ { "24kf", PROCESSOR_24K, 33 }, /* 24K 1:2 FPU */
+ { "24kx", PROCESSOR_24KX, 33 }, /* 24K 1:1 FPU */
/* MIPS64 */
{ "5kc", PROCESSOR_5KC, 64 },