Changes between Version 3 and Version 4 of IDISA_Horizontal
 Timestamp:
 May 8, 2011, 4:11:30 PM (8 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

IDISA_Horizontal
v3 v4 1 1 = IDISA Horizontal Operations = 2 2 3 The table s below listthe various IDISA horizontal operations on vectors of Nbit3 The table below lists the various IDISA horizontal operations on vectors of Nbit 4 4 fields, together with their description and semantic specification. 5 6 These operations generally have the form `r = hsimd<N>::op(a, b)` for each 7 operation `op`, where `a` and `b` are operand vectors of N bit fields and `r` is 8 the corresponding result vector. 5 9 6 10 In general, operand fields may be interpreted as either signed or unsigned Nbit … … 13 17 In general, result fields are converted to Nbits by truncation. 14 18 15 == IDISA Binary Operations ==16 17 These operations generally have the form `r = hsimd<N>::op(a, b)` for each18 operation `op`, where `a` and `b` are operand vectors of N bit fields and `r` is19 the corresponding result vector.20 21 19  `add`  addition  r,,i,, = c,,2i,, + c,,2i+1,,  22 20  `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,,  23 22  `packl`  pack low  r,,i,, = c,,2i+1,,  24 23  `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,,))  27 26 28 27 where the Nbit unsigned and signed saturation functions are defined as follows.