RFR: 8334078: RISC-V: TestIntVect.java fails after JDK-8332153 when running without RVV

Hamlin Li mli at openjdk.org
Mon Jun 17 10:17:13 UTC 2024


On Thu, 13 Jun 2024 03:24:15 GMT, Gui Cao <gcao at openjdk.org> wrote:

> Hi, test/hotspot/jtreg/compiler/c2/cr7200264/TestIntVect.java fails without RVV after [JDK-8332153](https://bugs.openjdk.org/browse/JDK-8332153) in fastdebug mode.  see jbs issue for exception information.
> 
> As discussed on jbs, we prefixed the single letter cpu features with rv so that there would be no problem. And to synchronize the test cases.
> 
> After this patch, we can get cpu feature string like this:
> 
> ----------System.out:(4/168)----------
> WB.getCPUFeatures(): "rv64 rvi rvm rva rvf rvd rvc rvv"
> CPUInfo.getAdditionalCPUInfo(): ""
> CPUInfo.getFeatures(): [rv64, rvi, rvm, rva, rvf, rvd, rvc, rvv]
> TEST PASSED
> 
> 
> ### Testing
> - [x] All Tests related to all changes in this patch on Banana Pi BPI-F3 board (with RVV1.0) (fastdebug)
> - [x] All Tests related to all changes in this patch on SOPHON SG2042 (fastdebug)
> - [ ] Run tier1-3 tests on SOPHON SG2042 (fastdebug)

Looks good.

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

Marked as reviewed by mli (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19686#pullrequestreview-2122504709


More information about the hotspot-dev mailing list