diff options
author | 2018-01-18 11:31:21 -0800 | |
---|---|---|
committer | 2018-01-18 11:36:56 -0800 | |
commit | 9b9a1cd040fe4b8453927a2faaa1abbb4871f650 (patch) | |
tree | e107a05ef635076a28c8cdb3c026ad977cb8b40c | |
parent | cfaaace259a60a605e2abef535b0109f0d67fcd5 (diff) |
TFLite iOS Makefile: Enable SSE4.1 for x86_64 build.
This makes the simulator slightly faster.
PiperOrigin-RevId: 182411030
-rw-r--r-- | tensorflow/contrib/lite/ios_makefile.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/contrib/lite/ios_makefile.inc b/tensorflow/contrib/lite/ios_makefile.inc index bcff7ed988..26cfe6c3e2 100644 --- a/tensorflow/contrib/lite/ios_makefile.inc +++ b/tensorflow/contrib/lite/ios_makefile.inc @@ -30,6 +30,9 @@ ifeq ($(TARGET), IOS) ${IPHONEOS_SYSROOT} \ -arch $(IOS_ARCH) \ -O3 + ifeq ($(IOS_ARCH), x86_64) + CXXFLAGS += -msse4.1 + endif CCFLAGS += -miphoneos-version-min=$(MIN_SDK_VERSION) \ -fembed-bitcode \ -mno-thumb \ |