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]
Other format: [Raw text]

Re: [3.4-BIB] i386 condtiional moves cleanup I


> 
> Just two comments regarding comments:
> 
> Jan Hubicka <jh@suse.cz> writes:
> 
> > [...]
> > ! /* Expand code to set REAL_OUT into CT when (CODE OP0 OP1) is true, cf
> > !    otehrwise.  */
> 
> otherwise.
I will fix that in my local copy, thank!
> > [...]
> > !       if (compare_code != NIL)
> > ! 	{
> > ! 	  /* notl op1       (if needed)
> > ! 	     sarl $31, op1
> > ! 	     andl (cf-ct), op1
> > ! 	     addl ct, op1
> > ! 
> > ! 	     For x < 0 (resp. x <= -1) there will be no notl,
> 
> notl?
I didn't wrote that comment, but notl is opcode...

Honza
> 
> > ! 	     so if possible swap the constants to get rid of the
> > ! 	     complement.
> > ! 	     True/false will be -1/0 while code below (store flag
> > ! 	     followed by decrement) is 0/-1, so the constants need
> > ! 	     to be exchanged once more.  */
> 
> Andreas
> -- 
>  Andreas Jaeger
>   SuSE Labs aj@suse.de
>    private aj@arthur.inka.de
>     http://www.suse.de/~aj


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