commit | c40947186d72024723392c1a559e4b25c1315cd9 | [log] [tgz] |
---|---|---|
author | Marat Dukhan <maratek@google.com> | Fri Apr 02 10:03:16 2021 -0700 |
committer | XNNPACK Team <xnnpack-github-robot@google.com> | Fri Apr 02 10:04:03 2021 -0700 |
tree | 543b9402ebb92a3583bdd15ad0da1c6fd6ef38e4 | |
parent | d23cb6e93f78a9b53499c890c34a4cc38c9016b5 [diff] [blame] |
Include XOP headers in clang-cl compatible way. Fix #1382. PiperOrigin-RevId: 366463649
diff --git a/src/qs8-vaddc/gen/minmax-xop-mul32-ld32-x24.c b/src/qs8-vaddc/gen/minmax-xop-mul32-ld32-x24.c index c488e52..ff006d1 100644 --- a/src/qs8-vaddc/gen/minmax-xop-mul32-ld32-x24.c +++ b/src/qs8-vaddc/gen/minmax-xop-mul32-ld32-x24.c
@@ -9,7 +9,7 @@ #include <assert.h> -#ifdef __GNUC__ +#if defined(__GNUC__) || defined(__clang__) #include <x86intrin.h> #else #include <immintrin.h>