This is the mail archive of the
mailing list for the GCC project.
Re: gcc/1532: Redundant compare instructions on i386
On Tue, Jan 20, 2004 at 11:28:42PM -0700, email@example.com wrote:
> I won't be able to run through a regression test tonight (already got
> something running), but I'll do it tomorrow. I don't expect any problems.
Note that this doesn't directly address the PR, since
if (i == j) goto <L9>; else goto <L1>;
if (i > j) goto <L2>; else goto <L10>;
can be done with just one compare insn. So there's
still room for something like what Ian's proposing.