Changes between Version 4 and Version 5 of IDISA_Horizontal
 Timestamp:
 May 9, 2011, 6:29:57 AM (8 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

IDISA_Horizontal
v4 v5 4 4 fields, together with their description and semantic specification. 5 5 6 These operations generally have the form `r = hsimd< N>::op(a, b)` for each6 These operations generally have the form `r = hsimd<w>::op(a, b)` for each 7 7 operation `op`, where `a` and `b` are operand vectors of N bit fields and `r` is 8 8 the corresponding result vector. 9 9 10 In general, operand fields may be interpreted as either signed or unsigned Nbit10 In general, operand fields may be interpreted as either signed or unsigned ''w''bit 11 11 integers, depending on the operation. When the results depend on 12 12 this interpretation, the notation s(a) refers to the interpretation … … 25 25  `packss`  pack with signed saturation  r,,i,, = ss,,N,,(concat(c,,2i,,, c,,2i+1,,))  26 26 27 where the Nbit unsigned and signed saturation functions are defined as follows.28  us,, N,,(x) = x, if u(x) < 2^N^29  us,, N,,(x) = 2^N^1, if u(x) >= 2^N^30  ss,, N,,(x) = x, if 2^N1^ <= s(x) < 2^N1^31  ss,, N,,(x) = 2^N1^1, if s(x) >= 2^N1^32  ss,, N,,(x) = 2^N1^, if s(x) < 2^N1^27 where the ''w''bit unsigned and signed saturation functions are defined as follows. 28  us,,''w'',,(x) = x, if u(x) < 2^''w''^ 29  us,,''w'',,(x) = 2^''w''^1, if u(x) >= 2^''w''^ 30  ss,,''w'',,(x) = x, if 2^''w''1^ <= s(x) < 2^''w''1^ 31  ss,,''w'',,(x) = 2^''w''1^1, if s(x) >= 2^''w''1^ 32  ss,,''w'',,(x) = 2^''w''1^, if s(x) < 2^''w''1^ 33 33 34 34 In these definitions, fields are numbered lefttoright in socalled *bigendian*