[Top] [All Lists]

Re: [RFC] MIPS division by zero and libgcj...

To: Andrew Haley <>
Subject: Re: [RFC] MIPS division by zero and libgcj...
From: Ralf Baechle <>
Date: Thu, 10 Jun 2004 22:27:51 +0200
Cc: David Daney <>,,,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Mutt/1.4.1i
On Thu, Jun 10, 2004 at 08:31:47PM +0100, Andrew Haley wrote:

> I thought that the MIPS never generated a hardware trap for division,
> but instead there was an assembler macro that did the test for
> overflow, and the "div" instruction actually generates this test
> inline.  Maybe do a disassembly to check.

Linux/MIPS's behaviour is consistent with all MIPS UNIX flavours I know
of both those following the SysV ABI and others such as Ultrix.


<Prev in Thread] Current Thread [Next in Thread>