[cfe-dev] Compiler-rt fot ppc 32

Nemanja Ivanovic via cfe-dev cfe-dev at lists.llvm.org
Wed May 26 04:33:04 PDT 2021


Hi Vikram,
I am sorry that I missed this email initially. It appears someone else also
has interest in enabling this build (https://reviews.llvm.org/D98831).

Of course, another possibility is to change the ppc_fp128 RTLIB calls for
32-bit PPC in PPCISelLowering.cpp.

On Mon, Mar 15, 2021 at 3:32 PM vsp 1729 via cfe-dev <cfe-dev at lists.llvm.org>
wrote:

> Hi
>
> I am building Clang/LLVM for PPC440 processor. This is 32 bit processor.
> It built successfully (llvm, clang 9.0).
> But compiling simple 2 long double numbers addition it generates
> __gcc_qadd from libgcc.a. I have GCC 9.2
> toolchain. But its libgcc.a does not contain __gcc_qadd and others similar
> functions. Instead GCC handles same
> 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
> __adddf3 are built.
> So I found that compiler-rt has these functions. But when builing
> compiler-rt, it is not supporting ppc32. It only builds
> for PPC64.
> So my question is: How to build compiler-rt for PPC32?
>
> Please help
>
> Cheers
> Vikram _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20210526/34503801/attachment.html>


More information about the cfe-dev mailing list