type f128

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

Hi Akira

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:

It depends... There is some generic code here and there which can
handle f128, but some parts are still missed.
You might need to fill them...

I submitted a patch here.

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20111107/131525.html

Please review it when you have time.