Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/gnu/dist/toolchain/gcc/config/arm Pull up revision 1.5 ...



details:   https://anonhg.NetBSD.org/src/rev/df5651ee7c1b
branches:  netbsd-1-6
changeset: 529360:df5651ee7c1b
user:      he <he%NetBSD.org@localhost>
date:      Sat Nov 16 09:21:47 2002 +0000

description:
Pull up revision 1.5 (requested by thorpej in ticket #635):
   o Add -march=armv5, -march=armv5t, -march=armv5te, which are
     internally treated like -march=armv4t, but which generate
     __ARM_ARCH_5__, __ARM_ARCH_5T__, and __ARM_ARCH_5TE__
     defines, respectively.
   o Add -mcpu=xscale, which is internally treated like
     -mcpu=strongarm, but which generates __ARM_ARCH_5TE__ and
     __XSCALE__ defines.

  These command-line options and definitions are consistent
  with gcc 3.x, and allow NetBSD Makefiles to use them in a
  forward-compatible way, and also give hand-tuned source
  code (e.g. assembly) a chance of tuning for XScale.

diffstat:

 gnu/dist/toolchain/gcc/config/arm/arm.h |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r e8aeea25e184 -r df5651ee7c1b gnu/dist/toolchain/gcc/config/arm/arm.h
--- a/gnu/dist/toolchain/gcc/config/arm/arm.h   Sat Nov 16 09:14:38 2002 +0000
+++ b/gnu/dist/toolchain/gcc/config/arm/arm.h   Sat Nov 16 09:21:47 2002 +0000
@@ -152,6 +152,10 @@
 %{march=armv3m:-D__ARM_ARCH_3M__} \
 %{march=armv4:-D__ARM_ARCH_4__} \
 %{march=armv4t:-D__ARM_ARCH_4T__} \
+%{march=armv5:-D__ARM_ARCH_5__} \
+%{march=armv5t:-D__ARM_ARCH_5T__} \
+%{march=armv5e:-D__ARM_ARCH_5E__} \
+%{march=armv5te:-D__ARM_ARCH_5TE__} \
 %{!march=*: \
  %{mcpu=arm2:-D__ARM_ARCH_2__} \
  %{mcpu=arm250:-D__ARM_ARCH_2__} \
@@ -176,6 +180,8 @@
  %{mcpu=strongarm:-D__ARM_ARCH_4__} \
  %{mcpu=strongarm110:-D__ARM_ARCH_4__} \
  %{mcpu=strongarm1100:-D__ARM_ARCH_4__} \
+ %{mcpu=xscale:-D__ARM_ARCH_5TE__} \
+ %{mcpu=xscale:-D__XSCALE__} \
  %{!mcpu*:%(cpp_cpu_arch_default)}} \
 "
 



Home | Main Index | Thread Index | Old Index