RFR: 8282365: Optimize divideUnsigned and remainderUnsigned for constants [v25]

Emanuel Peter epeter at openjdk.org
Mon Oct 9 14:19:33 UTC 2023


On Mon, 9 Oct 2023 14:06:02 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

>> https://github.com/openjdk/jdk/pull/9947#discussion_r1349149415
>> Where did you put them? Not in this file?
>
> The method is `int verify()` above, in the presence of `-Dverify=true`, a `DivINode` will trigger `IRViolationException` which is caught in the main method.

Aha, I see now. Why not just put a positive rule with `count`?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/9947#discussion_r1350368794


More information about the hotspot-compiler-dev mailing list