target-arm: A64: add support for logical (immediate) insns
commit71b46089303beb7d52a0b9397f5c286a7e66275f
authorAlexander Graf <agraf@suse.de>
Tue, 17 Dec 2013 19:42:36 +0000 (17 19:42 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 17 Dec 2013 20:12:51 +0000 (17 20:12 +0000)
tree2577ca17aedf39b6f6e8a5f806f31cd7ee1b05d3
parente80c502023d332fb60866eb378e715ab3f158b72
target-arm: A64: add support for logical (immediate) insns

This patch adds support for C3.4.4 Logical (immediate),
which include AND, ANDS, ORR, EOR.

Signed-off-by: Alexander Graf <agraf@suse.de>
[claudio: adapted to new decoder, function renaming,
          removed a TCG temp variable]
Signed-off-by: Claudio Fontana <claudio.fontana@linaro.org>
[PMM: cleaned up some unnecessary code in logic_imm_decode_wmask
and added clarifying commentary on what it's actually doing.
Dropped an ext32u that's not needed if we've just done an AND.]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
target-arm/translate-a64.c