We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54b3ba2 commit 44501d8Copy full SHA for 44501d8
clang/lib/Headers/amxavx512intrin.h
@@ -12,7 +12,7 @@
12
13
#ifndef __AMX_AVX512INTRIN_H
14
#define __AMX_AVX512INTRIN_H
15
-#ifdef __x86_64__
+#if defined(__x86_64__) && defined(__SSE2__)
16
17
#define __DEFAULT_FN_ATTRS_AVX512 \
18
__attribute__((__always_inline__, __nodebug__, \
@@ -378,5 +378,5 @@ static __m512i __tile_movrow(__tile1024i src0, unsigned src1) {
378
return (__m512i)_tile_movrow_internal(src0.row, src0.col, src0.tile, src1);
379
}
380
381
-#endif // __x86_64__
+#endif // __x86_64__ && __SSE2__
382
#endif // __AMX_AVX512INTRIN_H
0 commit comments