Skip to content

Commit 9ad87a9

Browse files
author
Hamlin Li
committed
8351902: RISC-V: Several tests fail after JDK-8351145
Reviewed-by: rehn, fyang, syan
1 parent e5c6cc9 commit 9ad87a9

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseMD5IntrinsicsOptionOnSupportedCPU.java

+2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@
2525
* @test
2626
* @bug 8035968
2727
* @summary Verify UseMD5Intrinsics option processing on supported CPU.
28+
* ( Disable this test on riscv, because on riscv UseMD5Intrinsics depends on !AvoidUnalignedAccesses. )
2829
* @library /test/lib /
2930
* @requires vm.flagless
31+
* @requires os.arch != "riscv64"
3032
*
3133
* @build jdk.test.whitebox.WhiteBox
3234
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox

test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHA1IntrinsicsOptionOnSupportedCPU.java

+2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@
2525
* @test
2626
* @bug 8035968
2727
* @summary Verify UseSHA1Intrinsics option processing on supported CPU.
28+
* ( Disable this test on riscv, because on riscv UseSHA1Intrinsics depends on !AvoidUnalignedAccesses. )
2829
* @library /test/lib /
2930
* @requires vm.flagless
31+
* @requires os.arch != "riscv64"
3032
*
3133
* @build jdk.test.whitebox.WhiteBox
3234
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox

test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHAOptionOnSupportedCPU.java

+2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@
2525
* @test
2626
* @bug 8035968
2727
* @summary Verify UseSHA option processing on supported CPU.
28+
* ( Disable this test on riscv, because on riscv UseSHA could depend UseSHA1Intrinsics which depends on !AvoidUnalignedAccesses. )
2829
* @library /test/lib /
2930
* @requires vm.flagless
31+
* @requires os.arch != "riscv64"
3032
*
3133
* @build jdk.test.whitebox.WhiteBox
3234
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox

0 commit comments

Comments
 (0)