This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
alpha.c buglet
- To: gcc-patches at gcc dot gnu dot org
- Subject: alpha.c buglet
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Fri, 14 Apr 00 07:44:55 EDT
The FlOAT patterns do not accept a SUBREG, so the following is needed:
Fri Apr 14 07:40:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
and not a SUBREG to a FLOAT rtl.
*** config/alpha/alpha.c 2000/04/07 09:53:18 1.123
--- config/alpha/alpha.c 2000/04/14 11:27:10
*************** alpha_emit_floatuns (operands)
*** 1528,1532 ****
out = operands[0];
! in = operands[1];
mode = GET_MODE (out);
neglab = gen_label_rtx ();
--- 1528,1532 ----
out = operands[0];
! in = force_reg (DImode, operands[1]);
mode = GET_MODE (out);
neglab = gen_label_rtx ();