[PATCH] [FIXED] optimised/generalised __udivmoddi4.c

Stefan Kanthak via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 11 14:53:12 PST 2018


LLVM/clang inlines "long" shifts, so __udivmoddi4.c doesn't need
several if...then...else...if...then...else clauses and can be
simplified, yielding shorter and faster code.

The first submission of this patch has a silly bug.

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: udivmoddi4.patch
Type: application/octet-stream
Size: 8035 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181211/c99c55e0/attachment.obj>


More information about the llvm-commits mailing list