This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
SH: typo in the introduction of FP_OR_XD_REGISTER_P
- To: gcc-patches at gcc dot gnu dot org
- Subject: SH: typo in the introduction of FP_OR_XD_REGISTER_P
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 04 Feb 2001 09:05:22 -0200
- Organization: GCC Team, Red Hat
Seems like I goofed when introducing FP_OR_XD_REGISTER_P. Caught it
by chance. I'm checking this in.
Index: gcc/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.md (movdf load split): Pass register number to
FP_OR_XD_REGISTER_P.
Index: gcc/config/sh/sh.md
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/sh/sh.md,v
retrieving revision 1.75
diff -u -p -r1.75 sh.md
--- gcc/config/sh/sh.md 2001/02/02 18:20:29 1.75
+++ gcc/config/sh/sh.md 2001/02/04 11:03:29
@@ -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)]
"
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me