bfin-protos.h (WA_RETS, [...]): New macros.
authorBernd Schmidt <bernd.schmidt@analog.com>
Wed, 23 Jan 2008 02:17:00 +0000 (02:17 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Wed, 23 Jan 2008 02:17:00 +0000 (02:17 +0000)
commitfa8d4a0f0918b1ff192288722aadb7bd81cd0493
tree4a182638a704bea6a7c068eb81f3eb9c3cc5c784
parent24030e4c48bd0c2c04981f223616484833c310e2
bfin-protos.h (WA_RETS, [...]): New macros.

* config/bfin/bfin-protos.h (WA_RETS, ENABLE_WA_RETS): New macros.
* config/bfin/bfin.c (bfin_cpus): Add WA_RETS everywhere.
(cputype_selected): New static variable.
(bfin_handle_option): Set it if -mcpu is used.
(override_option): Select default set of workarounds if no cpu type
selected on the command line.
(workaround_rts_anomaly): Only run if ENABLE_WA_RETS.

From-SVN: r131752
gcc/ChangeLog
gcc/config/bfin/bfin-protos.h
gcc/config/bfin/bfin.c