RFR: 8283726: x86_64 intrinsics for compareUnsigned method in Integer and Long [v3]

Jatin Bhateja jbhateja at openjdk.org
Wed Jun 29 06:09:33 UTC 2022


On Wed, 22 Jun 2022 03:01:36 GMT, Quan Anh Mai <duke at openjdk.org> 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 one additional commit since the last revision:
> 
>   add comparison for direct value of compare

Marked as reviewed by jbhateja (Committer).

-------------

PR: https://git.openjdk.org/jdk/pull/9068


More information about the hotspot-compiler-dev mailing list