This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: i386 notice_update_cc belt and suspenders patch



  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.

Thanks!
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]