summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Maydell2018-10-24 08:50:18 +0200
committerPeter Maydell2018-10-24 08:51:36 +0200
commit2ed08180db096ea5e44573529b85e09b1ed10b08 (patch)
tree362f56c4e983d26ab6cc83ff2577ec41950392bd /scripts
parenttarget/arm: New utility function to extract EC from syndrome (diff)
downloadqemu-2ed08180db096ea5e44573529b85e09b1ed10b08.tar.gz
qemu-2ed08180db096ea5e44573529b85e09b1ed10b08.tar.xz
qemu-2ed08180db096ea5e44573529b85e09b1ed10b08.zip
target/arm: Get IL bit correct for v7 syndrome values
For the v7 version of the Arm architecture, the IL bit in syndrome register values where the field is not valid was defined to be UNK/SBZP. In v8 this is RES1, which is what QEMU currently implements. Handle the desired v7 behaviour by squashing the IL bit for the affected cases: * EC == EC_UNCATEGORIZED * prefetch aborts * data aborts where ISV is 0 (The fourth case listed in the v8 Arm ARM DDI 0487C.a in section G7.2.70, "illegal state exception", can't happen on a v7 CPU.) This deals with a corner case noted in a comment. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20181012144235.19646-10-peter.maydell@linaro.org
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions