> 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 incrementally with one additional commit since the last revision: Rename to jdk.internal.math.Int128Math ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31008/files - new: https://git.openjdk.org/jdk/pull/31008/files/53b59c71..b09063dd Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31008&range=08 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31008&range=07-08 Stats: 18 lines in 3 files changed: 3 ins; 0 del; 15 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
