[llvm] r217814 - Replace dead links to "Hacker's Delight" with general references. NFC.

Sanjay Patel spatel at rotateright.com
Mon Sep 15 15:36:08 PDT 2014


Thanks for the link - I didn't know about that paper.

I just replaced the existing refs since they're all dead (investigating:
http://llvm.org/bugs/show_bug.cgi?id=20494).
The LLVM implementation appears to be taken directly from Hacker's Delight
- eg, see the code and comments for APInt::magic().

I can add a ref to the Granlund, Montgomery paper too if you think that's
better.

On Mon, Sep 15, 2014 at 3:02 PM, Joerg Sonnenberger <joerg at britannica.bec.de
> wrote:

> On Mon, Sep 15, 2014 at 07:47:44PM -0000, Sanjay Patel wrote:
> > Author: spatel
> > Date: Mon Sep 15 14:47:44 2014
> > New Revision: 217814
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=217814&view=rev
> > Log:
> > Replace dead links to "Hacker's Delight" with general references. NFC.
>
> Isn't the canonical reference for the complete algorithm the following
> paper:
> http://gmplib.org/~tege/divcnst-pldi94.pdf
>
> .%A Torbj\(:orn Granlund
> .%A Peter L. Montgomery
> .%T Division by Invariant Integers Using Multiplication
> .%J ACM SIGPLAN Notices
> .%D June 1994
> .%N Issue 6
> .%V Volume 29
> .%P 61-72
>
> Joerg
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140915/2e6b6b3b/attachment.html>


More information about the llvm-commits mailing list