1 2 @Benchmark 3 public Object [[TEST]][[TEST_TYPE]][[OP_NAME]]() { 4 $type$[] a = fa.apply(size); 5 boolean[] ms = fmt.apply(size); 6 VectorMask<$Wideboxtype$> m = VectorMask.fromArray(SPECIES, ms, 0); 7 8 for (int ic = 0; ic < INVOC_COUNT; ic++) { 9 for (int i = 0; i < a.length; i += SPECIES.length()) { 10 $abstractvectortype$ av = $abstractvectortype$.fromArray(SPECIES, a, i); 11 12 // accumulate results, so JIT can't eliminate relevant computations 13 m = m.and(av.test(VectorOperators.[[TEST]])); 14 } 15 } 16 17 return m; 18 }