Re: __ucmpdi2

From: Linus Torvalds (torvalds@transmeta.com)
Date: Fri Sep 22 2000 - 15:51:04 EST


In article <10009202214.ZM224250@classic.engr.sgi.com>,
Jeremy Higdon <jeremy@classic.engr.sgi.com> wrote:
>
>In my case, it is simple "long long" arithmetic. Shifts, ANDs, ORs,
>comparisons, etc. Not even any addition (which should be pretty efficient
>with the HW carry bit on X86). I don't know why:

Oh, I agree. In your case this didn't show a Linux developer doing
anything stupid. Instead, it showed the compiler doing something
stupid.

You win some, you lose some. But the end result will hopefully be that
the compiler gets fixed for this case. Which is, after all, something
that benefits everybody.

                Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:27 EST