From f9e8581ad41c49a22d1b9e38c3a230956cd61312 Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Tue, 3 Aug 2004 13:52:49 +0000 Subject: [PATCH] arm-cores.def: Sort by architecture. * arm-cores.def: Sort by architecture. Add arm946es, arm966es, arm968es, arm10e, arm1020e, arm1022e. * invoke.texi: Update list of ARM cores. * arm-tune.md: Regenerate. From-SVN: r85476 --- gcc/ChangeLog | 7 +++++ gcc/config/arm/arm-cores.def | 56 ++++++++++++++++++++++++------------ gcc/config/arm/arm-tune.md | 2 +- gcc/doc/invoke.texi | 4 ++- 4 files changed, 49 insertions(+), 20 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1bf347c1a96..30dfb57432a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2004-08-03 Richard Earnshaw + + * arm-cores.def: Sort by architecture. Add arm946es, arm966es, + arm968es, arm10e, arm1020e, arm1022e. + * invoke.texi: Update list of ARM cores. + * arm-tune.md: Regenerate. + 2004-08-03 Richard Earnshaw * arm/gentune.sh: New file. diff --git a/gcc/config/arm/arm-cores.def b/gcc/config/arm/arm-cores.def index cf08aa865f3..be3ade3c1ad 100644 --- a/gcc/config/arm/arm-cores.def +++ b/gcc/config/arm/arm-cores.def @@ -35,22 +35,20 @@ Some tools assume no whitespace up to the first "," in each entry. */ +/* V2/V2A Architecture Processors */ ARM_CORE(arm2, 2, FL_CO_PROC | FL_MODE26, slowmul) ARM_CORE(arm250, 2, FL_CO_PROC | FL_MODE26, slowmul) ARM_CORE(arm3, 2, FL_CO_PROC | FL_MODE26, slowmul) + +/* V3 Architecture Processors */ ARM_CORE(arm6, 3, FL_CO_PROC | FL_MODE26, slowmul) ARM_CORE(arm60, 3, FL_CO_PROC | FL_MODE26, slowmul) ARM_CORE(arm600, 3, FL_CO_PROC | FL_MODE26, slowmul) ARM_CORE(arm610, 3, FL_MODE26, slowmul) ARM_CORE(arm620, 3, FL_CO_PROC | FL_MODE26, slowmul) ARM_CORE(arm7, 3, FL_CO_PROC | FL_MODE26, slowmul) -/* arm7m doesn't exist on its own, but only with D, (and I), but - those don't alter the code, so arm7m is sometimes used. */ -ARM_CORE(arm7m, 3M, FL_CO_PROC | FL_MODE26, fastmul) ARM_CORE(arm7d, 3, FL_CO_PROC | FL_MODE26, slowmul) -ARM_CORE(arm7dm, 3M, FL_CO_PROC | FL_MODE26, fastmul) ARM_CORE(arm7di, 3, FL_CO_PROC | FL_MODE26, slowmul) -ARM_CORE(arm7dmi, 3M, FL_CO_PROC | FL_MODE26, fastmul) ARM_CORE(arm70, 3, FL_CO_PROC | FL_MODE26, slowmul) ARM_CORE(arm700, 3, FL_CO_PROC | FL_MODE26, slowmul) ARM_CORE(arm700i, 3, FL_CO_PROC | FL_MODE26, slowmul) @@ -61,32 +59,54 @@ ARM_CORE(arm7100, 3, FL_MODE26, slowmul) ARM_CORE(arm7500, 3, FL_MODE26, slowmul) /* Doesn't have an external co-proc, but does have embedded fpa. */ ARM_CORE(arm7500fe, 3, FL_CO_PROC | FL_MODE26, slowmul) + +/* V3M Architecture Processors */ +/* arm7m doesn't exist on its own, but only with D, (and I), but + those don't alter the code, so arm7m is sometimes used. */ +ARM_CORE(arm7m, 3M, FL_CO_PROC | FL_MODE26, fastmul) +ARM_CORE(arm7dm, 3M, FL_CO_PROC | FL_MODE26, fastmul) +ARM_CORE(arm7dmi, 3M, FL_CO_PROC | FL_MODE26, fastmul) + /* V4 Architecture Processors */ +ARM_CORE(arm8, 4, FL_MODE26 | FL_LDSCHED, fastmul) +ARM_CORE(arm810, 4, FL_MODE26 | FL_LDSCHED, fastmul) +ARM_CORE(strongarm, 4, FL_MODE26 | FL_LDSCHED | FL_STRONG, fastmul) +ARM_CORE(strongarm110, 4, FL_MODE26 | FL_LDSCHED | FL_STRONG, fastmul) +ARM_CORE(strongarm1100, 4, FL_MODE26 | FL_LDSCHED | FL_STRONG, fastmul) +ARM_CORE(strongarm1110, 4, FL_MODE26 | FL_LDSCHED | FL_STRONG, fastmul) + +/* V4T Architecture Processors */ ARM_CORE(arm7tdmi, 4T, FL_CO_PROC , fastmul) ARM_CORE(arm710t, 4T, 0 , fastmul) ARM_CORE(arm720t, 4T, 0 , fastmul) ARM_CORE(arm740t, 4T, 0 , fastmul) -ARM_CORE(arm8, 4, FL_MODE26 | FL_LDSCHED, fastmul) -ARM_CORE(arm810, 4, FL_MODE26 | FL_LDSCHED, fastmul) ARM_CORE(arm9, 4T, FL_LDSCHED, fastmul) -ARM_CORE(arm920, 4, FL_LDSCHED, fastmul) +ARM_CORE(arm9tdmi, 4T, FL_LDSCHED, fastmul) +ARM_CORE(arm920, 4T, FL_LDSCHED, fastmul) ARM_CORE(arm920t, 4T, FL_LDSCHED, fastmul) +ARM_CORE(arm922t, 4T, FL_LDSCHED, fastmul) ARM_CORE(arm940t, 4T, FL_LDSCHED, fastmul) -ARM_CORE(arm9tdmi, 4T, FL_LDSCHED, fastmul) -ARM_CORE(arm9e, 4, FL_LDSCHED, 9e) - ARM_CORE(ep9312, 4T, FL_LDSCHED | FL_CIRRUS, fastmul) -ARM_CORE(strongarm, 4, FL_MODE26 | FL_LDSCHED | FL_STRONG, fastmul) -ARM_CORE(strongarm110, 4, FL_MODE26 | FL_LDSCHED | FL_STRONG, fastmul) -ARM_CORE(strongarm1100, 4, FL_MODE26 | FL_LDSCHED | FL_STRONG, fastmul) -ARM_CORE(strongarm1110, 4, FL_MODE26 | FL_LDSCHED | FL_STRONG, fastmul) -/* V5 Architecture Processors */ + +/* V5T Architecture Processors */ ARM_CORE(arm10tdmi, 5T, FL_LDSCHED, fastmul) ARM_CORE(arm1020t, 5T, FL_LDSCHED, fastmul) -ARM_CORE(arm926ejs, 5TEJ, 0, 9e) -ARM_CORE(arm1026ejs, 5TEJ, 0, 9e) + +/* V5TE Architecture Processors */ +ARM_CORE(arm9e, 5TE, FL_LDSCHED, 9e) +ARM_CORE(arm946es, 5TE, FL_LDSCHED, 9e) +ARM_CORE(arm966es, 5TE, FL_LDSCHED, 9e) +ARM_CORE(arm968es, 5TE, FL_LDSCHED, 9e) +ARM_CORE(arm10e, 5TE, FL_LDSCHED, fastmul) +ARM_CORE(arm1020e, 5TE, FL_LDSCHED, fastmul) +ARM_CORE(arm1022e, 5TE, FL_LDSCHED, fastmul) ARM_CORE(xscale, 5TE, FL_LDSCHED | FL_STRONG | FL_XSCALE, xscale) ARM_CORE(iwmmxt, 5TE, FL_LDSCHED | FL_STRONG | FL_XSCALE | FL_IWMMXT, xscale) + +/* V5TEJ Architecture Processors */ +ARM_CORE(arm926ejs, 5TEJ, 0, 9e) +ARM_CORE(arm1026ejs, 5TEJ, 0, 9e) + /* V6 Architecture Processors */ ARM_CORE(arm1136js, 6J, 0, 9e) ARM_CORE(arm1136jfs, 6J, FL_VFPV2, 9e) diff --git a/gcc/config/arm/arm-tune.md b/gcc/config/arm/arm-tune.md index cd235875329..8bdfd20e162 100644 --- a/gcc/config/arm/arm-tune.md +++ b/gcc/config/arm/arm-tune.md @@ -1,5 +1,5 @@ ;; -*- buffer-read-only: t -*- ;; Generated automatically by gentune.sh from arm-cores.def (define_attr "tune" - "arm2,arm250,arm3,arm6,arm60,arm600,arm610,arm620,arm7,arm7m,arm7d,arm7dm,arm7di,arm7dmi,arm70,arm700,arm700i,arm710,arm720,arm710c,arm7100,arm7500,arm7500fe,arm7tdmi,arm710t,arm720t,arm740t,arm8,arm810,arm9,arm920,arm920t,arm940t,arm9tdmi,arm9e,ep9312,strongarm,strongarm110,strongarm1100,strongarm1110,arm10tdmi,arm1020t,arm926ejs,arm1026ejs,xscale,iwmmxt,arm1136js,arm1136jfs" + "arm2,arm250,arm3,arm6,arm60,arm600,arm610,arm620,arm7,arm7d,arm7di,arm70,arm700,arm700i,arm710,arm720,arm710c,arm7100,arm7500,arm7500fe,arm7m,arm7dm,arm7dmi,arm8,arm810,strongarm,strongarm110,strongarm1100,strongarm1110,arm7tdmi,arm710t,arm720t,arm740t,arm9,arm9tdmi,arm920,arm920t,arm922t,arm940t,ep9312,arm10tdmi,arm1020t,arm9e,arm946es,arm966es,arm968es,arm10e,arm1020e,arm1022e,xscale,iwmmxt,arm926ejs,arm1026ejs,arm1136js,arm1136jfs" (const (symbol_ref "arm_tune"))) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 902df3e61f0..d620f481fd8 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -6502,8 +6502,10 @@ assembly code. Permissible names are: @samp{arm2}, @samp{arm250}, @samp{arm7500}, @samp{arm7500fe}, @samp{arm7tdmi}, @samp{arm8}, @samp{strongarm}, @samp{strongarm110}, @samp{strongarm1100}, @samp{arm8}, @samp{arm810}, @samp{arm9}, @samp{arm9e}, @samp{arm920}, -@samp{arm920t}, @samp{arm926ejs}, @samp{arm940t}, @samp{arm9tdmi}, +@samp{arm920t}, @samp{arm922t}, @samp{arm946es}, @samp{arm966es}, +@samp{arm968es}, @samp{arm926ejs}, @samp{arm940t}, @samp{arm9tdmi}, @samp{arm10tdmi}, @samp{arm1020t}, @samp{arm1026ejs}, +@samp{arm10e}, @samp{arm1020e}, @samp{arm1022e}, @samp{arm1136js}, @samp{arm1136jfs} ,@samp{xscale}, @samp{iwmmxt}, @samp{ep9312}. -- 2.30.2