[fpc-pascal] Broken code with PEEPHOLE & REGVAR

Peter peter at pblackman.plus.com
Mon Mar 14 13:12:45 CET 2022


Testing 3.2.3 on Arch Linux

# [584] if not AttackPositionReached then
     testb    %r15b,%r15b
     je    .Lj270
# [587] TestLoc := AttackLoc;
     movl    83288(%rsp),%r13d                # <----- ***************
# Var AttackLoc located in register r13d
     movl    %r13d,24(%rsp)
# [591] NextLoc := PreLoc[TestLoc];



More information about the fpc-pascal mailing list