mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-08 01:27:42 +01:00
+ also recognize sbb reg,reg as writing a new value in the register in TX86AsmOptimizer.RegLoadedWithNewValue
git-svn-id: trunk@36119 -
This commit is contained in:
parent
4305ffcfa3
commit
b882ba5fd2
@ -520,7 +520,7 @@ unit aoptx86;
|
||||
(p.opcode = A_FNSTSW)) and
|
||||
(p.oper[0]^.typ=top_reg) and
|
||||
Reg1WriteOverwritesReg2Entirely(p.oper[0]^.reg,reg)) or
|
||||
(((p.opcode = A_XOR) or (p.opcode = A_SUB)) and
|
||||
(((p.opcode = A_XOR) or (p.opcode = A_SUB) or (p.opcode = A_SBB)) and
|
||||
(p.oper[0]^.typ=top_reg) and (p.oper[1]^.typ=top_reg) and
|
||||
(p.oper[0]^.reg=p.oper[1]^.reg) and
|
||||
Reg1WriteOverwritesReg2Entirely(p.oper[1]^.reg,reg));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user