RFR: 8291649: multiple tests failing with -Xcomp after JDK-8290034
Kim Barrett
kbarrett at openjdk.org
Thu Aug 25 00:56:32 UTC 2022
On Wed, 24 Aug 2022 05:56:52 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> It's probably worth having comments referring to the corresponding Hacker's Delight sections for both of these functions.
Hm, except this *isn't* the Hacker's Delight algorithm (which is the same as the seander bithacks algorithm). Is there a reference for this algorithm? I'd prefer something "well known" to something whose correctness I need to think hard about. I'm not spotting anything wrong here (though I think there should be more parenthesis so I don't need to think about the precedence between shift operators and bitwise-or), but @vnkozlov is reporting failures with these changes.
-------------
PR: https://git.openjdk.org/jdk/pull/9987
More information about the hotspot-compiler-dev
mailing list