summaryrefslogtreecommitdiff
path: root/tests/test-double-float.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-double-float.cpp')
-rw-r--r--tests/test-double-float.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-double-float.cpp b/tests/test-double-float.cpp
index b506f273..afd7bf77 100644
--- a/tests/test-double-float.cpp
+++ b/tests/test-double-float.cpp
@@ -4,7 +4,9 @@
#undef NDEBUG
#include <cassert>
+#if !defined(__riscv) && !defined(__s390__)
#include <immintrin.h>
+#endif
#include <cmath>
#include <cstdint>
#include <cstring>