ARM64: Fix BC_JFORI on empty FP range.

Thanks to denesik. #1530
This commit is contained in:
Mike Pall 2026-10-13 12:03:27 +02:00
parent 3f549af5e9
commit 2c9f5cf62c

View File

@ -3939,6 +3939,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
if (op == BC_FORI) {
| csel PC, RC, PC, hi
} else if (op == BC_JFORI) {
| mov PC, RC
| ldrh RCw, [RC, #-4+OFS_RD]
| bls =>BC_JLOOP
} else if (op == BC_IFORL) {