<div dir="ltr"><div><a href="http://lab.llvm.org:8011/builders/sanitizer-ppc64le-linux/builds/3228">http://lab.llvm.org:8011/builders/sanitizer-ppc64le-linux/builds/3228</a><br></div><div><div><span style="color:rgb(0,0,0);font-family:"Courier New",courier,monotype,monospace;font-size:medium"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"Courier New",courier,monotype,monospace;font-size:medium">FAIL: Builtins-powerpc64le-linux :: fixunsxfti_test.c (710 of 1848)</span><br></div><div><pre style="font-family:"Courier New",courier,monotype,monospace;color:rgb(0,0,0);font-size:medium"><span class="gmail-stdout">******************** TEST 'Builtins-powerpc64le-linux :: fixunsxfti_test.c' FAILED ********************
Script:
--
/home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build64/bin/clang -gline-tables-only -m64 -fno-function-sections -fno-builtin -I /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/projects/compiler-rt/lib/builtins -nodefaultlibs /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/projects/compiler-rt/test/builtins/Unit/fixunsxfti_test.c /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/lib/linux/libclang_rt.builtins-powerpc64le.a -lc -lm -o /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/test/builtins/Unit/POWERPC64LELinuxConfig/Output/fixunsxfti_test.c.tmp && /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/test/builtins/Unit/POWERPC64LELinuxConfig/Output/fixunsxfti_test.c.tmp
--
Exit Code: 1
Command Output (stdout):
--
error in __fixunsxfti(0X1P+0) = 0x00000000000000000000000000000000, expected 0x00000000000000000000000000000001
--
********************
Testing: 0 .. 10.. 20.. 30..
FAIL: Builtins-powerpc64le-linux :: fixxfti_test.c (718 of 1848)
******************** TEST 'Builtins-powerpc64le-linux :: fixxfti_test.c' FAILED ********************
Script:
--
/home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build64/bin/clang -gline-tables-only -m64 -fno-function-sections -fno-builtin -I /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/projects/compiler-rt/lib/builtins -nodefaultlibs /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/projects/compiler-rt/test/builtins/Unit/fixxfti_test.c /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/lib/linux/libclang_rt.builtins-powerpc64le.a -lc -lm -o /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/test/builtins/Unit/POWERPC64LELinuxConfig/Output/fixxfti_test.c.tmp && /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/test/builtins/Unit/POWERPC64LELinuxConfig/Output/fixxfti_test.c.tmp
--
Exit Code: 1
Command Output (stdout):
--
error in __fixxfti(0X1P+0) = 0x00000000000000000000000000000000, expected 0x00000000000000000000000000000001
--
********************
Testing: 0 .. 10.. 20.. 30..
FAIL: Builtins-powerpc64le-linux :: floattixf_test.c (735 of 1848)
******************** TEST 'Builtins-powerpc64le-linux :: floattixf_test.c' FAILED **</span><span class="gmail-stdout">******************
</span><span class="gmail-stdout">Script:
--
/home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build64/bin/clang -gline-tables-only -m64 -fno-function-sections -fno-builtin -I /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/projects/compiler-rt/lib/builtins -nodefaultlibs /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/projects/compiler-rt/test/builtins/Unit/floattixf_test.c /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/lib/linux/libclang_rt.builtins-powerpc64le.a -lc -lm -o /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/test/builtins/Unit/POWERPC64LELinuxConfig/Output/floattixf_test.c.tmp && /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/test/builtins/Unit/POWERPC64LELinuxConfig/Output/floattixf_test.c.tmp
--
Exit Code: 1
Command Output (stdout):
--
error in __floattixf(0x00000000000000000000000000000001) = 0X0.000000000000EP-1022, expected 0X1P+0
--
********************
Testing: 0 .. 10.. 20.. 30..
FAIL: Builtins-powerpc64le-linux :: floatuntixf_test.c (739 of 1848)
******************** TEST 'Builtins-powerpc64le-linux :: floatuntixf_test.c' FAILED ********************
Script:
--
/home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build64/bin/clang -gline-tables-only -m64 -fno-function-sections -fno-builtin -I /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/projects/compiler-rt/lib/builtins -nodefaultlibs /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/projects/compiler-rt/test/builtins/Unit/floatuntixf_test.c /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/lib/linux/libclang_rt.builtins-powerpc64le.a -lc -lm -o /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/test/builtins/Unit/POWERPC64LELinuxConfig/Output/floatuntixf_test.c.tmp && /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/test/builtins/Unit/POWERPC64LELinuxConfig/Output/floatuntixf_test.c.tmp
--
Exit Code: 1
Command Output (stdout):
--
error in __floatuntixf(0x00000000000000000000000000000001) = 0X0.000000000000EP-1022, expected 0X1P+0
--
********************</span></pre></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 31, 2017 at 3:23 PM, Sterling Augustine via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: saugustine<br>
Date: Mon Jul 31 15:23:17 2017<br>
New Revision: 309634<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=309634&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project?rev=309634&view=rev</a><br>
Log:<br>
Add powerpc64 to compiler-rt build infrastructure.<br>
<br>
Summary: Add powerpc64 to compiler-rt build infrastructure.<br>
<br>
Reviewers: timshen<br>
<br>
Reviewed By: timshen<br>
<br>
Subscribers: nemanjai, dberris, mgorny, aheejin, cfe-commits<br>
<br>
Differential Revision: <a href="https://reviews.llvm.org/D36108" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D36108</a><br>
<br>
Modified:<br>
compiler-rt/trunk/cmake/<wbr>Modules/CompilerRTUtils.cmake<br>
compiler-rt/trunk/cmake/<wbr>builtin-config-ix.cmake<br>
compiler-rt/trunk/lib/<wbr>builtins/CMakeLists.txt<br>
compiler-rt/trunk/lib/<wbr>builtins/clear_cache.c<br>
<br>
Modified: compiler-rt/trunk/cmake/<wbr>Modules/CompilerRTUtils.cmake<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/Modules/CompilerRTUtils.cmake?rev=309634&r1=309633&r2=309634&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/compiler-rt/trunk/<wbr>cmake/Modules/CompilerRTUtils.<wbr>cmake?rev=309634&r1=309633&r2=<wbr>309634&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- compiler-rt/trunk/cmake/<wbr>Modules/CompilerRTUtils.cmake (original)<br>
+++ compiler-rt/trunk/cmake/<wbr>Modules/CompilerRTUtils.cmake Mon Jul 31 15:23:17 2017<br>
@@ -167,6 +167,8 @@ macro(detect_target_arch)<br>
check_symbol_exists(__i386__ "" __I386)<br>
check_symbol_exists(__mips__ "" __MIPS)<br>
check_symbol_exists(__mips64__ "" __MIPS64)<br>
+ check_symbol_exists(__<wbr>powerpc64__ "" __PPC64)<br>
+ check_symbol_exists(__<wbr>powerpc64le__ "" __PPC64LE)<br>
check_symbol_exists(__s390x__ "" __S390X)<br>
check_symbol_exists(__wasm32__ "" __WEBASSEMBLY32)<br>
check_symbol_exists(__wasm64__ "" __WEBASSEMBLY64)<br>
@@ -184,6 +186,10 @@ macro(detect_target_arch)<br>
add_default_target_arch(<wbr>mips64)<br>
elseif(__MIPS)<br>
add_default_target_arch(mips)<br>
+ elseif(__PPC64)<br>
+ add_default_target_arch(<wbr>powerpc64)<br>
+ elseif(__PPC64LE)<br>
+ add_default_target_arch(<wbr>powerpc64le)<br>
elseif(__S390X)<br>
add_default_target_arch(s390x)<br>
elseif(__WEBASSEMBLY32)<br>
<br>
Modified: compiler-rt/trunk/cmake/<wbr>builtin-config-ix.cmake<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/builtin-config-ix.cmake?rev=309634&r1=309633&r2=309634&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/compiler-rt/trunk/<wbr>cmake/builtin-config-ix.cmake?<wbr>rev=309634&r1=309633&r2=<wbr>309634&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- compiler-rt/trunk/cmake/<wbr>builtin-config-ix.cmake (original)<br>
+++ compiler-rt/trunk/cmake/<wbr>builtin-config-ix.cmake Mon Jul 31 15:23:17 2017<br>
@@ -40,7 +40,7 @@ if(APPLE)<br>
endif()<br>
<br>
set(ALL_BUILTIN_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64}<br>
- ${MIPS32} ${MIPS64} ${WASM32} ${WASM64})<br>
+ ${MIPS32} ${MIPS64} ${PPC64} ${WASM32} ${WASM64})<br>
<br>
include(CompilerRTUtils)<br>
include(CompilerRTDarwinUtils)<br>
<br>
Modified: compiler-rt/trunk/lib/<wbr>builtins/CMakeLists.txt<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/CMakeLists.txt?rev=309634&r1=309633&r2=309634&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/compiler-rt/trunk/lib/<wbr>builtins/CMakeLists.txt?rev=<wbr>309634&r1=309633&r2=309634&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- compiler-rt/trunk/lib/<wbr>builtins/CMakeLists.txt (original)<br>
+++ compiler-rt/trunk/lib/<wbr>builtins/CMakeLists.txt Mon Jul 31 15:23:17 2017<br>
@@ -458,6 +458,20 @@ set(mips64_SOURCES ${GENERIC_TF_SOURCES}<br>
set(mips64el_SOURCES ${GENERIC_TF_SOURCES}<br>
${mips_SOURCES})<br>
<br>
+set(powerpc64_SOURCES<br>
+ ppc/divtc3.c<br>
+ ppc/fixtfdi.c<br>
+ ppc/fixunstfdi.c<br>
+ ppc/floatditf.c<br>
+ ppc/floatunditf.c<br>
+ ppc/gcc_qadd.c<br>
+ ppc/gcc_qdiv.c<br>
+ ppc/gcc_qmul.c<br>
+ ppc/gcc_qsub.c<br>
+ ppc/multc3.c<br>
+ ${GENERIC_SOURCES})<br>
+set(powerpc64le_SOURCES ${powerpc64_SOURCES})<br>
+<br>
set(wasm32_SOURCES ${GENERIC_SOURCES})<br>
set(wasm64_SOURCES ${GENERIC_SOURCES})<br>
<br>
<br>
Modified: compiler-rt/trunk/lib/<wbr>builtins/clear_cache.c<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/clear_cache.c?rev=309634&r1=309633&r2=309634&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/compiler-rt/trunk/lib/<wbr>builtins/clear_cache.c?rev=<wbr>309634&r1=309633&r2=309634&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- compiler-rt/trunk/lib/<wbr>builtins/clear_cache.c (original)<br>
+++ compiler-rt/trunk/lib/<wbr>builtins/clear_cache.c Mon Jul 31 15:23:17 2017<br>
@@ -165,7 +165,7 @@ void __clear_cache(void *start, void *en<br>
for (addr = xstart; addr < xend; addr += icache_line_size)<br>
__asm __volatile("ic ivau, %0" :: "r"(addr));<br>
__asm __volatile("isb sy");<br>
-#elif defined (__powerpc64__) && defined(__LITTLE_ENDIAN__)<br>
+#elif defined (__powerpc64__)<br>
const size_t line_size = 32;<br>
const size_t len = (uintptr_t)end - (uintptr_t)start;<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>