aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86/tst-ifunc-isa-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86/tst-ifunc-isa-2.c')
-rw-r--r--sysdeps/x86/tst-ifunc-isa-2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/x86/tst-ifunc-isa-2.c b/sysdeps/x86/tst-ifunc-isa-2.c
index 156c649807..130169b614 100644
--- a/sysdeps/x86/tst-ifunc-isa-2.c
+++ b/sysdeps/x86/tst-ifunc-isa-2.c
@@ -23,12 +23,16 @@
static int
do_test (void)
{
+#if defined __clang__ && defined __i386__
+ return EXIT_UNSUPPORTED;
+#else
/* CPU must support SSE2. */
if (!__builtin_cpu_supports ("sse2"))
return EXIT_UNSUPPORTED;
enum isa value = foo ();
/* All ISAs, but SSE2, are disabled by tunables. */
return value == sse2 ? EXIT_SUCCESS : EXIT_FAILURE;
+#endif
}
#include <support/test-driver.c>