summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMax Filippov2017-11-04 04:30:30 +0100
committerMax Filippov2018-01-09 18:55:38 +0100
commite55239e2b65dbef085917e2dcc7336276877dfed (patch)
tree4e340043de7172093a6c7f0bf563145164ad367d /tests
parenttarget/xtensa: use libisa for instruction decoding (diff)
downloadqemu-e55239e2b65dbef085917e2dcc7336276877dfed.tar.gz
qemu-e55239e2b65dbef085917e2dcc7336276877dfed.tar.xz
qemu-e55239e2b65dbef085917e2dcc7336276877dfed.zip
target/xtensa: tests: fix memctl SR test
memctl SR is not available on dc232b, as it was introduced in more recent hardware release. Now that this information is available through the libisa the test fails. Fix the test. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/tcg/xtensa/test_sr.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcg/xtensa/test_sr.S b/tests/tcg/xtensa/test_sr.S
index 42e3e5e386..052f1e04a7 100644
--- a/tests/tcg/xtensa/test_sr.S
+++ b/tests/tcg/xtensa/test_sr.S
@@ -44,7 +44,6 @@ test_end
test_sr acchi, 1
test_sr acclo, 1
-test_sr /*memctl*/97, 0
test_sr_mask /*atomctl*/99, 0, 0
test_sr_mask /*br*/4, 0, 0
test_sr_mask /*cacheattr*/98, 0, 0
@@ -76,6 +75,7 @@ test_sr lcount, 1
test_sr lend, 1
test_sr litbase, 1
test_sr m0, 1
+test_sr_mask /*memctl*/97, 0, 0
test_sr misc0, 1
test_sr_mask /*prefctl*/40, 0, 0
test_sr_mask /*prid*/235, 0, 1