This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: PR target/23485: [ia64]: Integer dvide by zero doesn't raise a signal


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~


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