On Tue, 8 Sep 2026 16:17:37 GMT, Quan Anh Mai <[email protected]> wrote:

>> Hi,
>> 
>> This PR implements addition and subtraction of 128-bit integers in C2. This 
>> may have numerous applications:
>> 
>> - It helps intrinsification of operations on 128-bit integers when we have 
>> one.
>> - It allows computation that may be incorrect at `long` due to overflow, 
>> such as loop predication of long range checks.
>> 
>> By implementing this separately, we don't need to worry about finalizing a 
>> public API, and we can have a better testing coverage.
>> 
>> Testing:
>> 
>> - [x] tier1-4,hs-comp-stress
>> 
>> Please take a look and leave your review, thanks a lot.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Quan Anh Mai has updated the pull request with a new target base due to a 
> merge or a rebase. The pull request now contains 14 commits:
> 
>  - Merge branch 'master' into int128
>  - Rename to jdk.internal.math.Int128Math
>  - Merge branch 'master' into int128
>  - Fix typos
>  - Remove redundant keywords
>  - Pseudocode
>  - Merge branch 'master' into int128
>  - Use TypeTuple::LONG_PAIR
>  - Merge branch 'master' into int128
>  - C++17
>  - ... and 4 more: https://git.openjdk.org/jdk/compare/6e28f1ed...21bfb007

Thanks a lot for your reviews.

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

PR Comment: https://git.openjdk.org/jdk/pull/31008#issuecomment-5604260157

Reply via email to