alpha.c buglet

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Fri Apr 14 04:33:00 GMT 2000


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 ();


More information about the Gcc-patches mailing list