RFR: 8283726: x86 intrinsics for compare method in Integer and Long
Quan Anh Mai
duke at openjdk.java.net
Mon Mar 28 05:32:20 UTC 2022
On Sun, 27 Mar 2022 06:15:34 GMT, Vamsi Parasa <duke at openjdk.java.net> wrote:
> Implements x86 intrinsics for compare() method in java.lang.Integer and java.lang.Long.
This is both complicated and inefficient, I would suggest building the intrinsic in the IR graph so that the compiler can simplify `Integer.compareUnsigned(x, y) < 0` into `x u< y`. Thanks.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7975
More information about the core-libs-dev
mailing list