ARM64: Improve BC_JLOOP.

Thanks to Peter Cawley. #1070
This commit is contained in:
Mike Pall 2023-09-09 17:38:44 +02:00
parent 6c599960d1
commit de2e09f54c

View File

@ -3816,9 +3816,8 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
|.if JIT
| // RA = base (ignored), RC = traceno
| ldr CARG1, [GL, #GL_J(trace)]
| mov CARG2w, #0 // Traces on ARM64 don't store the trace #, so use 0.
| st_vmstate wzr // Traces on ARM64 don't store the trace #, so use 0.
| ldr TRACE:RC, [CARG1, RC, lsl #3]
| st_vmstate CARG2w
|.if PAUTH
| ldr RA, TRACE:RC->mcauth
|.else