mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-26 07:20:44 +01:00
* fixed access violation bug in TX86AsmOptimizer.RegLoadedWithNewValue for the
A_MOVSD string instruction git-svn-id: trunk@35995 -
This commit is contained in:
parent
e837a8577c
commit
66c350d8d2
@ -425,6 +425,7 @@ unit aoptx86;
|
||||
(p.opcode = A_MOVQ) or
|
||||
(p.opcode = A_MOVAPD) or
|
||||
(p.opcode = A_MOVAPS)) and
|
||||
(p.ops=2) and { A_MOVSD can have zero operands, so this check is needed }
|
||||
(p.oper[1]^.typ = top_reg) and
|
||||
(SuperRegistersEqual(p.oper[1]^.reg,reg)) and
|
||||
((p.oper[0]^.typ = top_const) or
|
||||
|
||||
Loading…
Reference in New Issue
Block a user