aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/xtensa/test_mul32.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/xtensa/test_mul32.S')
-rw-r--r--tests/tcg/xtensa/test_mul32.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tcg/xtensa/test_mul32.S b/tests/tcg/xtensa/test_mul32.S
index b288ead9f6..862d45abce 100644
--- a/tests/tcg/xtensa/test_mul32.S
+++ b/tests/tcg/xtensa/test_mul32.S
@@ -2,6 +2,8 @@
test_suite mul32
+#if XCHAL_HAVE_MUL32
+
test mull
movi a2, 0x137f5a5a
mov a3, a2
@@ -15,6 +17,8 @@ test mull
assert eq, a3, a6
test_end
+#endif
+
/* unfortunately dc232b doesn't have muluh/mulsh*/
test_suite_end