> Implements x86 intrinsics for compare() method in java.lang.Integer and
> java.lang.Long.
Vamsi Parasa has updated the pull request with a new target base due to a merge
or a rebase. The incremental webrev excludes the unrelated changes brought in
by the merge/rebase. The pull request
On Tue, 29 Mar 2022 21:56:18 GMT, Vamsi Parasa wrote:
>> 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.
>
>> This is both complicated and
On Tue, 29 Mar 2022 02:24:21 GMT, Jatin Bhateja wrote:
>> Implements x86 intrinsics for compare() method in java.lang.Integer and
>> java.lang.Long.
>
> src/hotspot/cpu/x86/x86_64.ad line 12107:
>
>> 12105: instruct compareSignedI_rReg(rRegI dst, rRegI op1, rRegI op2, rRegI
>> tmp, rFlagsReg
On Sun, 27 Mar 2022 06:57:58 GMT, Quan Anh Mai wrote:
> 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.
Thank you for the suggestion! This
On Sun, 27 Mar 2022 06:15:34 GMT, Vamsi Parasa wrote:
> Implements x86 intrinsics for compare() method in java.lang.Integer and
> java.lang.Long.
src/hotspot/cpu/x86/x86_64.ad line 12107:
> 12105: instruct compareSignedI_rReg(rRegI dst, rRegI op1, rRegI op2, rRegI
> tmp, rFlagsReg cr)
>
On Sun, 27 Mar 2022 06:15:34 GMT, Vamsi Parasa 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
Implements x86 intrinsics for compare() method in java.lang.Integer and
java.lang.Long.
-
Commit messages:
- add JMH benchmarks
- 8283726: x86 intrinsics for compare method in Integer and Long
Changes: https://git.openjdk.java.net/jdk/pull/7975/files
Webrev: