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).

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

Commit messages:
 - whitespace
 - Implement Int128T addsub

Changes: https://git.openjdk.org/jdk/pull/31008/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31008&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8383724
  Stats: 436 lines in 13 files changed: 436 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/31008.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31008/head:pull/31008

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

Reply via email to