sh.md (movdf load split): Pass register number to FP_OR_XD_REGISTER_P.
authorAlexandre Oliva <aoliva@redhat.com>
Sun, 4 Feb 2001 11:04:37 +0000 (11:04 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Sun, 4 Feb 2001 11:04:37 +0000 (11:04 +0000)
* config/sh/sh.md (movdf load split): Pass register number to
FP_OR_XD_REGISTER_P.

From-SVN: r39440

gcc/ChangeLog
gcc/config/sh/sh.md

index 4d1fadea6120c51cc212e8f214b2545c5d3038ca..4531efe37973ee6d0c791ff9d2ddc6756c24b8cd 100644 (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.
index 7f5aefe518894dd79785cf36885c224725e01f97..3eb4949460e8d1481df097b64e967bacbffde07c 100644 (file)
    (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)]
   "