target-arm: A64: fix unallocated test of scalar SQXTUN
commite44a90c59697cf98e05619fbb6f77a403d347495
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 16 Apr 2014 11:29:39 +0000 (16 12:29 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 17 Apr 2014 20:34:07 +0000 (17 21:34 +0100)
tree00663246afe656b777e3c218cfea25e7ed32ffc2
parent33bbd75a7c3321432fe40a8cbacd64619c56138c
target-arm: A64: fix unallocated test of scalar SQXTUN

The test for the U bit was incorrectly inverted in the scalar case of SQXTUN.
This doesn't affect the vector case as the U bit is used to select XTN(2).

Reported-by: Hao Liu <hao.liu@arm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-stable@nongnu.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/translate-a64.c