Move math helpers to lj_vmmath.c. Add missing log2/exp2 for Symbian.

This commit is contained in:
Mike Pall
2011-06-03 17:12:46 +02:00
parent 77bb8de93d
commit eec28aa9fd
14 changed files with 160 additions and 119 deletions

View File

@@ -876,7 +876,7 @@ enum {
GLOB_ff_math_log,
GLOB_ff_math_log10,
GLOB_ff_math_exp,
GLOB_vm_exp,
GLOB_vm_exp_x87,
GLOB_ff_math_sin,
GLOB_ff_math_cos,
GLOB_ff_math_tan,
@@ -936,7 +936,7 @@ enum {
GLOB_vm_ceil_sse,
GLOB_vm_trunc_sse,
GLOB_vm_mod,
GLOB_vm_exp2,
GLOB_vm_exp2_x87,
GLOB_vm_exp2raw,
GLOB_vm_pow_sse,
GLOB_vm_powi_sse,
@@ -1037,7 +1037,7 @@ static const char *const globnames[] = {
"ff_math_log",
"ff_math_log10",
"ff_math_exp",
"vm_exp",
"vm_exp_x87",
"ff_math_sin",
"ff_math_cos",
"ff_math_tan",
@@ -1097,7 +1097,7 @@ static const char *const globnames[] = {
"vm_ceil_sse",
"vm_trunc_sse",
"vm_mod",
"vm_exp2",
"vm_exp2_x87",
"vm_exp2raw",
"vm_pow_sse",
"vm_powi_sse",
@@ -1128,9 +1128,9 @@ static const char *const extnames[] = {
"lj_tab_next",
"lj_tab_getinth@8",
"lj_ffh_coroutine_wrap_err@8",
"lj_wrapper_sinh",
"lj_wrapper_cosh",
"lj_wrapper_tanh",
"lj_vm_sinh",
"lj_vm_cosh",
"lj_vm_tanh",
"lj_str_new",
"lj_tab_len@4",
"lj_gc_step@4",