aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sh
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/config/sh
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/config/sh')
-rw-r--r--gcc/config/sh/sh.md2
1 files changed, 1 insertions, 1 deletions
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)]
"