xemu/target-arm
Christophe Lyon 40d3c43360 Support saturation with shift=0.
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>
2011-01-26 14:30:24 +01:00
..
cpu.h target-arm: Set privileged bit in TB flags correctly for M profile 2011-01-14 20:39:19 +01:00
exec.h move cpu_pc_from_tb to target-*/exec.h 2010-07-03 09:48:12 +03:00
helper.c target-arm: Don't generate code specific to current CPU mode for SRS 2011-01-14 20:39:18 +01:00
helpers.h ARM: add neon helpers for VQSHLU 2011-01-12 00:06:06 +01:00
iwmmxt_helper.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
machine.c Save/restore ARMv6 MMU state 2009-07-31 13:19:39 +01:00
neon_helper.c ARM: add neon helpers for VQSHLU 2011-01-12 00:06:06 +01:00
op_addsub.h target-arm: fix addsub/subadd implementation 2010-07-01 23:45:29 +02:00
op_helper.c [PATCH] target-arm: remove unused functions cpu_lock(), cpu_unlock() 2010-12-03 15:09:38 +02:00
translate.c Support saturation with shift=0. 2011-01-26 14:30:24 +01:00