i386 notice_update_cc integer conditional move patch
Sun Jun 14 10:57:00 GMT 1998
> Fri Jun 12 23:15:31 EDT 1998 John Wehle (firstname.lastname@example.org)
> * 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
(GET_CODE (SET_SRC (exp)) == IF_THEN_ELSE
&& !(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