[PATCH] D41993: [ELF] - Change shift2 constant of GNU_HASH from 6->11.

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 14 18:28:56 PST 2018


ikudrin added a comment.

In https://reviews.llvm.org/D41993#975015, @ruiu wrote:

> I also wonder how these initial values (6 and 5) were decided.


As far as I can remember, these values were selected more or less arbitrary as `log2(TargetBits)`. If other values prove to be more optimal, there are no objections from me to using the new ones.


https://reviews.llvm.org/D41993





More information about the llvm-commits mailing list