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
|
@ -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>
|
2003-06-25 Zack Weinberg <zack@codesourcery.com>
|
||||||
|
|
||||||
PR 10178
|
PR 10178
|
||||||
|
|
|
@ -8453,6 +8453,9 @@ sh_register_move_cost (mode, srcclass, dstclass)
|
||||||
if (dstclass == T_REGS || dstclass == PR_REGS)
|
if (dstclass == T_REGS || dstclass == PR_REGS)
|
||||||
return 10;
|
return 10;
|
||||||
|
|
||||||
|
if (dstclass == MAC_REGS && srcclass == MAC_REGS)
|
||||||
|
return 4;
|
||||||
|
|
||||||
if (mode == SImode && ! TARGET_SHMEDIA && TARGET_FMOVD
|
if (mode == SImode && ! TARGET_SHMEDIA && TARGET_FMOVD
|
||||||
&& REGCLASS_HAS_FP_REG (srcclass)
|
&& REGCLASS_HAS_FP_REG (srcclass)
|
||||||
&& REGCLASS_HAS_FP_REG (dstclass))
|
&& REGCLASS_HAS_FP_REG (dstclass))
|
||||||
|
|
Loading…
Reference in New Issue