Changes between Version 18 and Version 19 of ShufflePatternLibrary
 Timestamp:
 May 7, 2014, 5:13:26 AM (5 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

ShufflePatternLibrary
v18 v19 124 124 lanes, the following algorithm is applied. 125 125 126 1. Given a shuffle vector mask of 2^n^ elements labelled m,,0,,, ... m,,2^n^1,,, form the two submask vectors m,,0,,, m m,,2^n1^1,, and m,,2^n1^,,, ... m,,2^n^1,,.126 1. Given a shuffle vector mask of 2^n^ elements labelled m,,0,,, ... m,,2^n^1,,, form the two submask vectors m,,0,,, m,,2^n1^1,, and m,,2^n1^,,, ... m,,2^n^1,,. 127 127 1. Compare the two vectors, element by element. The mask is ruled a laned operation if the following conditions hold in each case. 128 128 a. The value of m,,2^n1^+i,,  m,,i,, = 2^n1^, or 129 b. The value of m,,2^n1^+i,, = m,,i,, = n, and vector 2 is a constant splat.129 b. The value of m,,2^n1^+i,, = m,,i,, = 2^n^, and vector 2 is a constant splat. 130 130 131 131