This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR target/23485: [ia64]: Integer dvide by zero doesn't raise a signal
- From: Richard Henderson <rth at redhat dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 19 Aug 2005 12:19:37 -0700
- Subject: Re: PATCH: PR target/23485: [ia64]: Integer dvide by zero doesn't raise a signal
- References: <20050819182017.GA22642@lucon.org>
On Fri, Aug 19, 2005 at 11:20:17AM -0700, H. J. Lu wrote:
> * config/ia64/lib1funcs.asm (__divdi3): Check divide by zero.
I thought the frcpa instruction was responsible for this. And
that the division-by-zero exception was supposed to be unmasked
in the .s1 context reserved for integer arithmetic.
Otherwise we're avoiding this exception whenever we inline
integer division code, which is certainly not the intent.
r~