aboutsummaryrefslogtreecommitdiff
path: root/src/vm_mips64.dasc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/vm_mips64.dasc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/vm_mips64.dasc b/src/vm_mips64.dasc
index dac143a4..71acf9ed 100644
--- a/src/vm_mips64.dasc
+++ b/src/vm_mips64.dasc
@@ -1201,9 +1201,9 @@ static void build_subroutines(BuildCtx *ctx)
1201 | beqz TAB:RB, ->fff_restv 1201 | beqz TAB:RB, ->fff_restv
1202 |. li CARG1, LJ_TNIL 1202 |. li CARG1, LJ_TNIL
1203 | lw TMP0, TAB:RB->hmask 1203 | lw TMP0, TAB:RB->hmask
1204 | lw TMP1, STR:RC->hash 1204 | lw TMP1, STR:RC->sid
1205 | ld NODE:TMP2, TAB:RB->node 1205 | ld NODE:TMP2, TAB:RB->node
1206 | and TMP1, TMP1, TMP0 // idx = str->hash & tab->hmask 1206 | and TMP1, TMP1, TMP0 // idx = str->sid & tab->hmask
1207 | dsll TMP0, TMP1, 5 1207 | dsll TMP0, TMP1, 5
1208 | dsll TMP1, TMP1, 3 1208 | dsll TMP1, TMP1, 3
1209 | dsubu TMP1, TMP0, TMP1 1209 | dsubu TMP1, TMP0, TMP1
@@ -4239,9 +4239,9 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
4239 |->BC_TGETS_Z: 4239 |->BC_TGETS_Z:
4240 | // TAB:RB = GCtab *, STR:RC = GCstr *, RA = dst*8 4240 | // TAB:RB = GCtab *, STR:RC = GCstr *, RA = dst*8
4241 | lw TMP0, TAB:RB->hmask 4241 | lw TMP0, TAB:RB->hmask
4242 | lw TMP1, STR:RC->hash 4242 | lw TMP1, STR:RC->sid
4243 | ld NODE:TMP2, TAB:RB->node 4243 | ld NODE:TMP2, TAB:RB->node
4244 | and TMP1, TMP1, TMP0 // idx = str->hash & tab->hmask 4244 | and TMP1, TMP1, TMP0 // idx = str->sid & tab->hmask
4245 | sll TMP0, TMP1, 5 4245 | sll TMP0, TMP1, 5
4246 | sll TMP1, TMP1, 3 4246 | sll TMP1, TMP1, 3
4247 | subu TMP1, TMP0, TMP1 4247 | subu TMP1, TMP0, TMP1
@@ -4402,10 +4402,10 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
4402 |->BC_TSETS_Z: 4402 |->BC_TSETS_Z:
4403 | // TAB:RB = GCtab *, STR:RC = GCstr *, RA = BASE+src*8 4403 | // TAB:RB = GCtab *, STR:RC = GCstr *, RA = BASE+src*8
4404 | lw TMP0, TAB:RB->hmask 4404 | lw TMP0, TAB:RB->hmask
4405 | lw TMP1, STR:RC->hash 4405 | lw TMP1, STR:RC->sid
4406 | ld NODE:TMP2, TAB:RB->node 4406 | ld NODE:TMP2, TAB:RB->node
4407 | sb r0, TAB:RB->nomm // Clear metamethod cache. 4407 | sb r0, TAB:RB->nomm // Clear metamethod cache.
4408 | and TMP1, TMP1, TMP0 // idx = str->hash & tab->hmask 4408 | and TMP1, TMP1, TMP0 // idx = str->sid & tab->hmask
4409 | sll TMP0, TMP1, 5 4409 | sll TMP0, TMP1, 5
4410 | sll TMP1, TMP1, 3 4410 | sll TMP1, TMP1, 3
4411 | subu TMP1, TMP0, TMP1 4411 | subu TMP1, TMP0, TMP1