diff options
Diffstat (limited to 'src/vm_ppc.dasc')
-rw-r--r-- | src/vm_ppc.dasc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/vm_ppc.dasc b/src/vm_ppc.dasc index 3cad37d2..cc4d56d7 100644 --- a/src/vm_ppc.dasc +++ b/src/vm_ppc.dasc | |||
@@ -2012,11 +2012,14 @@ static void build_subroutines(BuildCtx *ctx) | |||
2012 | | b ->fff_resn | 2012 | | b ->fff_resn |
2013 | |.endmacro | 2013 | |.endmacro |
2014 | | | 2014 | | |
2015 | |.macro math_extern2, func | 2015 | |.macro math_extern2, name, func |
2016 | | .ffunc_nn math_ .. func | 2016 | | .ffunc_nn math_ .. name |
2017 | | blex func | 2017 | | blex func |
2018 | | b ->fff_resn | 2018 | | b ->fff_resn |
2019 | |.endmacro | 2019 | |.endmacro |
2020 | |.macro math_extern2, func | ||
2021 | | math_extern2 func, func | ||
2022 | |.endmacro | ||
2020 | | | 2023 | | |
2021 | |.macro math_round, func | 2024 | |.macro math_round, func |
2022 | | .ffunc_1 math_ .. func | 2025 | | .ffunc_1 math_ .. func |
@@ -2141,7 +2144,7 @@ static void build_subroutines(BuildCtx *ctx) | |||
2141 | | math_extern sinh | 2144 | | math_extern sinh |
2142 | | math_extern cosh | 2145 | | math_extern cosh |
2143 | | math_extern tanh | 2146 | | math_extern tanh |
2144 | | math_extern2 pow | 2147 | | math_extern2 pow, lj_vm_pow |
2145 | | math_extern2 atan2 | 2148 | | math_extern2 atan2 |
2146 | | math_extern2 fmod | 2149 | | math_extern2 fmod |
2147 | | | 2150 | | |
@@ -4139,7 +4142,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop) | |||
4139 | | checknum cr1, CARG3 | 4142 | | checknum cr1, CARG3 |
4140 | | crand 4*cr0+lt, 4*cr0+lt, 4*cr1+lt | 4143 | | crand 4*cr0+lt, 4*cr0+lt, 4*cr1+lt |
4141 | | bge ->vmeta_arith_vv | 4144 | | bge ->vmeta_arith_vv |
4142 | | blex pow | 4145 | | blex lj_vm_pow |
4143 | | ins_next1 | 4146 | | ins_next1 |
4144 | |.if FPU | 4147 | |.if FPU |
4145 | | stfdx FARG1, BASE, RA | 4148 | | stfdx FARG1, BASE, RA |