[riscv-port] RFR: 8283364: riscv: Intrinsify countPositives [v2]

Yanhong Zhu yzhu at openjdk.java.net
Mon Mar 21 03:10:02 UTC 2022


On Mon, 21 Mar 2022 02:55:43 GMT, Feilong Jiang <fjiang at openjdk.org> wrote:

>> [JDK-8281146](https://bugs.openjdk.java.net/browse/JDK-8281146) replaces `StringCoding.hasNegatives` with `countPositives` and introduces `Op_CountPositives`, which can be intrinsified on riscv port.
>> 
>> New added test test/hotspot/jtreg/compiler/intrinsics/string/TestCountPositives.java passed on QEMU with RVV enabled.
>
> Feilong Jiang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   instruct definition adjustment

Looks good.

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

Marked as reviewed by yzhu (Committer).

PR: https://git.openjdk.java.net/riscv-port/pull/67


More information about the riscv-port-dev mailing list