< prev index next >

test/micro/org/openjdk/bench/jdk/incubator/vector/MaskQueryOperationsBenchmark.java

Print this page
@@ -153,6 +153,25 @@
      }
      @Benchmark
      public int testLastTrueLong(Blackhole bh) {
          return lmask.lastTrue();
      }
+ 
+     @Benchmark
+     public long testToLongByte(Blackhole bh) {
+         return bmask.toLong();
+     }
+ 
+     @Benchmark
+     public long testToLongShort(Blackhole bh) {
+         return smask.toLong();
+     }
+     @Benchmark
+     public long testToLongInt(Blackhole bh) {
+         return imask.toLong();
+     }
+     @Benchmark
+     public long testToLongLong(Blackhole bh) {
+         return lmask.toLong();
+     }
+ 
  }
< prev index next >