aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Brook <pbrook@gcc.gnu.org>2004-04-29 10:28:05 +0000
committerPaul Brook <pbrook@gcc.gnu.org>2004-04-29 10:28:05 +0000
commit2682e19f4145f725b00ab21b93a35e42d71c04da (patch)
treef5f02a81f32f3c7d083dedd4c7705fe7d896ab3b
parentc520783756026a222b9b6fc0635100de0a2a2e53 (diff)
downloadgcc-2682e19f4145f725b00ab21b93a35e42d71c04da.zip
gcc-2682e19f4145f725b00ab21b93a35e42d71c04da.tar.gz
gcc-2682e19f4145f725b00ab21b93a35e42d71c04da.tar.bz2
* config.gcc: Pull list of cores from arm-cores.def.
From-SVN: r81285
-rw-r--r--gcc/ChangeLog32
-rw-r--r--gcc/config.gcc29
2 files changed, 29 insertions, 32 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 01c77f0..5848833 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2004-04-29 Paul Brook <paul@codesourcery.com>
+
+ * config.gcc: Pull list of cores from arm-cores.def.
+
2004-04-29 Paolo Bonzini <bonzini@gnu.org>
* combine.c (combine_simplify_rtx): Adjust call to use
@@ -23,20 +27,20 @@
2004-04-29 Uros Bizjak <uros@kss-loka.si>
- * reg-stack.c (swap_to_top): New function.
- (subst_stack_regs_pat): UNSPEC_FPATAN, UNSPEC_FYL2X: Use
- swap_to_top().
- (subst_stack_regs_pat): UNSPEC_FSCALE: Remove.
- (subst_stack_regs_pat): Handle UNSPEC_FSCALE_FRACT and
- UNSPEC_FSCALE_EXP.
-
- * config/i386/i386.md (UNSPEC_FSCALE): Remove.
- (*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): Remove insn pattern.
- (UNSPEC_FSCALE_FRACT, UNSPEC_FSCALE_EXP): New unspecs to represent
- x87's fscale insn.
- (*fscalexf4: Define new insn pattern to implement x87 fscale insn.
- (exp?f2, exp10?f2, exp2?f2): Use *fscalexf4 and float_truncate
- patterns.
+ * reg-stack.c (swap_to_top): New function.
+ (subst_stack_regs_pat): UNSPEC_FPATAN, UNSPEC_FYL2X: Use
+ swap_to_top().
+ (subst_stack_regs_pat): UNSPEC_FSCALE: Remove.
+ (subst_stack_regs_pat): Handle UNSPEC_FSCALE_FRACT and
+ UNSPEC_FSCALE_EXP.
+
+ * config/i386/i386.md (UNSPEC_FSCALE): Remove.
+ (*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): Remove insn pattern.
+ (UNSPEC_FSCALE_FRACT, UNSPEC_FSCALE_EXP): New unspecs to represent
+ x87's fscale insn.
+ (*fscalexf4: Define new insn pattern to implement x87 fscale insn.
+ (exp?f2, exp10?f2, exp2?f2): Use *fscalexf4 and float_truncate
+ patterns.
2004-04-28 Serge Belyshev <1319@bot.ru>
diff --git a/gcc/config.gcc b/gcc/config.gcc
index bf98002..314018e 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2212,27 +2212,20 @@ fi
arm*-*-*)
supported_defaults="arch cpu float tune fpu abi"
for which in cpu tune; do
+ # See if it matches any of the entries in arm-cores.def
eval "val=\$with_$which"
- case "$val" in
- "" \
- | arm[236789] | arm250 | arm[67][01]0 \
- | arm60 | arm620 | arm7d | arm7di \
- | arm7m | arm7dm | arm7dmi | arm[79]tdmi \
- | arm70 | arm700i | arm710t | arm720 \
- | arm720t | arm740t | arm710c | arm920 \
- | arm920t | arm926ejs | arm940t | arm9e | arm10tdmi \
- | arm7100 | arm7500 | arm7500fe | arm810 \
- | arm1026ejs | arm1020t | arm1136js | arm1136jfs \
- | xscale | iwmmxt \
- | ep9312 \
- | strongarm | strongarm110 | strongarm11[01]0)
- # OK
- ;;
- *)
+ [ x"$val" = x ] && val=unset
+ for opt in `sed -e '/ARM_CORE/!d' \
+ -e 's/ARM_CORE(\([^,]*\),.*$/\1/' \
+ ${srcdir}/config/arm/arm-cores.def` unset .
+ do
+ [ x$opt = x"$val" ] && break
+ done
+ if [ $opt = . ]; then
echo "Unknown CPU used in --with-$which=$val" 1>&2
exit 1
- ;;
- esac
+
+ fi
done
case "$with_arch" in