This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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]

[Bug math/19974] optimize div() so the asm insn that calcs quotient and remainder is used when available


https://sourceware.org/bugzilla/show_bug.cgi?id=19974

--- Comment #2 from Daniel Gutson <daniel.gutson at tallertechnologies dot com> ---
(In reply to Andreas Schwab from comment #1)
> That needs to be implemented in the compiler as a builtin.  Please file an
> enhancement request for gcc.

I'm not opposed as a gcc builtin, but could you please explain the rationale
behind that, or the benefit, rather than implement this enhancement as an
inline assembly in an inline function?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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