This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


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

Re: [PATCH] Java: expand divide, expand conversions



Andrew wrote:
>   If you can prove that i != 0, generate a `div' insn.  Otherwise,
>   call a divide subroutine.
> 
> It's an interesting idea, but I don't think there's any way to express
> it in gcc.  I wonder...

Jeff Law had started implementing support for this (value range
checking), but I don't know what the latest status is.

AG

-- 
Anthony Green                                               Cygnus Solutions
                                                       Sunnyvale, California

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