Integrated: 8283726: x86_64 intrinsics for compareUnsigned method in Integer and Long

Quan Anh Mai duke at openjdk.org
Wed Jun 29 10:37:06 UTC 2022


On Tue, 7 Jun 2022 17:14:18 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.

This pull request has now been integrated.

Changeset: 108cd695
Author:    Quan Anh Mai <anhmdq99 at gmail.com>
Committer: Jatin Bhateja <jbhateja at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/108cd695167f0eed7b778c29b55914998f15b90d
Stats:     271 lines in 15 files changed: 260 ins; 0 del; 11 mod

8283726: x86_64 intrinsics for compareUnsigned method in Integer and Long

Reviewed-by: kvn, jbhateja

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

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


More information about the core-libs-dev mailing list