diff options
Diffstat (limited to '')
-rw-r--r-- | src/vm_arm64.dasc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/vm_arm64.dasc b/src/vm_arm64.dasc index 7ef9ffba..f5f1b5f1 100644 --- a/src/vm_arm64.dasc +++ b/src/vm_arm64.dasc | |||
@@ -1387,14 +1387,11 @@ static void build_subroutines(BuildCtx *ctx) | |||
1387 | | b ->fff_resn | 1387 | | b ->fff_resn |
1388 | |.endmacro | 1388 | |.endmacro |
1389 | | | 1389 | | |
1390 | |.macro math_extern2, name, func | 1390 | |.macro math_extern2, func |
1391 | | .ffunc_nn math_ .. name | 1391 | | .ffunc_nn math_ .. func |
1392 | | bl extern func | 1392 | | bl extern func |
1393 | | b ->fff_resn | 1393 | | b ->fff_resn |
1394 | |.endmacro | 1394 | |.endmacro |
1395 | |.macro math_extern2, func | ||
1396 | | math_extern2 func, func | ||
1397 | |.endmacro | ||
1398 | | | 1395 | | |
1399 | |.ffunc_n math_sqrt | 1396 | |.ffunc_n math_sqrt |
1400 | | fsqrt d0, d0 | 1397 | | fsqrt d0, d0 |
@@ -1423,7 +1420,7 @@ static void build_subroutines(BuildCtx *ctx) | |||
1423 | | math_extern sinh | 1420 | | math_extern sinh |
1424 | | math_extern cosh | 1421 | | math_extern cosh |
1425 | | math_extern tanh | 1422 | | math_extern tanh |
1426 | | math_extern2 pow, lj_vm_pow | 1423 | | math_extern2 pow |
1427 | | math_extern2 atan2 | 1424 | | math_extern2 atan2 |
1428 | | math_extern2 fmod | 1425 | | math_extern2 fmod |
1429 | | | 1426 | | |
@@ -2677,7 +2674,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop) | |||
2677 | | ins_arithload FARG1, FARG2 | 2674 | | ins_arithload FARG1, FARG2 |
2678 | | ins_arithfallback ins_arithcheck_num | 2675 | | ins_arithfallback ins_arithcheck_num |
2679 | |.if "fpins" == "fpow" | 2676 | |.if "fpins" == "fpow" |
2680 | | bl extern lj_vm_pow | 2677 | | bl extern pow |
2681 | |.else | 2678 | |.else |
2682 | | fpins FARG1, FARG1, FARG2 | 2679 | | fpins FARG1, FARG1, FARG2 |
2683 | |.endif | 2680 | |.endif |