On 12/06/2013 01:39 AM, Peter Maydell wrote: > From: Alexander Graf <ag...@suse.de> > > This patch adds emulation for the compare and branch insns, > CBZ and CBNZ. > > Signed-off-by: Alexander Graf <ag...@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.font...@linaro.org> > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > target-arm/translate-a64.c | 46 > ++++++++++++++++++++++++++++++++++++++++++-- > 1 file changed, 44 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <r...@twiddle.net> r~