mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
PPC: Clean up JIT/non-JIT symbol declarations in assembler part.
This commit is contained in:
parent
f4d4af1b6d
commit
96c1d8a8ad
@ -659,6 +659,7 @@ static void build_subroutines(BuildCtx *ctx)
|
|||||||
| math_extern sinh
|
| math_extern sinh
|
||||||
| math_extern cosh
|
| math_extern cosh
|
||||||
| math_extern tanh
|
| math_extern tanh
|
||||||
|
| math_extern2 pow
|
||||||
| math_extern2 atan2
|
| math_extern2 atan2
|
||||||
| math_extern2 fmod
|
| math_extern2 fmod
|
||||||
|
|
|
|
||||||
@ -670,8 +671,6 @@ static void build_subroutines(BuildCtx *ctx)
|
|||||||
|.ffunc_n math_frexp; NYI
|
|.ffunc_n math_frexp; NYI
|
||||||
|.ffunc_n math_modf; NYI
|
|.ffunc_n math_modf; NYI
|
||||||
|
|
|
|
||||||
|.ffunc_nn math_pow; NYI
|
|
||||||
|
|
|
||||||
|.macro math_minmax, name, cmpop
|
|.macro math_minmax, name, cmpop
|
||||||
| .ffunc_1 name
|
| .ffunc_1 name
|
||||||
| NYI
|
| NYI
|
||||||
@ -827,24 +826,21 @@ static void build_subroutines(BuildCtx *ctx)
|
|||||||
|
|
|
|
||||||
| vm_round vm_floor, 0
|
| vm_round vm_floor, 0
|
||||||
| vm_round vm_ceil, 1
|
| vm_round vm_ceil, 1
|
||||||
|
#if LJ_HASJIT
|
||||||
| vm_round vm_trunc, 2
|
| vm_round vm_trunc, 2
|
||||||
|
#else
|
||||||
|
|->vm_trunc:
|
||||||
|
#endif
|
||||||
|
|
|
|
||||||
|->vm_mod:
|
|->vm_powi:
|
||||||
| NYI
|
#if LJ_HASJIT
|
||||||
|
|
|
||||||
|->vm_exp:
|
|
||||||
| NYI
|
|
||||||
|->vm_exp2:
|
|
||||||
| NYI
|
|
||||||
|
|
|
||||||
|->vm_pow:
|
|
||||||
| NYI
|
|
||||||
|
|
|
||||||
|->vm_powi_sse:
|
|
||||||
| NYI
|
| NYI
|
||||||
|
#endif
|
||||||
|
|
|
|
||||||
|->vm_foldfpm:
|
|->vm_foldfpm:
|
||||||
|
#if LJ_HASJIT
|
||||||
| NYI
|
| NYI
|
||||||
|
#endif
|
||||||
|
|
|
|
||||||
|// Callable from C: double lj_vm_foldarith(double x, double y, int op)
|
|// Callable from C: double lj_vm_foldarith(double x, double y, int op)
|
||||||
|// Compute x op y for basic arithmetic operators (+ - * / % ^ and unary -)
|
|// Compute x op y for basic arithmetic operators (+ - * / % ^ and unary -)
|
||||||
|
Loading…
Reference in New Issue
Block a user