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