]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
target-arm/translate-a64.c: Remove dead ?: in disas_simd_3same_int()
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 19 Jun 2014 17:06:24 +0000 (18:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 19 Jun 2014 17:06:24 +0000 (18:06 +0100)
commit220ad4ca846d8e0734dd2d2af38c61a6f5436d66
tree8da0f55114792351149b2999ebf0dc04c8f62f83
parent5661ae6be23d8831a19c82f8eafb2aaecdf2da6a
target-arm/translate-a64.c: Remove dead ?: in disas_simd_3same_int()

In disas_simd_3same_int(), none of the instructions permit is_q
to be false with size == 3 (this would be a vector operation with
a one-element vector, and the instruction set encodes those as
scalar operations). Replace the always-true ?: check with an
assert.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-id: 1402171881-14343-3-git-send-email-peter.maydell@linaro.org
target-arm/translate-a64.c