Simplify helper routines for soft-float targets. Add POW rejoin.

This commit is contained in:
Mike Pall
2011-05-26 18:01:55 +02:00
parent ae3179926a
commit 625ef8626f
4 changed files with 89 additions and 15 deletions

View File

@@ -2003,16 +2003,6 @@ static void build_subroutines(BuildCtx *ctx)
| eors CARG2, CARG1, RB, lsl #1
| rsbmi CARG1, CARG1, #0 // if (sign(divisor) != sign(y)) y = -y
| bx lr
|
|->vm_powi:
#if LJ_HASJIT
| NYI
#endif
|
|->vm_foldfpm:
#if LJ_HASJIT
| NYI
#endif
|
|// Callable from C: double lj_vm_foldarith(double x, double y, int op)
|// Compute x op y for basic arithmetic operators (+ - * / % ^ and unary -)