target/2246: Code generated for IA64 doesn't reset NaT bit on scratch reg

Richard Henderson rth@redhat.com
Tue Nov 13 15:03:00 GMT 2001


On Wed, Nov 07, 2001 at 06:11:14AM -0800, amacleod@cygnus.com wrote:
> ! 	      /* Clear the destination before we move anything into it.  */
> ! 	      emit_insn (gen_rtx_SET (VOIDmode, dst, 
> ! 				      CONST0_RTX (GET_MODE (dst))));

	emit_move_insn (dst, CONST0_RTX (GET_MODE (dst)));

I think you ought to add a little commentary on why we aren't
just clobbering the register.  Also, there are a few other places
that do similar things.

I think this is probably the best way to solve this problem.
I'd be interested to see if one can measure a performance
difference one way or another on, say, x86.


r~



More information about the Gcc-patches mailing list