summaryrefslogtreecommitdiff
path: root/tests/tcg/xtensa/test_sr.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/xtensa/test_sr.S')
-rw-r--r--tests/tcg/xtensa/test_sr.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tcg/xtensa/test_sr.S b/tests/tcg/xtensa/test_sr.S
index b1a91a0637..34441c7aff 100644
--- a/tests/tcg/xtensa/test_sr.S
+++ b/tests/tcg/xtensa/test_sr.S
@@ -221,6 +221,8 @@ test_sr_mask /*scompare1*/12, 0, 0
#if XCHAL_HAVE_VECBASE
test_sr vecbase, 1
+movi a2, XCHAL_VECBASE_RESET_VADDR
+wsr a2, vecbase
#else
test_sr_mask /*vecbase*/231, 0, 0
#endif