RFR: 8283726: x86_64 intrinsics for compareUnsigned method in Integer and Long [v2]
Vladimir Kozlov
kvn at openjdk.java.net
Wed Jun 8 23:57:32 UTC 2022
On Wed, 8 Jun 2022 09:39:23 GMT, Quan Anh Mai <duke at openjdk.java.net> wrote:
>> Hi,
>>
>> This patch implements intrinsics for `Integer/Long::compareUnsigned` using the same approach as the JVM does for long and floating-point comparisons. This allows efficient and reliable usage of unsigned comparison in Java, which is a basic operation and is important for range checks such as discussed in #8620 .
>>
>> Thank you very much.
>
> Quan Anh Mai has updated the pull request incrementally with two additional commits since the last revision:
>
> - remove comments
> - review comments
Tier1-4 testing passed - no new failures. I suggest to push it into JDK 20 after fork and after you get second review.
-------------
PR: https://git.openjdk.java.net/jdk/pull/9068
More information about the core-libs-dev
mailing list