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] cortex-m0 support


Sorry, now I used gentune.sh to regenerate the file.

Daniel.

2009-06-25 Daniel Gutson <dgutson@codesourcery.com>

	gcc/
	* config/arm/arm-cores.def: Added core cortex-m0.
	* config/arm/arm-tune.md: Regenerated.
	* doc/invoke.texi: Added entry for cpu ARM Cortex-M0.



Richard Earnshaw wrote:
On Thu, 2009-06-25 at 01:16 -0300, Daniel Gutson wrote:
Hi,
the following small patch adds support for the ARM Cortex-M0 processor, as a behavior clone of Cortex-M1.


This is the gcc counterpart of the binutils patch submitted in http://sourceware.org/ml/binutils/2009-03/msg00373.html

If approved, please commit it for me since I don't have write access.

Thanks,
	Daniel.

---

2009-06-25 Daniel Gutson <dgutson@codesourcery.com>

	gcc/
	* config/arm/arm-cores.def: Added core cortex-m0.
	* config/arm/arm-tune.md ("tune"): Aded cortexm0.
	* doc/invoke.texi: Added entry for cpu ARM Cortex-M0.


arm-tune.md is an automatically generated file (see the comment at the
top of it); it looks like you've hand-edited that (white space changes).

The correct changelog entry should then state that the file is
re-generated, not that you've added something.

R.


-- Daniel Gutson CodeSourcery dgutson@codesourcery.com
Index: gcc/doc/invoke.texi
===================================================================
--- gcc/doc/invoke.texi	(revision 148925)
+++ gcc/doc/invoke.texi	(working copy)
@@ -9271,6 +9271,7 @@ assembly code.  Permissible names are: @
 @samp{cortex-a8}, @samp{cortex-a9},
 @samp{cortex-r4}, @samp{cortex-r4f}, @samp{cortex-m3},
 @samp{cortex-m1},
+@samp{cortex-m0},
 @samp{xscale}, @samp{iwmmxt}, @samp{iwmmxt2}, @samp{ep9312}.
 
 @item -mtune=@var{name}
Index: gcc/config/arm/arm-cores.def
===================================================================
--- gcc/config/arm/arm-cores.def	(revision 148925)
+++ gcc/config/arm/arm-cores.def	(working copy)
@@ -124,3 +124,4 @@ ARM_CORE("cortex-r4",	  cortexr4,	7R,			
 ARM_CORE("cortex-r4f",	  cortexr4f,	7R,				 FL_LDSCHED, 9e)
 ARM_CORE("cortex-m3",	  cortexm3,	7M,				 FL_LDSCHED, 9e)
 ARM_CORE("cortex-m1",	  cortexm1,	6M,				 FL_LDSCHED, 9e)
+ARM_CORE("cortex-m0",	  cortexm0,	6M,				 FL_LDSCHED, 9e)
Index: gcc/config/arm/arm-tune.md
===================================================================
--- gcc/config/arm/arm-tune.md	(revision 148925)
+++ gcc/config/arm/arm-tune.md	(working copy)
@@ -1,5 +1,6 @@
 ;; -*- 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,arm7d,arm7di,arm70,arm700,arm700i,arm710,arm720,arm710c,arm7100,arm7500,arm7500fe,arm7m,arm7dm,arm7dmi,arm8,arm810,strongarm,strongarm110,strongarm1100,strongarm1110,arm7tdmi,arm7tdmis,arm710t,arm720t,arm740t,arm9,arm9tdmi,arm920,arm920t,arm922t,arm940t,ep9312,arm10tdmi,arm1020t,arm9e,arm946es,arm966es,arm968es,arm10e,arm1020e,arm1022e,xscale,iwmmxt,iwmmxt2,arm926ejs,arm1026ejs,arm1136js,arm1136jfs,arm1176jzs,arm1176jzfs,mpcorenovfp,mpcore,arm1156t2s,arm1156t2fs,cortexa8,cortexa9,cortexr4,cortexr4f,cortexm3,cortexm1"
+	
+"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,arm7tdmis,arm710t,arm720t,arm740t,arm9,arm9tdmi,arm920,arm920t,arm922t,arm940t,ep9312,arm10tdmi,arm1020t,arm9e,arm946es,arm966es,arm968es,arm10e,arm1020e,arm1022e,xscale,iwmmxt,iwmmxt2,arm926ejs,arm1026ejs,arm1136js,arm1136jfs,arm1176jzs,arm1176jzfs,mpcorenovfp,mpcore,arm1156t2s,arm1156t2fs,cortexa8,cortexa9,cortexr4,cortexr4f,cortexm3,cortexm1,cortexm0"
 	(const (symbol_ref "((enum attr_tune) arm_tune)")))

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