-
Enhancement
-
Resolution: Fixed
-
P4
-
21
-
b24
-
riscv
-
linux
We have added support for Extract, Compress, Expand and other nodes for Vector API. It was implemented by referring to RVV v1.0 [1].
We can use the tests under `test/jdk/jdk/incubator/vector` to print the compilation log for most of the new nodes. And we can use the following command to print the compilation log of a jtreg test case:
```
$ jtreg \
-v:default \
-concurrency:16 -timeout:50 \
-javaoption:-XX:+UnlockExperimentalVMOptions \
-javaoption:-XX:+UseRVV \
-javaoption:-XX:+PrintOptoAssembly \
-javaoption:-XX:LogFile=log_name.log \
-jdk:build/linux-riscv64-server-fastdebug/jdk \
-compilejdk:build/linux-x86_64-server-release/images/jdk \
<test-case>
```
[1] https://github.com/riscv/riscv-v-spec/blob/v1.0/v-spec.adoc
We can use the tests under `test/jdk/jdk/incubator/vector` to print the compilation log for most of the new nodes. And we can use the following command to print the compilation log of a jtreg test case:
```
$ jtreg \
-v:default \
-concurrency:16 -timeout:50 \
-javaoption:-XX:+UnlockExperimentalVMOptions \
-javaoption:-XX:+UseRVV \
-javaoption:-XX:+PrintOptoAssembly \
-javaoption:-XX:LogFile=log_name.log \
-jdk:build/linux-riscv64-server-fastdebug/jdk \
-compilejdk:build/linux-x86_64-server-release/images/jdk \
<test-case>
```
[1] https://github.com/riscv/riscv-v-spec/blob/v1.0/v-spec.adoc
- relates to
-
JDK-8315931 RISC-V: xxxMaxVectorTestsSmokeTest fails when using RVV
-
- Resolved
-