i386 notice_update_cc integer conditional move patch

H.J. Lu hjl@lucon.org
Sun Jun 14 10:57:00 GMT 1998

> ChangeLog:
> Fri Jun 12 23:15:31 EDT 1998  John Wehle  (john@feith.com)
> 	* i386.c (notice_update_cc): Integer conditional moves don't
> 	affect cc0.

Why only integer conditional moves? Not all fp conditional moves
clobber cc0. Anyway, I have modified my patch to do just that. It
seems to work fine. I will wait until yours goes into CVS first
since mine turns yours into

	 && !(cc_status.flags & CC_CLOBBERED))

I added the CC_CLOBBERED bit to cc_status.flags and keep track of it.
Although it is not that hard to do, I may miss something. You should
double check it.



More information about the Gcc-patches mailing list