divdi3: incomplete fix in db3d848e154b?

Joseph Myers joseph@codesourcery.com
Mon May 15 11:31:00 GMT 2017


On Sun, 14 May 2017, Zack Weinberg wrote:

> We should try to get an actual hardware division by zero if we can;
> raise(SIGFPE) will not fill in the siginfo structure exactly the same
> way.  It might be the best we can do sometimes, though.

divdi3.c is only present for binary compatibility for architectures 
exporting those functions from glibc 2.0.  The most we could need is a few 
architecture-specific asms (in a macro defined in architecture-specific 
versions of this file before including the generic one, say).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list