another compiler better than gcj ?

Anthony Green green@redhat.com
Tue Oct 23 21:46:00 GMT 2001


Bryce wrote:
> Wouldn't the best solution for x86 integer divides be to just emit
> something like:
>
> if (__builtin_expect (divisor== 0), false)
>   _Jv_ThrowDivideByZero()
> else
>   .. do divide ..

Well, there's usually another goofy case we need to watch for.   See _Jv_divI
and friends in prims.cc.  Do we want to put all of these tests inline?

AG




More information about the Java mailing list