[PATCH] [complex] Teach the complex math IR gen to emit direct math and a NaN-test prior to the call to the library function.

Chandler Carruth chandlerc at gmail.com
Tue Oct 14 18:07:10 PDT 2014


================
Comment at: lib/CodeGen/CGExprComplex.cpp:608
@@ +607,3 @@
+    return "__mulxc3";
+  }
+}
----------------
hfinkel wrote:
> What about PPC_FP128TyID, which gets __multc3 (or FP128TyID, which I think also gets __mulxc3)?
That's not new in this patch. I've only really been able to test this effectively on x86, and am not super familiar with the PPC ABI here.

Want to add multc3 and PPC_FP128TyID and a powerpc triple run to the test? It should probably be a separate commit though.

http://reviews.llvm.org/D5756






More information about the cfe-commits mailing list