aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Yu-Cheng Ling <ycling@google.com>2018-01-18 11:31:21 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-01-18 11:36:56 -0800
commit9b9a1cd040fe4b8453927a2faaa1abbb4871f650 (patch)
treee107a05ef635076a28c8cdb3c026ad977cb8b40c
parentcfaaace259a60a605e2abef535b0109f0d67fcd5 (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.inc3
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 \