Skip to content

Commit b84b292

Browse files
author
Hamlin Li
committed
8352615: [Test] RISC-V: TestVectorizationMultiInvar.java fails on riscv64 without rvv support
Reviewed-by: fyang, rehn
1 parent a54445f commit b84b292

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/hotspot/jtreg/compiler/c2/irTests/TestVectorizationMultiInvar.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023, Red Hat, Inc. All rights reserved.
2+
* Copyright (c) 2023, 2025, Red Hat, Inc. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -33,7 +33,8 @@
3333
/*
3434
* @test
3535
* @bug 8300257
36-
* @requires (os.simpleArch == "x64") | (os.simpleArch == "aarch64") | (os.simpleArch == "riscv64")
36+
* @requires (os.simpleArch == "x64") | (os.simpleArch == "aarch64") |
37+
* (os.simpleArch == "riscv64" & vm.cpu.features ~= ".*rvv.*")
3738
* @summary C2: vectorization fails on some simple Memory Segment loops
3839
* @modules java.base/jdk.internal.misc
3940
* @library /test/lib /

0 commit comments

Comments
 (0)