sh.c (sh_register_move_cost): Add clase for moving between FP registers and MAC registers.
* sh.c (sh_register_move_cost): Add clase for moving between FP registers and MAC registers. From-SVN: r67028
This commit is contained in:
parent
669e91abfa
commit
a60a9553a1
@ -1,3 +1,8 @@
|
||||
2003-05-20 J"orn Rennecke <joern.rennecke@superh.com>
|
||||
|
||||
* sh.c (sh_register_move_cost): Add clase for moving between
|
||||
FP registers and MAC registers.
|
||||
|
||||
2003-05-19 John David Anglin <dave.anglin@nrc-gnrc.gc.ca>
|
||||
|
||||
* pa/milli64.S ($$mulI): Fix typo.
|
||||
|
@ -8243,6 +8243,10 @@ sh_register_move_cost (mode, srcclass, dstclass)
|
||||
&& REGCLASS_HAS_FP_REG (dstclass))
|
||||
return 4;
|
||||
|
||||
if ((REGCLASS_HAS_FP_REG (dstclass) && srcclass == MAC_REGS)
|
||||
|| (dstclass== MAC_REGS && REGCLASS_HAS_FP_REG (srcclass)))
|
||||
return 9;
|
||||
|
||||
if ((REGCLASS_HAS_FP_REG (dstclass)
|
||||
&& REGCLASS_HAS_GENERAL_REG (srcclass))
|
||||
|| (REGCLASS_HAS_GENERAL_REG (dstclass)
|
||||
|
Loading…
Reference in New Issue
Block a user