libvixl: Avoid std::abs() of 64-bit type
commit0602f420e40769b1d2829dd326bb632cc71aa407
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 3 Feb 2016 13:46:34 +0000 (3 13:46 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 3 Feb 2016 13:46:34 +0000 (3 13:46 +0000)
treed617b55919e77ff353807439cb3d4911c097ea20
parent6d152ebaf4db6567cefbbd3b2b102c4a50172109
libvixl: Avoid std::abs() of 64-bit type

The std::abs() function did not get a version that works on
'long long' until C++11. Avoid it, so that we can compile on
32-bit platforms (where int64_t is 'long long') with older
compilers (which don't support C++11).

Reported-by: Franz-Josef Haider <Franz-Josef.Haider@student.uibk.ac.at>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1453739429-31477-1-git-send-email-peter.maydell@linaro.org
disas/libvixl/vixl/a64/disasm-a64.cc