commit | 4d9ad7f793605abd9806fc932b3e04e028894565 | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Mon Apr 11 16:32:08 2011 +0100 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Wed Apr 13 20:47:50 2011 +0200 |
tree | 10fa50f207f76cd1251101891e207b79ef80a7e5 | |
parent | cc9453f457888bdd3ab7b37988adbfc4712fa125 [diff] |
target-arm: Don't overflow when calculating value for signed VABAL In the VABAL instruction we take the absolute difference of two values of size x and store it in a result of size 2x. This means we have to be careful to calculate the absolute difference using a wide enough type that we don't accidentally overflow. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>