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,16 +39,15 @@
 
 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");
     }
 
     public static class TzcntLExpr extends Expr.BitCountingLongExpr {