Commit 2682e19f by Paul Brook

* config.gcc: Pull list of cores from arm-cores.def.

From-SVN: r81285
parent c5207837
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> 2004-04-29 Paolo Bonzini <bonzini@gnu.org>
* combine.c (combine_simplify_rtx): Adjust call to use * combine.c (combine_simplify_rtx): Adjust call to use
...@@ -23,20 +27,20 @@ ...@@ -23,20 +27,20 @@
2004-04-29 Uros Bizjak <uros@kss-loka.si> 2004-04-29 Uros Bizjak <uros@kss-loka.si>
* reg-stack.c (swap_to_top): New function. * reg-stack.c (swap_to_top): New function.
(subst_stack_regs_pat): UNSPEC_FPATAN, UNSPEC_FYL2X: Use (subst_stack_regs_pat): UNSPEC_FPATAN, UNSPEC_FYL2X: Use
swap_to_top(). swap_to_top().
(subst_stack_regs_pat): UNSPEC_FSCALE: Remove. (subst_stack_regs_pat): UNSPEC_FSCALE: Remove.
(subst_stack_regs_pat): Handle UNSPEC_FSCALE_FRACT and (subst_stack_regs_pat): Handle UNSPEC_FSCALE_FRACT and
UNSPEC_FSCALE_EXP. UNSPEC_FSCALE_EXP.
* config/i386/i386.md (UNSPEC_FSCALE): Remove. * config/i386/i386.md (UNSPEC_FSCALE): Remove.
(*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): Remove insn pattern. (*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): Remove insn pattern.
(UNSPEC_FSCALE_FRACT, UNSPEC_FSCALE_EXP): New unspecs to represent (UNSPEC_FSCALE_FRACT, UNSPEC_FSCALE_EXP): New unspecs to represent
x87's fscale insn. x87's fscale insn.
(*fscalexf4: Define new insn pattern to implement x87 fscale insn. (*fscalexf4: Define new insn pattern to implement x87 fscale insn.
(exp?f2, exp10?f2, exp2?f2): Use *fscalexf4 and float_truncate (exp?f2, exp10?f2, exp2?f2): Use *fscalexf4 and float_truncate
patterns. patterns.
2004-04-28 Serge Belyshev <1319@bot.ru> 2004-04-28 Serge Belyshev <1319@bot.ru>
......
...@@ -2212,27 +2212,20 @@ fi ...@@ -2212,27 +2212,20 @@ fi
arm*-*-*) arm*-*-*)
supported_defaults="arch cpu float tune fpu abi" supported_defaults="arch cpu float tune fpu abi"
for which in cpu tune; do for which in cpu tune; do
# See if it matches any of the entries in arm-cores.def
eval "val=\$with_$which" eval "val=\$with_$which"
case "$val" in [ x"$val" = x ] && val=unset
"" \ for opt in `sed -e '/ARM_CORE/!d' \
| arm[236789] | arm250 | arm[67][01]0 \ -e 's/ARM_CORE(\([^,]*\),.*$/\1/' \
| arm60 | arm620 | arm7d | arm7di \ ${srcdir}/config/arm/arm-cores.def` unset .
| arm7m | arm7dm | arm7dmi | arm[79]tdmi \ do
| arm70 | arm700i | arm710t | arm720 \ [ x$opt = x"$val" ] && break
| arm720t | arm740t | arm710c | arm920 \ done
| arm920t | arm926ejs | arm940t | arm9e | arm10tdmi \ if [ $opt = . ]; then
| arm7100 | arm7500 | arm7500fe | arm810 \
| arm1026ejs | arm1020t | arm1136js | arm1136jfs \
| xscale | iwmmxt \
| ep9312 \
| strongarm | strongarm110 | strongarm11[01]0)
# OK
;;
*)
echo "Unknown CPU used in --with-$which=$val" 1>&2 echo "Unknown CPU used in --with-$which=$val" 1>&2
exit 1 exit 1
;;
esac fi
done done
case "$with_arch" in case "$with_arch" in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment