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

Fei Yang fyang at openjdk.java.net
Fri Jan 14 06:31:53 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 UseRVB) are passed without new failures.

Looks good.

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

Marked as reviewed by fyang (Lead).

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


More information about the riscv-port-dev mailing list