[LLVMdev] APFloat::PPCDoubleDouble arithmetic

Konstantin Tokarev annulen at yandex.ru
Sun Jun 24 11:36:00 PDT 2012


Hi all,

What changes to LLVM are needed to support arithmetic for PPCDoubleDouble?

arithmeticOK == false for PPCDoubleDouble leads e.g. to assert "Compile-time arithmetic does not support these semantics" when compiling the next function on PowerPC with clang:

double quiet_NaN()
{
    return 4.94065645841246544176568792868221e-324L;
}

-- 
Regards,
Konstantin



More information about the llvm-dev mailing list