| commit | 60e5338831e35e7b407b1670f5fe936859ea5490 | [log] [tgz] |
|---|---|---|
| author | Alexander Graf <agraf@suse.de> | Tue Dec 17 19:42:33 2013 +0000 |
| committer | Peter Maydell <peter.maydell@linaro.org> | Tue Dec 17 19:42:33 2013 +0000 |
| tree | feefb4268125c4bc1a2ac4237d553b9317440e83 | |
| parent | db0f79589c16fe7f697716f4cadc903a2575ef55 [diff] |
target-arm: A64: add support for compare and branch imm
This patch adds emulation for the compare and branch insns,
CBZ and CBNZ.
Signed-off-by: Alexander Graf <agraf@suse.de>
[claudio: adapted to new decoder,
compare with immediate 0,
introduce read_cpu_reg to get the 0 extension on (!sf)]
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>