aboutsummaryrefslogtreecommitdiff
path: root/microblaze-dis.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-04-11 16:32:08 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-04-13 20:47:50 +0200
commit4d9ad7f793605abd9806fc932b3e04e028894565 (patch)
tree10fa50f207f76cd1251101891e207b79ef80a7e5 /microblaze-dis.c
parentcc9453f457888bdd3ab7b37988adbfc4712fa125 (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 'microblaze-dis.c')
0 files changed, 0 insertions, 0 deletions