mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
arm.c (arm_size_rtx_costs): Use ARM costs for Thumb-2.
2008-03-12 Paul Brook <paul@codesourcery.com> gcc/ * config/arm/arm.c (arm_size_rtx_costs): Use ARM costs for Thumb-2. From-SVN: r133151
This commit is contained in:
parent
a7438d6d5d
commit
0975490466
@ -1,3 +1,8 @@
|
||||
2008-03-12 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
gcc/
|
||||
* config/arm/arm.c (arm_size_rtx_costs): Use ARM costs for Thumb-2.
|
||||
|
||||
2008-03-12 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/i386.md (int_cond): New code iterator.
|
||||
|
@ -5070,13 +5070,14 @@ arm_size_rtx_costs (rtx x, int code, int outer_code, int *total)
|
||||
{
|
||||
enum machine_mode mode = GET_MODE (x);
|
||||
|
||||
if (TARGET_THUMB)
|
||||
if (TARGET_THUMB1)
|
||||
{
|
||||
/* XXX TBD. For now, use the standard costs. */
|
||||
*total = thumb1_rtx_costs (x, code, outer_code);
|
||||
return true;
|
||||
}
|
||||
|
||||
/* FIXME: This makes no attempt to prefer narrow Thumb-2 instructions. */
|
||||
switch (code)
|
||||
{
|
||||
case MEM:
|
||||
|
Loading…
Reference in New Issue
Block a user