Apply rev 1.4 of gnu/dist/gcc/config/sh/sh.h:

fix REGISTER_MOVE_COST bug (gcc original rev. 1.43):

> *sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS
This commit is contained in:
thorpej 2001-12-16 18:56:45 +00:00
parent 3274936f9b
commit e93b1005a7
1 changed files with 1 additions and 1 deletions

View File

@ -1681,7 +1681,7 @@ extern struct rtx_def *sh_builtin_saveregs ();
it uses this information. Hence, the general register <-> floating point
register information here is not used for SFmode. */
#define REGISTER_MOVE_COST(SRCCLASS, DSTCLASS) \
((((DSTCLASS) == T_REGS) || ((DSTCLASS) == PR_REG)) ? 10 \
((((DSTCLASS) == T_REGS) || ((DSTCLASS) == PR_REGS)) ? 10 \
: ((((DSTCLASS) == FP0_REGS || (DSTCLASS) == FP_REGS || (DSTCLASS) == DF_REGS) \
&& ((SRCCLASS) == GENERAL_REGS || (SRCCLASS) == R0_REGS)) \
|| (((DSTCLASS) == GENERAL_REGS || (DSTCLASS) == R0_REGS) \