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: Simple ix86 fp compares cleanup/fix


On Tue, Jan 09, 2001 at 07:47:07PM +0100, Jan Hubicka wrote:
> + /* Split comparison code CODE into comparisons we can do using branch
> +    instructions.  BYPASS_CODE is comparison code for branch that will
> +    branch around FIRST_CODE and SECOND_CODE.  If some of branches
> +    is not required, set value to UNKNOWN.

Consider NIL as a more intuitive choice for "not needed" than UNKNOWN.

> !   if (bypass_code == UNKNOWN && second_code == UNKNOWN
> !       && (TARGET_CMOVE || (TARGET_USE_SAHF || optimize_size)))

Extra parentheses?

Looks good otherwise.


r~

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