RFR: 8282365: Consolidate and improve division by constant idealizations [v33]

Quan Anh Mai qamai at openjdk.org
Tue Nov 28 13:51:11 UTC 2023


On Mon, 27 Nov 2023 23:06:51 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> 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 74 commits:
>> 
>>  - fix proof
>>  - Merge branch 'master' into unsignedDiv
>>  - fix assert macro, benchmarks
>>  - comment styles
>>  - disable test with Xcomp
>>  - remove verify
>>  - fix x86 test
>>  - more rigorous control
>>  - verify the effectiveness of test
>>  - require x64
>>  - ... and 64 more: https://git.openjdk.org/jdk/compare/5224e979...529bd0f9
>
> Not a review - mostly a comment for future development. I only became aware of
> this PR recently (I don't track compiler PRs that closely), so didn't notice
> the embedded separation of Java-semantics arithmetic from globalDefintions. I
> strongly approve of that separation, but wish it had been done in it's own PR.
> Kind of late for suggesting that now though. That change can (and hopefully
> will) be followed by changes to remove the need to #include javaArithmetic.hpp
> from globalDefinitons.hpp, since most code doesn't need javaArithmetic.hpp.
> That's likely to take a while to accomplish, but would be a nice goal to
> achieve. This goes along with the ongoing cleanup of replacing
> unnecessary/inappropriate uses of JNI integral types with "native" types.

@kimbarrett Thanks for the suggestion, I will create a tracking issue right after the integration of this.

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

PR Comment: https://git.openjdk.org/jdk/pull/9947#issuecomment-1829881899


More information about the hotspot-compiler-dev mailing list