]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/tcg/xtensa: restore vecbase SR after test
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 24 Apr 2022 15:33:16 +0000 (08:33 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Fri, 6 May 2022 22:27:40 +0000 (15:27 -0700)
commit8164f14bb98dce986b755af4b3dfee3eb99c95a1
treee9d62c489142251f203cbe16780b1c061c2aeb96
parentb9400b1fbaeb69af3e3052721fad79b2e46efc65
tests/tcg/xtensa: restore vecbase SR after test

Writing garbage into the vecbase SR results in hang in the subsequent
tests that expect to raise an exception. Restore vecbase SR to its
reset value after the test.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
tests/tcg/xtensa/test_sr.S