Commit 3308e7be authored by Stepan Moskovchenko's avatar Stepan Moskovchenko
Browse files

arm: Add condition code check to SWP emulator



When emulating a SWP/SWPB instruction, check the condition
code of the instruction and compare it against CPSR status
bits rather than relying on the architecture to only raise
an undefined instruction exception if the condition checks
are passing.

Change-Id: I9707960b091c3a5af20e396e0b6d5ed2aaf935ff
Signed-off-by: default avatarStepan Moskovchenko <stepanm@codeaurora.org>
parent 4121ed08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment