[compiler-rt] r219715 - Add complex multiply/divide functions to arm64 iOS libclang_rt libraries.
Bob Wilson
bob.wilson at apple.com
Tue Oct 14 13:33:36 PDT 2014
Author: bwilson
Date: Tue Oct 14 15:33:36 2014
New Revision: 219715
URL: http://llvm.org/viewvc/llvm-project?rev=219715&view=rev
Log:
Add complex multiply/divide functions to arm64 iOS libclang_rt libraries.
Clang r219557 introduces libcalls to complex multiply/divide functions.
Since these functions are not available in iOS for arm64 devices, add them to
the static libraries.
Removed:
compiler-rt/trunk/lib/builtins/arm64/dummy.c
Modified:
compiler-rt/trunk/make/platform/clang_darwin.mk
Removed: compiler-rt/trunk/lib/builtins/arm64/dummy.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm64/dummy.c?rev=219714&view=auto
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm64/dummy.c (original)
+++ compiler-rt/trunk/lib/builtins/arm64/dummy.c (removed)
@@ -1,13 +0,0 @@
-/* ===---------- dummy.c - Implements dummy function, for bringup -----------===
- *
- * The LLVM Compiler Infrastructure
- *
- * This file is dual licensed under the MIT and the University of Illinois Open
- * Source Licenses. See LICENSE.TXT for details.
- *
- * ===----------------------------------------------------------------------===
- */
-
-static void dummy(void) __attribute__((used));
-
-static void dummy(void) {}
Modified: compiler-rt/trunk/make/platform/clang_darwin.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/make/platform/clang_darwin.mk?rev=219715&r1=219714&r2=219715&view=diff
==============================================================================
--- compiler-rt/trunk/make/platform/clang_darwin.mk (original)
+++ compiler-rt/trunk/make/platform/clang_darwin.mk Tue Oct 14 15:33:36 2014
@@ -222,7 +222,7 @@ FUNCTIONS.ios.i386 := $(FUNCTIONS.ios
divsi3 udivsi3
FUNCTIONS.ios.x86_64 := $(FUNCTIONS.ios.i386)
FUNCTIONS.ios.x86_64h := $(FUNCTIONS.ios.x86_64)
-FUNCTIONS.ios.arm64 := dummy
+FUNCTIONS.ios.arm64 := mulsc3 muldc3 divsc3 divdc3
FUNCTIONS.osx := mulosi4 mulodi4 muloti4
@@ -392,7 +392,7 @@ CCKEXT_ARMVFP_FUNCTIONS := $(CCKEXT_ARM_
FUNCTIONS.cc_kext.armv7 := $(CCKEXT_ARMVFP_FUNCTIONS)
FUNCTIONS.cc_kext.armv7k := $(CCKEXT_ARMVFP_FUNCTIONS)
FUNCTIONS.cc_kext.armv7s := $(CCKEXT_ARMVFP_FUNCTIONS)
-FUNCTIONS.cc_kext.arm64 := dummy
+FUNCTIONS.cc_kext.arm64 := mulsc3 muldc3 divsc3 divdc3
FUNCTIONS.cc_kext_ios5.armv7 := $(CCKEXT_ARMVFP_FUNCTIONS)
FUNCTIONS.cc_kext_ios5.armv7k := $(CCKEXT_ARMVFP_FUNCTIONS)
FUNCTIONS.cc_kext_ios5.armv7s := $(CCKEXT_ARMVFP_FUNCTIONS)
More information about the llvm-commits
mailing list