< prev index next >

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

Print this page

138         return lmask.firstTrue();
139     }
140 
141     @Benchmark
142     public int testLastTrueByte(Blackhole bh) {
143         return bmask.lastTrue();
144     }
145 
146     @Benchmark
147     public int testLastTrueShort(Blackhole bh) {
148         return smask.lastTrue();
149     }
150     @Benchmark
151     public int testLastTrueInt(Blackhole bh) {
152         return imask.lastTrue();
153     }
154     @Benchmark
155     public int testLastTrueLong(Blackhole bh) {
156         return lmask.lastTrue();
157     }



















158 }

138         return lmask.firstTrue();
139     }
140 
141     @Benchmark
142     public int testLastTrueByte(Blackhole bh) {
143         return bmask.lastTrue();
144     }
145 
146     @Benchmark
147     public int testLastTrueShort(Blackhole bh) {
148         return smask.lastTrue();
149     }
150     @Benchmark
151     public int testLastTrueInt(Blackhole bh) {
152         return imask.lastTrue();
153     }
154     @Benchmark
155     public int testLastTrueLong(Blackhole bh) {
156         return lmask.lastTrue();
157     }
158 
159     @Benchmark
160     public long testToLongByte(Blackhole bh) {
161         return bmask.toLong();
162     }
163 
164     @Benchmark
165     public long testToLongShort(Blackhole bh) {
166         return smask.toLong();
167     }
168     @Benchmark
169     public long testToLongInt(Blackhole bh) {
170         return imask.toLong();
171     }
172     @Benchmark
173     public long testToLongLong(Blackhole bh) {
174         return lmask.toLong();
175     }
176 
177 }
< prev index next >