sh.c (sh_register_move_cost): Add case for moving between MAC_REGS.
2003-06-25 Dhananjay Deshpande <dhananjayd@kpitcummins.com> * config/sh/sh.c (sh_register_move_cost): Add case for moving between MAC_REGS. From-SVN: r68484
This commit is contained in:
parent
2896d05649
commit
b1dcf523e9
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-06-25 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
|
||||
|
||||
* config/sh/sh.c (sh_register_move_cost):
|
||||
Add case for moving between MAC_REGS.
|
||||
|
||||
2003-06-25 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
PR 10178
|
||||
|
|
|
@ -8453,6 +8453,9 @@ sh_register_move_cost (mode, srcclass, dstclass)
|
|||
if (dstclass == T_REGS || dstclass == PR_REGS)
|
||||
return 10;
|
||||
|
||||
if (dstclass == MAC_REGS && srcclass == MAC_REGS)
|
||||
return 4;
|
||||
|
||||
if (mode == SImode && ! TARGET_SHMEDIA && TARGET_FMOVD
|
||||
&& REGCLASS_HAS_FP_REG (srcclass)
|
||||
&& REGCLASS_HAS_FP_REG (dstclass))
|
||||
|
|
Loading…
Add table
Reference in a new issue