8329641: RISC-V: Enable some tests related to SHA-2 instrinsic
Reviewed-by: fyang, rehn
This commit is contained in:
parent
d771ec6296
commit
3a3b77dd4f
src/hotspot/cpu/riscv
test/hotspot/jtreg/compiler/testlibrary/sha/predicate
@ -153,6 +153,7 @@ class VM_Version : public Abstract_VM_Version {
|
||||
decl(ext_Zihintpause , "Zihintpause" , RV_NO_FLAG_BIT, true , UPDATE_DEFAULT(UseZihintpause)) \
|
||||
decl(ext_Zacas , "Zacas" , RV_NO_FLAG_BIT, true , UPDATE_DEFAULT(UseZacas)) \
|
||||
decl(ext_Zvfh , "Zvfh" , RV_NO_FLAG_BIT, true , UPDATE_DEFAULT(UseZvfh)) \
|
||||
decl(ext_Zvkn , "Zvkn" , RV_NO_FLAG_BIT, true , UPDATE_DEFAULT(UseZvkn)) \
|
||||
decl(mvendorid , "VendorId" , RV_NO_FLAG_BIT, false, NO_UPDATE_DEFAULT) \
|
||||
decl(marchid , "ArchId" , RV_NO_FLAG_BIT, false, NO_UPDATE_DEFAULT) \
|
||||
decl(mimpid , "ImpId" , RV_NO_FLAG_BIT, false, NO_UPDATE_DEFAULT) \
|
||||
|
@ -79,7 +79,7 @@ public class IntrinsicPredicates {
|
||||
|
||||
public static final BooleanSupplier SHA256_INSTRUCTION_AVAILABLE
|
||||
= new OrPredicate(new CPUSpecificPredicate("aarch64.*", new String[] { "sha256" }, null),
|
||||
new OrPredicate(new CPUSpecificPredicate("riscv64.*", new String[] { "sha256" }, null),
|
||||
new OrPredicate(new CPUSpecificPredicate("riscv64.*", new String[] { "zvkn" }, null),
|
||||
new OrPredicate(new CPUSpecificPredicate("s390.*", new String[] { "sha256" }, null),
|
||||
new OrPredicate(new CPUSpecificPredicate("ppc64.*", new String[] { "sha" }, null),
|
||||
new OrPredicate(new CPUSpecificPredicate("ppc64le.*", new String[] { "sha" }, null),
|
||||
@ -92,7 +92,7 @@ public class IntrinsicPredicates {
|
||||
|
||||
public static final BooleanSupplier SHA512_INSTRUCTION_AVAILABLE
|
||||
= new OrPredicate(new CPUSpecificPredicate("aarch64.*", new String[] { "sha512" }, null),
|
||||
new OrPredicate(new CPUSpecificPredicate("riscv64.*", new String[] { "sha512" }, null),
|
||||
new OrPredicate(new CPUSpecificPredicate("riscv64.*", new String[] { "zvkn" }, null),
|
||||
new OrPredicate(new CPUSpecificPredicate("s390.*", new String[] { "sha512" }, null),
|
||||
new OrPredicate(new CPUSpecificPredicate("ppc64.*", new String[] { "sha" }, null),
|
||||
new OrPredicate(new CPUSpecificPredicate("ppc64le.*", new String[] { "sha" }, null),
|
||||
|
Loading…
x
Reference in New Issue
Block a user