Print this page
*** NO COMMENTS ***

*** 43,53 **** import sun.hotspot.cpuinfo.CPUInfo; public class TestLzcntL { public static void main(String args[]) throws Throwable { ! if (!CPUInfo.hasFeature("lzcnt")) { System.out.println("INFO: CPU does not support lzcnt feature."); } BMITestRunner.runTests(LzcntLExpr.class, args, "-XX:+IgnoreUnrecognizedVMOptions", --- 43,56 ---- import sun.hotspot.cpuinfo.CPUInfo; public class TestLzcntL { public static void main(String args[]) throws Throwable { ! /* ! * SPARC also has lzcnt if it has the VIS3 instruction set. ! */ ! if (!(CPUInfo.hasFeature("lzcnt") || CPUInfo.hasFeature("vis3"))) { System.out.println("INFO: CPU does not support lzcnt feature."); } BMITestRunner.runTests(LzcntLExpr.class, args, "-XX:+IgnoreUnrecognizedVMOptions",