< prev index next >

test/jdk/jdk/incubator/vector/templates/Perf-Compare.template

Print this page
rev 54658 : refactored mask and shuffle creation methods, moved classes to top-level

@@ -2,17 +2,17 @@
     @Benchmark
     public Object [[TEST]][[TEST_TYPE]][[OP_NAME]]() {
         $type$[] a = fa.apply(size);
         $type$[] b = fb.apply(size);
         boolean[] ms = fm.apply(size);
-        Vector.Mask<$Wideboxtype$> m = $abstractvectortype$.maskFromArray(SPECIES, ms, 0);
+        VectorMask<$Wideboxtype$> m = VectorMask.maskFromArray(SPECIES, ms, 0);
 
         for (int ic = 0; ic < INVOC_COUNT; ic++) {
             for (int i = 0; i < a.length; i += SPECIES.length()) {
                 $abstractvectortype$ av = $abstractvectortype$.fromArray(SPECIES, a, i);
                 $abstractvectortype$ bv = $abstractvectortype$.fromArray(SPECIES, b, i);
-                Vector.Mask<$Wideboxtype$> mv = av.[[TEST]](bv);
+                VectorMask<$Wideboxtype$> mv = av.[[TEST]](bv);
 
                 m = m.and(mv); // accumulate results, so JIT can't eliminate relevant computations
             }
         }
         return m;
< prev index next >