<div dir="ltr"><div>Hi Vikram,</div><div>I am sorry that I missed this email initially. It appears someone else also has interest in enabling this build (<a href="https://reviews.llvm.org/D98831">https://reviews.llvm.org/D98831</a>).</div><div><br></div><div>Of course, another possibility is to change the ppc_fp128 RTLIB calls for 32-bit PPC in PPCISelLowering.cpp.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 15, 2021 at 3:32 PM vsp 1729 via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi<br><br>I am building Clang/LLVM for PPC440 processor. This is 32 bit processor. It built successfully (llvm, clang 9.0).<br>But compiling simple 2 long double numbers addition it generates __gcc_qadd from libgcc.a. I have GCC 9.2<br>toolchain. But its libgcc.a does not contain __gcc_qadd and others similar functions. Instead GCC handles same<br>situation with __adddf3 call. GCC does have a file ibm-double.c in libgcc but it is not built as part of libgcc.a instead<br>__adddf3 are built.<br>So I found that compiler-rt has these functions. But when builing compiler-rt, it is not supporting ppc32. It only builds<br>for PPC64.<br>So my question is: How to build compiler-rt for PPC32?<br><br>Please help<br><br>Cheers<br>Vikram
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div>