Alexandru Dura
2011-Feb-22 08:40 UTC
[LLVMdev] unary floating point operations using clang
Hello, Is there a way of generating unary floating point operations (like ISD::FABS, ISD::FSIN, ...) from C code using clang? I am building a backend for a machine that has hw support for these ops and I need a way to test them. Thanks, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110222/32cd0699/attachment.html>
On Feb 22, 2011, at 12:40 AM, Alexandru Dura wrote:> Hello, > > Is there a way of generating unary floating point operations (like ISD::FABS, ISD::FSIN, ...) from C code using clang? I am building a backend for a machine that has hw support for these ops and I need a way to test them.Sure, just call sin() and cos(). -Chris