commit | f49b12c6e6a75a5bd109bcbbda072b24e5fb8dfd | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Thu Dec 14 10:45:20 2017 -0600 |
committer | Richard Henderson <richard.henderson@linaro.org> | Thu Feb 08 15:54:06 2018 +0000 |
tree | 10b46c4ebc3d9673eea4c3be813a67c03f653d14 | |
parent | 3774030a3e523689df24a7ed22854ce7a06b0116 [diff] |
tcg: Add generic helpers for saturating arithmetic No vector ops as yet. SSE only has direct support for 8- and 16-bit saturation; handling 32- and 64-bit saturation is much more expensive. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>