Changes between Version 18 and Version 19 of ShufflePatternLibrary


Ignore:
Timestamp:
May 7, 2014, 5:13:26 AM (5 years ago)
Author:
cameron
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ShufflePatternLibrary

    v18 v19  
    124124lanes, the following algorithm is applied.
    125125
    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,,, mm,,2^n-1^-1,, and m,,2^n-1^,,, ... 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^n-1^-1,, and m,,2^n-1^,,, ... m,,2^n^-1,,. 
    127127 1.  Compare the two vectors, element by element.   The mask is ruled a laned operation if the following conditions hold in each case.
    128128   a.  The value of m,,2^n-1^+i,, - m,,i,, = 2^n-1^, or
    129    b.  The value of m,,2^n-1^+i,, = m,,i,, = n, and vector 2 is a constant splat.
     129   b.  The value of m,,2^n-1^+i,, = m,,i,, = 2^n^, and vector 2 is a constant splat.
    130130 
    131131