aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/xtensa/test_loop.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/xtensa/test_loop.S')
-rw-r--r--tests/tcg/xtensa/test_loop.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tcg/xtensa/test_loop.S b/tests/tcg/xtensa/test_loop.S
index 5755578d01..0cfd8661ea 100644
--- a/tests/tcg/xtensa/test_loop.S
+++ b/tests/tcg/xtensa/test_loop.S
@@ -2,6 +2,8 @@
test_suite loop
+#if XCHAL_HAVE_LOOPS
+
test loop
movi a2, 0
movi a3, 5
@@ -160,4 +162,6 @@ test loopgtz
1:
test_end
+#endif
+
test_suite_end