i386 notice_update_cc belt and suspenders patch

Jeffrey A Law law@cygnus.com
Wed Jun 10 00:43:00 GMT 1998

  In message < 199806062044.QAA06346@jwlab.FEITH.COM >you write:
  > Tracing the operation of NOTICE_UPDATE_CC when compiling
  > the following snippet of code on i386 seems to show up a
  > weakness in notice_update_cc:
[ ... ]

  > The only flag defined after executing bsf is Z which contains the
  > result from bsf.  I believe that cc_status.value2 should be cleared
  > in order to be technically correct.
  > ChangeLog:
  > Sat Jun  6 16:36:11 EDT 1998  John Wehle  (john@feith.com)
  > 	* i386.c (notice_update_cc): Clear cc_status.value2 in the
  > 	case of UNSPEC 5 (bsf).
Seems reasonable to me.  I've installed your patch.


More information about the Gcc-patches mailing list