summaryrefslogtreecommitdiff
path: root/src/buildvm_ppc.dasc
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildvm_ppc.dasc')
-rw-r--r--src/buildvm_ppc.dasc18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/buildvm_ppc.dasc b/src/buildvm_ppc.dasc
index cf748f59..bbe5c741 100644
--- a/src/buildvm_ppc.dasc
+++ b/src/buildvm_ppc.dasc
@@ -2316,7 +2316,7 @@ static void build_subroutines(BuildCtx *ctx)
2316 | 2316 |
2317 |->vm_modi: 2317 |->vm_modi:
2318 | divwo. TMP0, CARG1, CARG2 2318 | divwo. TMP0, CARG1, CARG2
2319 | bsolr 2319 | bso >1
2320 | xor. CARG3, CARG1, CARG2 2320 | xor. CARG3, CARG1, CARG2
2321 | mullw TMP0, TMP0, CARG2 2321 | mullw TMP0, TMP0, CARG2
2322 | sub CARG1, CARG1, TMP0 2322 | sub CARG1, CARG1, TMP0
@@ -2324,16 +2324,12 @@ static void build_subroutines(BuildCtx *ctx)
2324 | cmpwi CARG1, 0; beqlr 2324 | cmpwi CARG1, 0; beqlr
2325 | add CARG1, CARG1, CARG2 2325 | add CARG1, CARG1, CARG2
2326 | blr 2326 | blr
2327 | 2327 |1:
2328 |->vm_powi: 2328 | cmpwi CARG2, 0
2329#if LJ_HASJIT 2329 | li CARG1, 0
2330 | NYI 2330 | beqlr
2331#endif 2331 | mcrxr cr0 // Clear SO for -2147483648 % -1 and return 0.
2332 | 2332 | blr
2333 |->vm_foldfpm:
2334#if LJ_HASJIT
2335 | NYI
2336#endif
2337 | 2333 |
2338 |// Callable from C: double lj_vm_foldarith(double x, double y, int op) 2334 |// Callable from C: double lj_vm_foldarith(double x, double y, int op)
2339 |// Compute x op y for basic arithmetic operators (+ - * / % ^ and unary -) 2335 |// Compute x op y for basic arithmetic operators (+ - * / % ^ and unary -)