< prev index next >

test/jdk/jdk/incubator/vector/templates/Unit-Reduction-Scalar-op-func.template

Print this page
*** 1,4 ***
--- 1,6 ---
+ 
      static $type$ [[TEST]]Reduce($type$[] a, int idx) {
          $type$ res = [[TEST_INIT]];
          for (int i = idx; i < (idx + SPECIES.length()); i++) {
              res = [[TEST_OP]](res, a[i]);
          }
< prev index next >