mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-29 14:52:52 +00:00
8043674: Update compiler/intrinsic/bmi tests to run it on all platforms
Reviewed-by: kvn, iignatyev, fzhinkin
This commit is contained in:
parent
c620214d18
commit
f1db529ce7
@ -41,14 +41,14 @@ public class TestAndnI {
|
||||
|
||||
public static void main(String args[]) throws Throwable {
|
||||
if (!CPUInfo.hasFeature("bmi1")) {
|
||||
System.out.println("CPU does not support bmi1 feature. "+
|
||||
"Test skipped.");
|
||||
return;
|
||||
System.out.println("INFO: CPU does not support bmi1 feature.");
|
||||
}
|
||||
|
||||
BMITestRunner.runTests(AndnIExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseBMI1Instructions");
|
||||
BMITestRunner.runTests(AndnICommutativeExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseBMI1Instructions");
|
||||
}
|
||||
|
||||
|
||||
@ -41,14 +41,14 @@ public class TestAndnL {
|
||||
|
||||
public static void main(String args[]) throws Throwable {
|
||||
if (!CPUInfo.hasFeature("bmi1")) {
|
||||
System.out.println("CPU does not support bmi1 feature. " +
|
||||
"Test skipped.");
|
||||
return;
|
||||
System.out.println("INFO: CPU does not support bmi1 feature.");
|
||||
}
|
||||
|
||||
BMITestRunner.runTests(AndnLExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseBMI1Instructions");
|
||||
BMITestRunner.runTests(AndnLCommutativeExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseBMI1Instructions");
|
||||
}
|
||||
|
||||
|
||||
@ -41,14 +41,14 @@ public class TestBlsiI {
|
||||
|
||||
public static void main(String args[]) throws Throwable {
|
||||
if (!CPUInfo.hasFeature("bmi1")) {
|
||||
System.out.println("CPU does not support bmi1 feature. " +
|
||||
"Test skipped.");
|
||||
return;
|
||||
System.out.println("INFO: CPU does not support bmi1 feature.");
|
||||
}
|
||||
|
||||
BMITestRunner.runTests(BlsiIExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseBMI1Instructions");
|
||||
BMITestRunner.runTests(BlsiICommutativeExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseBMI1Instructions");
|
||||
}
|
||||
|
||||
|
||||
@ -41,14 +41,14 @@ public class TestBlsiL {
|
||||
|
||||
public static void main(String args[]) throws Throwable {
|
||||
if (!CPUInfo.hasFeature("bmi1")) {
|
||||
System.out.println("CPU does not support bmi1 feature. " +
|
||||
"Test skipped.");
|
||||
return;
|
||||
System.out.println("INFO: CPU does not support bmi1 feature.");
|
||||
}
|
||||
|
||||
BMITestRunner.runTests(BlsiLExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseBMI1Instructions");
|
||||
BMITestRunner.runTests(BlsiLCommutativeExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseBMI1Instructions");
|
||||
}
|
||||
|
||||
|
||||
@ -41,14 +41,14 @@ public class TestBlsmskI {
|
||||
|
||||
public static void main(String args[]) throws Throwable {
|
||||
if (!CPUInfo.hasFeature("bmi1")) {
|
||||
System.out.println("CPU does not support bmi1 feature. " +
|
||||
"Test skipped.");
|
||||
return;
|
||||
System.out.println("INFO: CPU does not support bmi1 feature.");
|
||||
}
|
||||
|
||||
BMITestRunner.runTests(BlsmskIExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseBMI1Instructions");
|
||||
BMITestRunner.runTests(BlsmskICommutativeExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseBMI1Instructions");
|
||||
}
|
||||
|
||||
|
||||
@ -41,14 +41,14 @@ public class TestBlsmskL {
|
||||
|
||||
public static void main(String args[]) throws Throwable {
|
||||
if (!CPUInfo.hasFeature("bmi1")) {
|
||||
System.out.println("CPU does not support bmi1 feature. " +
|
||||
"Test skipped.");
|
||||
return;
|
||||
System.out.println("INFO: CPU does not support bmi1 feature.");
|
||||
}
|
||||
|
||||
BMITestRunner.runTests(BlsmskLExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseBMI1Instructions");
|
||||
BMITestRunner.runTests(BlsmskLCommutativeExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseBMI1Instructions");
|
||||
}
|
||||
|
||||
|
||||
@ -41,14 +41,14 @@ public class TestBlsrI {
|
||||
|
||||
public static void main(String args[]) throws Throwable {
|
||||
if (!CPUInfo.hasFeature("bmi1")) {
|
||||
System.out.println("CPU does not support bmi1 feature. " +
|
||||
"Test skipped.");
|
||||
return;
|
||||
System.out.println("INFO: CPU does not support bmi1 feature.");
|
||||
}
|
||||
|
||||
BMITestRunner.runTests(BlsrIExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseBMI1Instructions");
|
||||
BMITestRunner.runTests(BlsrICommutativeExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseBMI1Instructions");
|
||||
}
|
||||
|
||||
|
||||
@ -41,14 +41,14 @@ public class TestBlsrL {
|
||||
|
||||
public static void main(String args[]) throws Throwable {
|
||||
if (!CPUInfo.hasFeature("bmi1")) {
|
||||
System.out.println("CPU does not support bmi1 feature. " +
|
||||
"Test skipped.");
|
||||
return;
|
||||
System.out.println("INFO: CPU does not support bmi1 feature.");
|
||||
}
|
||||
|
||||
BMITestRunner.runTests(BlsrLExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseBMI1Instructions");
|
||||
BMITestRunner.runTests(BlsrLCommutativeExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseBMI1Instructions");
|
||||
}
|
||||
|
||||
|
||||
@ -41,12 +41,11 @@ public class TestLzcntI {
|
||||
|
||||
public static void main(String args[]) throws Throwable {
|
||||
if (!CPUInfo.hasFeature("lzcnt")) {
|
||||
System.out.println("CPU does not support lzcnt feature. " +
|
||||
"Test skipped.");
|
||||
return;
|
||||
System.out.println("INFO: CPU does not support lzcnt feature.");
|
||||
}
|
||||
|
||||
BMITestRunner.runTests(LzcntIExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseCountLeadingZerosInstruction");
|
||||
}
|
||||
|
||||
|
||||
@ -41,12 +41,11 @@ public class TestLzcntL {
|
||||
|
||||
public static void main(String args[]) throws Throwable {
|
||||
if (!CPUInfo.hasFeature("lzcnt")) {
|
||||
System.out.println("CPU does not support lzcnt feature. " +
|
||||
"Test skipped.");
|
||||
return;
|
||||
System.out.println("INFO: CPU does not support lzcnt feature.");
|
||||
}
|
||||
|
||||
BMITestRunner.runTests(LzcntLExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseCountLeadingZerosInstruction");
|
||||
}
|
||||
|
||||
|
||||
@ -41,12 +41,11 @@ public class TestTzcntI {
|
||||
|
||||
public static void main(String args[]) throws Throwable {
|
||||
if (!CPUInfo.hasFeature("bmi1")) {
|
||||
System.out.println("CPU does not support bmi1 feature. " +
|
||||
"Test skipped.");
|
||||
return;
|
||||
System.out.println("INFO: CPU does not support bmi1 feature.");
|
||||
}
|
||||
|
||||
BMITestRunner.runTests(TzcntIExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseCountTrailingZerosInstruction");
|
||||
}
|
||||
|
||||
|
||||
@ -41,12 +41,11 @@ public class TestTzcntL {
|
||||
|
||||
public static void main(String args[]) throws Throwable {
|
||||
if (!CPUInfo.hasFeature("bmi1")) {
|
||||
System.out.println("CPU does not support bmi1 feature. " +
|
||||
"Test skipped.");
|
||||
return;
|
||||
System.out.println("INFO: CPU does not support bmi1 feature.");
|
||||
}
|
||||
|
||||
BMITestRunner.runTests(TzcntLExpr.class, args,
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"-XX:+UseCountTrailingZerosInstruction");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user