[riscv-port] Integrated: 8279996: riscv: RVB: Add zeros/population count instructions

Feilong Jiang fjiang at openjdk.java.net
Fri Jan 14 07:35:44 UTC 2022


On Fri, 14 Jan 2022 06:09:34 GMT, Feilong Jiang <fjiang at openjdk.org> wrote:

> This PR implements zeros and population count instructions: `clz`/`clzw`/`ctz`/`ctzw`/`cpop`/`cpopw`.
> 
> New C2 instructions are covered by the following JTREG tests:
> - test/hotspot/jtreg/compiler/codegen/Test6823354.java
> - test/hotspot/jtreg/compiler/codegen/Test7100757.java
> - test/hotspot/jtreg/compiler/codegen/Test8005033.java
> 
> Hotspot and jdk tier1 tests on QEMU (with and without UseRVB) are passed without new failures.

This pull request has now been integrated.

Changeset: d119eda6
Author:    Feilong Jiang <fjiang at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.java.net/riscv-port/commit/d119eda6aad8199244359b17a754b3e9a33fef60
Stats:     144 lines in 6 files changed: 116 ins; 5 del; 23 mod

8279996: riscv: RVB: Add zeros/population count instructions

Reviewed-by: fyang

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

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


More information about the riscv-port-dev mailing list