target-arm: A64: add support for conditional branches
commit39fb730aed8c5f7b0058845cb9feac0d4b177985
authorAlexander Graf <agraf@suse.de>
Tue, 17 Dec 2013 19:42:33 +0000 (17 19:42 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 17 Dec 2013 19:42:33 +0000 (17 19:42 +0000)
tree82ec795502c06f01ffe0dc99e9c9fbe4daf49631
parentb001c8c3d6855b0b52fc0fdd63b5a93fd326bf0c
target-arm: A64: add support for conditional branches

This patch adds emulation for the conditional branch (b.cond) instruction.

Signed-off-by: Alexander Graf <agraf@suse.de>
[claudio: adapted to new decoder structure,
          reused arm infrastructure for checking the flags]
Signed-off-by: Claudio Fontana <claudio.fontana@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
target-arm/translate-a64.c
target-arm/translate.c
target-arm/translate.h