< prev index next >

test/jdk/jdk/incubator/vector/templates/Kernel-Rearrange.template

Print this page
rev 54658 : refactored mask and shuffle creation methods, moved classes to top-level

*** 3,11 **** $type$[] r = fr.apply(SPECIES.length()); for (int ic = 0; ic < INVOC_COUNT; ic++) { for (int i = 0; i < a.length; i += SPECIES.length()) { $abstractvectortype$ av = $abstractvectortype$.fromArray(SPECIES, a, i); ! av.rearrange($abstractvectortype$.shuffleFromArray(SPECIES, order, i)).intoArray(r, i); } } --- 3,11 ---- $type$[] r = fr.apply(SPECIES.length()); for (int ic = 0; ic < INVOC_COUNT; ic++) { for (int i = 0; i < a.length; i += SPECIES.length()) { $abstractvectortype$ av = $abstractvectortype$.fromArray(SPECIES, a, i); ! av.rearrange(VectorShuffle.fromArray(SPECIES, order, i)).intoArray(r, i); } }
< prev index next >