summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-04 11:04:37 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-04 11:04:37 +0000
commita8fe686d434311102424c594ee23dfd5a37e7e2b (patch)
tree58500ad2cb3968d056d020b75355bdadea7d218c
parent749fb0ff682383a827daf34549a32777ee6d49d5 (diff)
downloadppe42-gcc-a8fe686d434311102424c594ee23dfd5a37e7e2b.tar.gz
ppe42-gcc-a8fe686d434311102424c594ee23dfd5a37e7e2b.zip
* config/sh/sh.md (movdf load split): Pass register number to
FP_OR_XD_REGISTER_P. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39440 138bc75d-0d04-0410-961f-82ee72b054a4
-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 4d1fadea612..4531efe3797 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 7f5aefe5188..3eb4949460e 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)]
"
OpenPOWER on IntegriCloud