target-arm: Reinsert missing return statement in ARM mode SRS decode
commit3b3284486be6898937395fac3ddbd2e68c5cb52f
authorPeter Chubb <peter.chubb@nicta.com.au>
Fri, 19 Apr 2013 11:24:18 +0000 (19 12:24 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Apr 2013 11:24:18 +0000 (19 12:24 +0100)
tree52b58b6c781d25cc82b152b7ca6b436f29f4c476
parent09dada400328d75daf79e3eca1e48e024fec148d
target-arm: Reinsert missing return statement in ARM mode SRS decode

Since patch
   81465888c5306cd94abb9847e560796fd13d3c2f
   target-arm: factor out handling of SRS instruction
the ARM mode SRS instruction has not worked in QEMU.

The problem is a missing return directive that was removed in the
refactoring, so after decoding the instruction, qemu would fall through
to generate an UNDEF exception for an illegal instruction.

Signed-off-by: Peter Chubb <peter.chubb@nicta.com.au>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/translate.c