Add runtime library names for pow.

llvm-svn: 42880
This commit is contained in:
Dan Gohman 2007-10-11 23:09:10 +00:00
parent daee002438
commit fd66486950
2 changed files with 8 additions and 0 deletions

View File

@ -72,6 +72,10 @@ namespace RTLIB {
SIN_F64,
COS_F32,
COS_F64,
POW_F32,
POW_F64,
POW_F80,
POW_PPCF128,
// CONVERSION
FPEXT_F32_F64,

View File

@ -73,6 +73,10 @@ static void InitLibcallNames(const char **Names) {
Names[RTLIB::SIN_F64] = "sin";
Names[RTLIB::COS_F32] = "cosf";
Names[RTLIB::COS_F64] = "cos";
Names[RTLIB::POW_F32] = "powf";
Names[RTLIB::POW_F64] = "pow";
Names[RTLIB::POW_F80] = "powl";
Names[RTLIB::POW_PPCF128] = "powl";
Names[RTLIB::FPEXT_F32_F64] = "__extendsfdf2";
Names[RTLIB::FPROUND_F64_F32] = "__truncdfsf2";
Names[RTLIB::FPTOSINT_F32_I32] = "__fixsfsi";