diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-04-20 18:22:45 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2011-04-20 18:22:45 +0000 |
commit | 31567416d6a126589e18885d81dc04154bea3bd3 (patch) | |
tree | 4a5cd6bcdf9c9b4e5209ad706115520915bb0c87 /fpu | |
parent | ec444452b8753a372de30b22d9b4765a799db612 (diff) |
target-arm: Support v6 barriers in linux-user modecp15-barriers
ARMv6 implemented various operations as special cases of cp15 accesses
which are true instructions in v7; this includes barriers (DMB, DSB, ISB).
Catch this special case at translate time, so that it works in linux-user
mode (which doesn't provide a functional get_cp15 helper) as well as
system mode.
Includes minor cleanup of the existing cases, and moving the check to
before the "OK in user mode?" test, since we know all these instructions
are OK.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'fpu')
0 files changed, 0 insertions, 0 deletions