Include <nmmintrin.h> in GroupVarint.h
authorChristopher Dykes <cdykes@fb.com>
Mon, 9 May 2016 19:57:08 +0000 (12:57 -0700)
committerFacebook Github Bot 9 <facebook-github-bot-9-bot@fb.com>
Mon, 9 May 2016 20:06:21 +0000 (13:06 -0700)
Summary: Because it is the standard (well, Intel's standard) location for __m128i, and GCC, Clang, MSVC and ICC all implement it in that location.

Reviewed By: yfeldblum

Differential Revision: D3270872

fbshipit-source-id: fa0f0410670cdb310e656ca55ee0f568ca5ee06f

folly/GroupVarint.h

index f91191cea139921e4ae5dd779329d9d0a6aaf621..b17d15f7f331625de0deb41feca30f2922b5e5ac 100644 (file)
 #include <folly/detail/GroupVarintDetail.h>
 #include <folly/Bits.h>
 #include <folly/Range.h>
+#include <folly/portability/Builtins.h>
 #include <glog/logging.h>
 
 #if FOLLY_SSE >= 3
-#include <x86intrin.h>
+#include <nmmintrin.h>
 namespace folly {
 namespace detail {
 extern const __m128i groupVarintSSEMasks[];