Changes between Version 3 and Version 4 of IDISA_Horizontal


Ignore:
Timestamp:
May 8, 2011, 4:11:30 PM (8 years ago)
Author:
cameron
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IDISA_Horizontal

    v3 v4  
    11= IDISA Horizontal Operations =
    22
    3 The tables below list the various IDISA horizontal operations on vectors of N-bit
     3The table below lists the various IDISA horizontal operations on vectors of N-bit
    44fields, together with their description and semantic specification.
     5
     6These operations generally have the form `r = hsimd<N>::op(a, b)` for each
     7operation `op`, where `a` and `b` are operand vectors of N bit fields and `r` is
     8the corresponding result vector.   
    59
    610In general, operand fields may be interpreted as either signed or unsigned N-bit
     
    1317In general, result fields are converted to N-bits by truncation.
    1418
    15 == IDISA Binary Operations ==
    16 
    17 These operations generally have the form `r = hsimd<N>::op(a, b)` for each
    18 operation `op`, where `a` and `b` are operand vectors of N bit fields and `r` is
    19 the corresponding result vector.   
    20 
    2119|| `add` || addition || r,,i,, = c,,2i,, + c,,2i+1,, ||
    2220|| `min` || minimum value || r,,i,, = if s(c,,2i,,) < s(c,,2i+1,,) then c,,2i,, else c,,2i+1,, ||
     21|| `umin` || minimum value || r,,i,, = if u(c,,2i,,) < u(c,,2i+1,,) then c,,2i,, else c,,2i+1,, ||
    2322|| `packl` || pack low || r,,i,, = c,,2i+1,, ||
    2423|| `packh` || pack high || r,,i,, = c,,2i,, ||
    25 || `packus` || pack with unsigned saturation || r,,i,, = us,,N,,(concat(c,,2i,,, c,,2i+1,,)||
    26 || `packss` || pack with signed saturation || r,,i,, = ss,,N,,(concat(c,,2i,,, c,,2i+1,,) ||
     24|| `packus` || pack with unsigned saturation || r,,i,, = us,,N,,(concat(c,,2i,,, c,,2i+1,,))||
     25|| `packss` || pack with signed saturation || r,,i,, = ss,,N,,(concat(c,,2i,,, c,,2i+1,,)) ||
    2726
    2827where the N-bit unsigned and signed saturation functions are defined as follows.