> Hi,
> 
> I was reminded of this forgotten PR when reviewing a counted loop 
> transformation PR. The important point is that it is easier and more 
> efficient to compute the trip count of a counted loop using unsigned 
> division. Currently, for int counted loops, trip count is computed by 
> extending the loop parameters to long and doing a signed long division. This 
> cannot be applied to long counted loop. As a result, as a precondition for 
> long counted loop predication, we need to be able to efficiently transform an 
> unsigned division by constant.
> 
> For more information, please refer to #9947 .
> 
> 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:

  Various fixes

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/31033/files
  - new: https://git.openjdk.org/jdk/pull/31033/files/3bd44c25..5d34b5ca

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=31033&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31033&range=00-01

  Stats: 29 lines in 9 files changed: 6 ins; 14 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/31033.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31033/head:pull/31033

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

Reply via email to