[tbb-commits] [tor-browser/tor-browser-68.2.0esr-9.0-1] Bug 1585351 - Bug 1460357 disabled AVX instructions for the mingw build; this is no longer needed r=lsalzman
gk at torproject.org
gk at torproject.org
Tue Nov 26 09:11:22 UTC 2019
commit f16928822981bd479cd16a4d6c48a7710e4b1398
Author: Tom Ritter <tom at mozilla.com>
Date: Thu Oct 3 21:02:16 2019 +0000
Bug 1585351 - Bug 1460357 disabled AVX instructions for the mingw build; this is no longer needed r=lsalzman
Bug 1460357 disabled AVX because gcc was generating unaligned instructions. But clang doesn't seem
to do that.
Differential Revision: https://phabricator.services.mozilla.com/D48072
--HG--
extra : moz-landing-system : lando
---
gfx/skia/skia/src/opts/SkOpts_hsw.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gfx/skia/skia/src/opts/SkOpts_hsw.cpp b/gfx/skia/skia/src/opts/SkOpts_hsw.cpp
index b04eaa91f8dc..d87ad1eb0503 100644
--- a/gfx/skia/skia/src/opts/SkOpts_hsw.cpp
+++ b/gfx/skia/skia/src/opts/SkOpts_hsw.cpp
@@ -7,7 +7,7 @@
// As described in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85525, MinGW will produce
// unaligned instructions for this code, resulting in a crash.
-#if defined(__AVX2__) && !defined(__MINGW32__)
+#if defined(__AVX2__)
#include <immintrin.h>
#include <stdint.h>
More information about the tbb-commits
mailing list