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.
Feilong Jiang has updated the pull request incrementally with one additional commit since the last revision: update license to new year ------------- Changes: - all: https://git.openjdk.java.net/riscv-port/pull/45/files - new: https://git.openjdk.java.net/riscv-port/pull/45/files/e8cd88e5..e4fb09d0 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=45&range=01 - incr: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=45&range=00-01 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.java.net/riscv-port/pull/45.diff Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/45/head:pull/45 PR: https://git.openjdk.java.net/riscv-port/pull/45