diff options
author | Christophe Lyon <christophe.lyon@st.com> | 2011-02-15 13:44:41 +0000 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-02-20 17:43:01 +0100 |
commit | 4bd4ee072cfbd3555b34279c8529f7f5f8d6c14a (patch) | |
tree | a03f5e5430dc1fea28b20897860cb171ea8bad00 /hw/twl92230.c | |
parent | d68a6f3a6deb2f5eee198b6fa46877a20227d86e (diff) |
target-arm: Fix rounding constant addition for Neon shifts
Handle cases where adding the rounding constant could overflow in Neon
shift instructions: VRSHR, VRSRA, VQRSHRN, VQRSHRUN, VRSHRN.
Signed-off-by: Christophe Lyon <christophe.lyon@st.com>
[peter.maydell@linaro.org: fix handling of large shifts in rshl_s32,
calculate signed saturated value as other functions do.]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/twl92230.c')
0 files changed, 0 insertions, 0 deletions