Changes between Version 9 and Version 10 of ShufflePatternLibrary


Ignore:
Timestamp:
Apr 26, 2014, 8:05:25 PM (5 years ago)
Author:
cameron
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ShufflePatternLibrary

    v9 v10  
    126126lanes, the following algorithm is applied.
    127127
    128  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__
     128 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,,
    129129 1.  Compare the two vectors, element by element.   The mask is ruled a laned operation if the following conditions hold in each case.
    130    a.  The value of m__2^n-1^+i__ - m__i__ = 2^n-1^, or
    131    b.  The value of m__2^n-1^+i__ = m__i__ = n, and vector 2 is a constant splat.
     130   a.  The value of m,,2^n-1^+i,, - m,,i,, = 2^n-1^, or
     131   b.  The value of m,,2^n-1^+i,, = m,,i,, = n, and vector 2 is a constant splat.
    132132 
    133133