sh.c (multcosts): Check sh_multcost rather than sh_multcost_str.
authorRichard Sandiford <rsandifo@redhat.com>
Wed, 1 Jun 2005 06:58:41 +0000 (06:58 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 1 Jun 2005 06:58:41 +0000 (06:58 +0000)
commit7dd2f19b2fadf4edb3a7277563b5b1ee59f8723c
treed20a11e04f4e271a377feed29e374c2deede32f3
parent5c60a0172d9cce62e61afd5d851106775a1a48e6
sh.c (multcosts): Check sh_multcost rather than sh_multcost_str.

* config/sh/sh.c (multcosts): Check sh_multcost rather than
sh_multcost_str.
(sh_register_move_cost): Likewise sh_gettrcost and sh_gettrcost_str.
(sh_multcost_str, sh_gettrcost_str, sh_div_str, sh_divsi3_libfunc)
(cut2_workaround_str): Delete.
* config/sh/sh.h (SUBTARGET_OPTIONS, TARGET_OPTIONS)
(TARGET_SH5_CUT2_WORKAROUND, sh_multcost_str, sh_gettrcost_str)
(sh_div_str, sh_divsi3_libfunc, cut2_workaround_str): Delete.
* config/sh/sh.opt (mcut2-workaround, mdiv=, mdivsi3_libfunc=)
(mgettrcost=, multcost=): New options.

From-SVN: r100431
gcc/ChangeLog
gcc/config/sh/sh.c
gcc/config/sh/sh.h
gcc/config/sh/sh.opt