aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-02-04 11:04:37 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2001-02-04 11:04:37 +0000
commitb6c023281361cb51c4d580b6aa1331025a082ddc (patch)
tree58500ad2cb3968d056d020b75355bdadea7d218c /gcc
parent1c6935d7acd7d80d66925a69485a9d3ce87a2dbd (diff)
downloadgcc-b6c023281361cb51c4d580b6aa1331025a082ddc.zip
gcc-b6c023281361cb51c4d580b6aa1331025a082ddc.tar.gz
gcc-b6c023281361cb51c4d580b6aa1331025a082ddc.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sh/sh.md2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4d1fade..4531efe 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index 7f5aefe..3eb4949 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -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)]
"