This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: [PATCH] Java: expand divide, expand conversions
- To: aph@pasanda.cygnus.co.uk
- Subject: Re: [PATCH] Java: expand divide, expand conversions
- From: Anthony Green <green@cygnus.com>
- Date: Mon, 26 Jul 1999 23:11:48 -0700 (PDT)
- CC: tromey@cygnus.com, tromey@cygnus.com, java-discuss@sourceware.cygnus.com
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