Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8307609

RISC-V: Added support for Extract, Compress, Expand and other nodes for Vector API

XMLWordPrintable

    • 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

            dzhang Dingli Zhang
            dzhang Dingli Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: