< prev index next >

test/jdk/jdk/incubator/vector/benchmark/src/main/java/benchmark/jdk/incubator/vector/DoubleScalar.java

Print this page
rev 55894 : 8222897: [vector] Renaming of shift, rotate operations. Few other api changes.
Summary: Renaming of shift, rotate operations. Few other api changes.
Reviewed-by: jrose, briangoetz

@@ -258,10 +258,22 @@
 
 
 
 
 
+
+
+
+
+
+
+
+
+
+
+
+
     @Benchmark
     public void max(Blackhole bh) {
         double[] as = fa.apply(size);
         double[] bs = fb.apply(size);
         double[] rs = fr.apply(size);

@@ -296,11 +308,11 @@
 
 
 
 
     @Benchmark
-    public void addAll(Blackhole bh) {
+    public void addLanes(Blackhole bh) {
         double[] as = fa.apply(size);
         double r = 0;
         for (int ic = 0; ic < INVOC_COUNT; ic++) {
             r = 0;
             for (int i = 0; i < as.length; i++) {

@@ -309,11 +321,11 @@
         }
         bh.consume(r);
     }
 
     @Benchmark
-    public void mulAll(Blackhole bh) {
+    public void mulLanes(Blackhole bh) {
         double[] as = fa.apply(size);
         double r = 1;
         for (int ic = 0; ic < INVOC_COUNT; ic++) {
             r = 1;
             for (int i = 0; i < as.length; i++) {

@@ -322,11 +334,11 @@
         }
         bh.consume(r);
     }
 
     @Benchmark
-    public void minAll(Blackhole bh) {
+    public void minLanes(Blackhole bh) {
         double[] as = fa.apply(size);
         double r = Double.POSITIVE_INFINITY;
         for (int ic = 0; ic < INVOC_COUNT; ic++) {
             r = Double.POSITIVE_INFINITY;
             for (int i = 0; i < as.length; i++) {

@@ -335,11 +347,11 @@
         }
         bh.consume(r);
     }
 
     @Benchmark
-    public void maxAll(Blackhole bh) {
+    public void maxLanes(Blackhole bh) {
         double[] as = fa.apply(size);
         double r = Double.NEGATIVE_INFINITY;
         for (int ic = 0; ic < INVOC_COUNT; ic++) {
             r = Double.NEGATIVE_INFINITY;
             for (int i = 0; i < as.length; i++) {
< prev index next >