Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4af2585ac3 | |||
| 3041e656ce |
@@ -35,7 +35,7 @@ import jdk.test.lib.Asserts;
|
||||
* @library /test/lib /
|
||||
* @summary test combining vector not operation with compare
|
||||
* @modules jdk.incubator.vector
|
||||
* @requires (os.arch != "riscv64" | (os.arch == "riscv64" & vm.cpu.features ~= ".*rvv.*"))
|
||||
* @requires vm.opt.final.MaxVectorSize == "null" | vm.opt.final.MaxVectorSize >= 16
|
||||
*
|
||||
* @run driver compiler.vectorapi.VectorMaskCompareNotTest
|
||||
*/
|
||||
|
||||
@@ -149,6 +149,7 @@ public class VMProps implements Callable<Map<String, String>> {
|
||||
vmGC(map); // vm.gc.X = true/false
|
||||
vmGCforCDS(map); // may set vm.gc
|
||||
vmOptFinalFlags(map);
|
||||
vmOptFinalIntxFlags(map);
|
||||
|
||||
dump(map.map);
|
||||
log("Leaving call()");
|
||||
@@ -389,6 +390,26 @@ public class VMProps implements Callable<Map<String, String>> {
|
||||
vmOptFinalFlag(map, "UseVectorizedMismatchIntrinsic");
|
||||
}
|
||||
|
||||
/**
|
||||
* Selected final flag of type intx.
|
||||
*
|
||||
* @param map - property-value pairs
|
||||
* @param flagName - flag name
|
||||
*/
|
||||
private void vmOptFinalIntxFlag(SafeMap map, String flagName) {
|
||||
map.put("vm.opt.final." + flagName,
|
||||
() -> String.valueOf(WB.getIntxVMFlag(flagName)));
|
||||
}
|
||||
|
||||
/**
|
||||
* Selected sets of final flags of type intx.
|
||||
*
|
||||
* @param map - property-value pairs
|
||||
*/
|
||||
protected void vmOptFinalIntxFlags(SafeMap map) {
|
||||
vmOptFinalIntxFlag(map, "MaxVectorSize");
|
||||
}
|
||||
|
||||
/**
|
||||
* @return "true" if VM has a serviceability agent.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user