From a1da553c33e997c151ea6900c5a4e1a754dc6ee7 Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Tue, 9 Jan 2018 19:05:34 +0000 Subject: [PATCH] [WebAssembly] Update libcall signature lists New signatures added in r322087. A fix for this tight coupling is forthcoming. llvm-svn: 322105 --- .../WebAssemblyRuntimeLibcallSignatures.cpp | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp b/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp index f808c063d7e..18d914f0133 100644 --- a/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp +++ b/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp @@ -188,26 +188,51 @@ RuntimeLibcallSignatures[RTLIB::UNKNOWN_LIBCALL] = { /* LOG_F80 */ unsupported, /* LOG_F128 */ func_iPTR_i64_i64, /* LOG_PPCF128 */ unsupported, +/* LOG_FINITE_F32 */ unsupported, +/* LOG_FINITE_F64 */ unsupported, +/* LOG_FINITE_F80 */ unsupported, +/* LOG_FINITE_F128 */ unsupported, +/* LOG_FINITE_PPCF128 */ unsupported, /* LOG2_F32 */ f32_func_f32, /* LOG2_F64 */ f64_func_f64, /* LOG2_F80 */ unsupported, /* LOG2_F128 */ func_iPTR_i64_i64, /* LOG2_PPCF128 */ unsupported, +/* LOG2_FINITE_F32 */ unsupported, +/* LOG2_FINITE_F64 */ unsupported, +/* LOG2_FINITE_F80 */ unsupported, +/* LOG2_FINITE_F128 */ unsupported, +/* LOG2_FINITE_PPCF128 */ unsupported, /* LOG10_F32 */ f32_func_f32, /* LOG10_F64 */ f64_func_f64, /* LOG10_F80 */ unsupported, /* LOG10_F128 */ func_iPTR_i64_i64, /* LOG10_PPCF128 */ unsupported, +/* LOG10_FINITE_F32 */ unsupported, +/* LOG10_FINITE_F64 */ unsupported, +/* LOG10_FINITE_F80 */ unsupported, +/* LOG10_FINITE_F128 */ unsupported, +/* LOG10_FINITE_PPCF128 */ unsupported, /* EXP_F32 */ f32_func_f32, /* EXP_F64 */ f64_func_f64, /* EXP_F80 */ unsupported, /* EXP_F128 */ func_iPTR_i64_i64, /* EXP_PPCF128 */ unsupported, +/* EXP_FINITE_F32 */ unsupported, +/* EXP_FINITE_F64 */ unsupported, +/* EXP_FINITE_F80 */ unsupported, +/* EXP_FINITE_F128 */ unsupported, +/* EXP_FINITE_PPCF128 */ unsupported, /* EXP2_F32 */ f32_func_f32, /* EXP2_F64 */ f64_func_f64, /* EXP2_F80 */ unsupported, /* EXP2_F128 */ func_iPTR_i64_i64, /* EXP2_PPCF128 */ unsupported, +/* EXP2_FINITE_F32 */ unsupported, +/* EXP2_FINITE_F64 */ unsupported, +/* EXP2_FINITE_F80 */ unsupported, +/* EXP2_FINITE_F128 */ unsupported, +/* EXP2_FINITE_PPCF128 */ unsupported, /* SIN_F32 */ f32_func_f32, /* SIN_F64 */ f64_func_f64, /* SIN_F80 */ unsupported, @@ -230,6 +255,11 @@ RuntimeLibcallSignatures[RTLIB::UNKNOWN_LIBCALL] = { /* POW_F80 */ unsupported, /* POW_F128 */ func_iPTR_i64_i64_i64_i64, /* POW_PPCF128 */ unsupported, +/* POW_FINITE_F32 */ unsupported, +/* POW_FINITE_F64 */ unsupported, +/* POW_FINITE_F80 */ unsupported, +/* POW_FINITE_F128 */ unsupported, +/* POW_FINITE_PPCF128 */ unsupported, /* CEIL_F32 */ f32_func_f32, /* CEIL_F64 */ f64_func_f64, /* CEIL_F80 */ unsupported, @@ -655,26 +685,51 @@ RuntimeLibcallNames[RTLIB::UNKNOWN_LIBCALL] = { /* LOG_F80 */ nullptr, /* LOG_F128 */ "logl", /* LOG_PPCF128 */ nullptr, +/* LOG_FINITE_F32 */ nullptr, +/* LOG_FINITE_F64 */ nullptr, +/* LOG_FINITE_F80 */ nullptr, +/* LOG_FINITE_F128 */ nullptr, +/* LOG_FINITE_PPCF128 */ nullptr, /* LOG2_F32 */ "log2f", /* LOG2_F64 */ "log2", /* LOG2_F80 */ nullptr, /* LOG2_F128 */ "log2l", /* LOG2_PPCF128 */ nullptr, +/* LOG2_FINITE_F32 */ nullptr, +/* LOG2_FINITE_F64 */ nullptr, +/* LOG2_FINITE_F80 */ nullptr, +/* LOG2_FINITE_F128 */ nullptr, +/* LOG2_FINITE_PPCF128 */ nullptr, /* LOG10_F32 */ "log10f", /* LOG10_F64 */ "log10", /* LOG10_F80 */ nullptr, /* LOG10_F128 */ "log10l", /* LOG10_PPCF128 */ nullptr, +/* LOG10_FINITE_F32 */ nullptr, +/* LOG10_FINITE_F64 */ nullptr, +/* LOG10_FINITE_F80 */ nullptr, +/* LOG10_FINITE_F128 */ nullptr, +/* LOG10_FINITE_PPCF128 */ nullptr, /* EXP_F32 */ "expf", /* EXP_F64 */ "exp", /* EXP_F80 */ nullptr, /* EXP_F128 */ "expl", /* EXP_PPCF128 */ nullptr, +/* EXP_FINITE_F32 */ nullptr, +/* EXP_FINITE_F64 */ nullptr, +/* EXP_FINITE_F80 */ nullptr, +/* EXP_FINITE_F128 */ nullptr, +/* EXP_FINITE_PPCF128 */ nullptr, /* EXP2_F32 */ "exp2f", /* EXP2_F64 */ "exp2", /* EXP2_F80 */ nullptr, /* EXP2_F128 */ "exp2l", /* EXP2_PPCF128 */ nullptr, +/* EXP2_FINITE_F32 */ nullptr, +/* EXP2_FINITE_F64 */ nullptr, +/* EXP2_FINITE_F80 */ nullptr, +/* EXP2_FINITE_F128 */ nullptr, +/* EXP2_FINITE_PPCF128 */ nullptr, /* SIN_F32 */ "sinf", /* SIN_F64 */ "sin", /* SIN_F80 */ nullptr, @@ -697,6 +752,11 @@ RuntimeLibcallNames[RTLIB::UNKNOWN_LIBCALL] = { /* POW_F80 */ nullptr, /* POW_F128 */ "powl", /* POW_PPCF128 */ nullptr, +/* POW_FINITE_F32 */ nullptr, +/* POW_FINITE_F64 */ nullptr, +/* POW_FINITE_F80 */ nullptr, +/* POW_FINITE_F128 */ nullptr, +/* POW_FINITE_PPCF128 */ nullptr, /* CEIL_F32 */ "ceilf", /* CEIL_F64 */ "ceil", /* CEIL_F80 */ nullptr,