summarylogtreecommitdiffstats
path: root/040-libjpeg-xl-git-disable-avx2-avx512.patch
blob: 3c7df3955c92c9e9a7a5c5cf8c160602de2fbbf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -Naurp a/third_party/highway/hwy/targets.h b/third_party/highway/hwy/targets.h
--- a/third_party/highway/hwy/targets.h	2020-03-01 20:30:01.000000000 +0000
+++ b/third_party/highway/hwy/targets.h	2020-03-02 01:26:53.807156122 +0000
@@ -25,10 +25,10 @@
 #define HWY_WASM 32
 
 // Uncomment to avoid using/requiring AVX2 when running on Intel/AMD.
-// #define HWY_DISABLE_AVX2
+#define HWY_DISABLE_AVX2
 
 // Uncomment to avoid additional (optional) code generation for AVX-512 when
 // building for Intel/AMD.
-// #define HWY_DISABLE_AVX512
+#define HWY_DISABLE_AVX512
 
 #endif  // HWY_TARGETS_H_