summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins
diff options
context:
space:
mode:
authorSterling Augustine <saugustine@google.com>2017-08-01 17:16:05 +0000
committerSterling Augustine <saugustine@google.com>2017-08-01 17:16:05 +0000
commitf6b2e770eafe7b7dcb0aa5b2f992ee76b88323ae (patch)
treee85fe01ff98c7f43ac649bd227721f27eb92931c /compiler-rt/lib/builtins
parentdb51cc5745f4634cac1d6cad9ef40663b35f468d (diff)
downloadbcm5719-llvm-f6b2e770eafe7b7dcb0aa5b2f992ee76b88323ae.tar.gz
bcm5719-llvm-f6b2e770eafe7b7dcb0aa5b2f992ee76b88323ae.zip
Revert rL309634 until upstream buildbots have upgraded libc.
llvm-svn: 309704
Diffstat (limited to 'compiler-rt/lib/builtins')
-rw-r--r--compiler-rt/lib/builtins/CMakeLists.txt14
-rw-r--r--compiler-rt/lib/builtins/clear_cache.c2
2 files changed, 1 insertions, 15 deletions
diff --git a/compiler-rt/lib/builtins/CMakeLists.txt b/compiler-rt/lib/builtins/CMakeLists.txt
index 840042715b6..f0d3f50714c 100644
--- a/compiler-rt/lib/builtins/CMakeLists.txt
+++ b/compiler-rt/lib/builtins/CMakeLists.txt
@@ -458,20 +458,6 @@ set(mips64_SOURCES ${GENERIC_TF_SOURCES}
set(mips64el_SOURCES ${GENERIC_TF_SOURCES}
${mips_SOURCES})
-set(powerpc64_SOURCES
- ppc/divtc3.c
- ppc/fixtfdi.c
- ppc/fixunstfdi.c
- ppc/floatditf.c
- ppc/floatunditf.c
- ppc/gcc_qadd.c
- ppc/gcc_qdiv.c
- ppc/gcc_qmul.c
- ppc/gcc_qsub.c
- ppc/multc3.c
- ${GENERIC_SOURCES})
-set(powerpc64le_SOURCES ${powerpc64_SOURCES})
-
set(wasm32_SOURCES ${GENERIC_SOURCES})
set(wasm64_SOURCES ${GENERIC_SOURCES})
diff --git a/compiler-rt/lib/builtins/clear_cache.c b/compiler-rt/lib/builtins/clear_cache.c
index e21ac08f8a6..3c6570db6d5 100644
--- a/compiler-rt/lib/builtins/clear_cache.c
+++ b/compiler-rt/lib/builtins/clear_cache.c
@@ -165,7 +165,7 @@ void __clear_cache(void *start, void *end) {
for (addr = xstart; addr < xend; addr += icache_line_size)
__asm __volatile("ic ivau, %0" :: "r"(addr));
__asm __volatile("isb sy");
-#elif defined (__powerpc64__)
+#elif defined (__powerpc64__) && defined(__LITTLE_ENDIAN__)
const size_t line_size = 32;
const size_t len = (uintptr_t)end - (uintptr_t)start;
OpenPOWER on IntegriCloud