mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 02:30:41 +01:00
* fixed operand order in the check for sse movsd in i386's
TCpuAsmOptimizer.RegReadByInstruction git-svn-id: trunk@36003 -
This commit is contained in:
parent
2a82951f18
commit
d5d53e7017
@ -202,9 +202,9 @@ unit aoptcpu;
|
||||
begin
|
||||
if p.ops<>2 then
|
||||
internalerror(2017042702);
|
||||
regReadByInstruction := reginop(reg,p.oper[1]^) or
|
||||
regReadByInstruction := reginop(reg,p.oper[0]^) or
|
||||
(
|
||||
(p.oper[0]^.typ=top_reg) and (p.oper[1]^.typ=top_reg) and reginop(reg, p.oper[0]^)
|
||||
(p.oper[1]^.typ=top_reg) and (p.oper[0]^.typ=top_reg) and reginop(reg, p.oper[1]^)
|
||||
);
|
||||
exit;
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user