diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-04-11 16:32:08 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-04-13 20:47:50 +0200 |
commit | 4d9ad7f793605abd9806fc932b3e04e028894565 (patch) | |
tree | 10fa50f207f76cd1251101891e207b79ef80a7e5 /arch_init.h | |
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>
Diffstat (limited to 'arch_init.h')
0 files changed, 0 insertions, 0 deletions