[LLVMdev] type f128

Eli Friedman eli.friedman at gmail.com
Mon Nov 7 13:07:53 PST 2011


On Mon, Nov 7, 2011 at 12:21 PM, Akira Hatanaka <ahatanak at gmail.com> wrote:
> Is the llvm backend (legalize, isel, etc.) currently capable of
> handling type f128?
> I am trying to emit a call to __subtf3 when I compile the following bitcode:
>
> define fp128 @f1(fp128 %a0, fp128 %a1) nounwind readnone {
> entry:
>  %sub = fsub fp128 %a0, %a1
>  ret fp128 %sub
> }
>
> This is for the Mips backend.

llvm/CodeGen/RuntimeLibcalls.h doesn't include SUB_F128 at the moment;
shouldn't be too hard to add, though.

-Eli




More information about the llvm-dev mailing list