test/compiler/intrinsics/bmi/TestTzcntI.java

Print this page
rev 7044 : 8043674: Update compiler/intrinsic/bmi tests to run it on all platforms
Reviewed-by: fzhinkin
Contributed-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>

*** 39,54 **** 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; } BMITestRunner.runTests(TzcntIExpr.class, args, "-XX:+UseCountTrailingZerosInstruction"); } public static class TzcntIExpr extends Expr.BitCountingIntExpr { --- 39,53 ---- public class TestTzcntI { public static void main(String args[]) throws Throwable { if (!CPUInfo.hasFeature("bmi1")) { ! System.out.println("INFO: CPU does not support bmi1 feature."); } BMITestRunner.runTests(TzcntIExpr.class, args, + "-XX:+IgnoreUnrecognizedVMOptions", "-XX:+UseCountTrailingZerosInstruction"); } public static class TzcntIExpr extends Expr.BitCountingIntExpr {