diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2013-03-05 00:31:17 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2013-03-05 00:31:17 +0000 |
commit | 81465888c5306cd94abb9847e560796fd13d3c2f (patch) | |
tree | 9197af320a6e47221f8acbf0c738bf2c906860ec /include | |
parent | 26135ead80fa1fd13e95c162dacfd06f2ba82981 (diff) |
target-arm: Factor out handling of SRS instruction
Factor out the handling of the SRS instruction rather than
duplicating it between the Thumb and ARM decoders. This in
passing fixes two bugs in the Thumb decoder's SRS handling
which didn't exist in the ARM decoder:
* (LP:1079080) storing CPSR rather than SPSR (fixed in the
ARM decoder in commit c67b6b71 in 2009)
* failing to free the 'addr' TCG temp in the writeback case
Reported-by: Cesson Vincent <vcesson@stmi.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions