< prev index next >

test/jdk/jdk/incubator/vector/templates/Unit-Unslice-op.template

Print this page
*** 1,4 ***
--- 1,6 ---
+ 
      static $type$[] [[TEST]]($type$[] a, int origin, int idx) {
          $type$[] res = new $type$[SPECIES.length()];
          for (int i = 0, j = 0; i < SPECIES.length(); i++){
              if(i < origin)
                  res[i] = ($type$)0;
< prev index next >