[riscv-port] Integrated: 8283364: riscv: Intrinsify countPositives

Feilong Jiang fjiang at openjdk.java.net
Mon Mar 21 06:27:01 UTC 2022


On Fri, 18 Mar 2022 09:31:57 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.
> 
> hotspot and jdk tier1 tests on QEMU with UseRVV enabled are passed without new failures.

This pull request has now been integrated.

Changeset: a883cf9f
Author:    Feilong Jiang <fjiang at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.java.net/riscv-port/commit/a883cf9f230cdb2a64a986fea8da791cbd2c7855
Stats:     45 lines in 3 files changed: 45 ins; 0 del; 0 mod

8283364: riscv: Intrinsify countPositives

Reviewed-by: yzhu, fyang

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

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


More information about the riscv-port-dev mailing list