aboutsummaryrefslogtreecommitdiff
path: root/src/vm_ppc.dasc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/vm_ppc.dasc9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/vm_ppc.dasc b/src/vm_ppc.dasc
index d4133a65..d9e19298 100644
--- a/src/vm_ppc.dasc
+++ b/src/vm_ppc.dasc
@@ -3163,6 +3163,11 @@ static void build_subroutines(BuildCtx *ctx)
3163 | blr 3163 | blr
3164 |.endif 3164 |.endif
3165 | 3165 |
3166 |->vm_next:
3167 |.if JIT
3168 | NYI // On big-endian.
3169 |.endif
3170 |
3166 |//----------------------------------------------------------------------- 3171 |//-----------------------------------------------------------------------
3167 |//-- FFI helper functions ----------------------------------------------- 3172 |//-- FFI helper functions -----------------------------------------------
3168 |//----------------------------------------------------------------------- 3173 |//-----------------------------------------------------------------------
@@ -5112,8 +5117,9 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
5112 case BC_ITERN: 5117 case BC_ITERN:
5113 | // RA = base*8, (RB = (nresults+1)*8, RC = (nargs+1)*8 (2+1)*8) 5118 | // RA = base*8, (RB = (nresults+1)*8, RC = (nargs+1)*8 (2+1)*8)
5114 |.if JIT 5119 |.if JIT
5115 | // NYI: add hotloop, record BC_ITERN. 5120 | // NYI on big-endian
5116 |.endif 5121 |.endif
5122 |->vm_IITERN:
5117 | add RA, BASE, RA 5123 | add RA, BASE, RA
5118 | lwz TAB:RB, -12(RA) 5124 | lwz TAB:RB, -12(RA)
5119 | lwz RC, -4(RA) // Get index from control var. 5125 | lwz RC, -4(RA) // Get index from control var.
@@ -5244,6 +5250,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
5244 | li TMP1, BC_ITERC 5250 | li TMP1, BC_ITERC
5245 | stb TMP0, -1(PC) 5251 | stb TMP0, -1(PC)
5246 | addis PC, TMP3, -(BCBIAS_J*4 >> 16) 5252 | addis PC, TMP3, -(BCBIAS_J*4 >> 16)
5253 | // NYI on big-endian: unpatch JLOOP.
5247 | stb TMP1, 3(PC) 5254 | stb TMP1, 3(PC)
5248 | b <1 5255 | b <1
5249 break; 5256 break;