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]

[csl-arm-brach] Add -march=armv6


Following patch adds -march=armv6 as an alias of -march=armv6j.

Applied to arm-csl-branch.

2003-12-23  Paul Brook  <paul@codesourcery.com>

	* config/arm/arm.c (all_architectures): Add armv6.
	* doc/invoke.texi: Document it.

? libstdc++-v3/testsuite/17_intro/a.out
Index: gcc/config/arm/arm.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/arm.c,v
retrieving revision 1.303.2.6
diff -u -p -r1.303.2.6 arm.c
--- gcc/config/arm/arm.c	18 Dec 2003 13:42:43 -0000	1.303.2.6
+++ gcc/config/arm/arm.c	23 Dec 2003 21:54:24 -0000
@@ -417,6 +417,7 @@ static const struct processors all_archi
   { "armv5",     arm10tdmi,  FL_CO_PROC |             FL_MODE32 | 
FL_FAST_MULT | FL_ARCH4 | FL_THUMB | FL_ARCH5 },
   { "armv5t",    arm10tdmi,  FL_CO_PROC |             FL_MODE32 | 
FL_FAST_MULT | FL_ARCH4 | FL_THUMB | FL_ARCH5 },
   { "armv5te",   arm1026ejs, FL_CO_PROC |             FL_MODE32 | 
FL_FAST_MULT | FL_ARCH4 | FL_THUMB | FL_ARCH5 | FL_ARCH5E },
+  { "armv6",     arm1136js,  FL_CO_PROC |             FL_MODE32 | 
FL_FAST_MULT | FL_ARCH4 | FL_THUMB | FL_ARCH5 | FL_ARCH5E | FL_ARCH6J },
   { "armv6j",    arm1136js,  FL_CO_PROC |             FL_MODE32 | 
FL_FAST_MULT | FL_ARCH4 | FL_THUMB | FL_ARCH5 | FL_ARCH5E | FL_ARCH6J },
   { "ep9312",	 ep9312, 			      FL_MODE32 | FL_FAST_MULT | FL_ARCH4 | 
FL_LDSCHED | FL_CIRRUS },
   {"iwmmxt",     iwmmxt,                              FL_MODE32 | 
FL_FAST_MULT | FL_ARCH4 | FL_THUMB | FL_LDSCHED | FL_STRONG | FL_ARCH5 | 
FL_ARCH5E | FL_XSCALE | FL_IWMMXT },
Index: gcc/doc/invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.356.2.1
diff -u -p -r1.356.2.1 invoke.texi
--- gcc/doc/invoke.texi	10 Dec 2003 12:16:05 -0000	1.356.2.1
+++ gcc/doc/invoke.texi	23 Dec 2003 21:54:31 -0000
@@ -6686,7 +6686,7 @@ name to determine what kind of instructi
 assembly code.  This option can be used in conjunction with or instead
 of the @option{-mcpu=} option.  Permissible names are: @samp{armv2},
 @samp{armv2a}, @samp{armv3}, @samp{armv3m}, @samp{armv4}, @samp{armv4t},
-@samp{armv5}, @samp{armv5t}, @samp{armv5te}, @samp{armv6j},
+@samp{armv5}, @samp{armv5t}, @samp{armv5te}, @samp{armv6}, @samp{armv6j},
 @samp{iwmmxt}, @samp{ep9312}.
 
 @item -mfpu=@var{name}


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