------- Comment #2 from carrot at google dot com 2009-10-15 08:18 -------
arm_size_rtx_costs calls thumb1_rtx_costs for TARGET_THUMB1.
thumb1_rtx_costs is also called by several other functions. Looked at its
implementation briefly, it is actually tuned for speed only. Following are some
obvious example:
case UDIV:
case UMOD:
case DIV:
case MOD:
return 100;
case TRUNCATE:
return 99;
So a new function thumb1_size_rtx_costs is required to model the thumb1 size
feature, right?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41653