spec20000 eon fix

Richard Henderson rth@redhat.com
Fri Aug 3 13:33:00 GMT 2001


On Fri, Aug 03, 2001 at 10:28:48PM +0200, Jan Hubicka wrote:
> What exactly goes wrong in Java? Can I apply similar trick?

Perhaps.  What will happen is that 

	(set (reg tmp)
	     (div (reg a) (reg b)))

gets reloaded to 

	(set (reg r1)
	     (div (reg r2) (reg r3)))

	(set (mem (plus (reg sp) (const_int offset)))
	     (reg r1))

where the divide must still end the basic block, since it throws.


r~



More information about the Gcc-patches mailing list