sh.md (movdf load split): Pass register number to FP_OR_XD_REGISTER_P.

* config/sh/sh.md (movdf load split): Pass register number to
FP_OR_XD_REGISTER_P.

From-SVN: r39440
This commit is contained in:
Alexandre Oliva 2001-02-04 11:04:37 +00:00 committed by Alexandre Oliva
parent 1c6935d7ac
commit b6c0232813
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-02-04 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.md (movdf load split): Pass register number to
FP_OR_XD_REGISTER_P.
2001-02-04 Mark Mitchell <mark@codesourcery.com>
* cppinit.c (BC): New macro.

View File

@ -2841,7 +2841,7 @@
(use (match_operand:PSI 2 "fpscr_operand" "c"))
(clobber (match_scratch:SI 3 "X"))]
"TARGET_SH4 && ! TARGET_FMOVD && reload_completed
&& FP_OR_XD_REGISTER_P (operands[0])
&& FP_OR_XD_REGISTER_P (true_regnum (operands[0]))
&& find_regno_note (insn, REG_DEAD, true_regnum (operands[1]))"
[(const_int 0)]
"