40d3c43360
This patch fixes corner-case saturations, when the target range is zero. It merely removes the guard against (sh == 0), and makes: __ssat(0x87654321, 1) return 0xffffffff and set the saturation flag __usat(0x87654321, 0) return 0 and set the saturation flag Signed-off-by: Christophe Lyon <christophe.lyon@st.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> |
||
---|---|---|
.. | ||
cpu.h | ||
exec.h | ||
helper.c | ||
helpers.h | ||
iwmmxt_helper.c | ||
machine.c | ||
neon_helper.c | ||
op_addsub.h | ||
op_helper.c | ||
translate.c |