mips.h (PTF_AVOID_BRANCHLIKELY): New macro.
commit0da4c1ea8461992bef38a5ad49e9e5e67fd5a495
authorRichard Sandiford <rsandifo@nildram.co.uk>
Thu, 27 Sep 2007 20:17:17 +0000 (27 20:17 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 27 Sep 2007 20:17:17 +0000 (27 20:17 +0000)
treefe79e8e8601efd372be340999cb7ed91cc59b89a
parentda2ce74a2e7911007d73d18dda05741035b175b2
mips.h (PTF_AVOID_BRANCHLIKELY): New macro.

gcc/
* config/mips/mips.h (PTF_AVOID_BRANCHLIKELY): New macro.
(mips_cpu_info): Add tune_flags.
(GENERATE_BRANCHLIKELY): Remove TARGET_SR71K check.
* config/mips/mips.c (mips_cpu_info_table): Add tune_flags fields.
Remove end marker.
(override_options): Remove deprecation code.  Use branch-likely
instructions for optimize_size or if the tuning flags do not
suggest otherwise.  Tweak warning.
(mips_matching_cpu_name_p, mips_parse_cpu): Use ARRAY_SIZE.

From-SVN: r128848
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.h