mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-18 20:10:17 +02:00
+ forgotten comments for new optimizations
This commit is contained in:
parent
f5d76c5593
commit
899981f318
@ -7166,6 +7166,15 @@ unit aoptx86;
|
||||
Exit;
|
||||
end;
|
||||
{$ifdef x86_64}
|
||||
{
|
||||
replace
|
||||
vpxor reg1,reg1,reg1
|
||||
vmov reg,mem
|
||||
|
||||
by
|
||||
|
||||
movq $0,mem
|
||||
}
|
||||
if GetNextInstruction(p,hp1) and
|
||||
MatchInstruction(hp1,A_VMOVSD,[]) and
|
||||
MatchOperand(taicpu(p).oper[2]^,taicpu(hp1).oper[0]^) and
|
||||
@ -7186,6 +7195,16 @@ unit aoptx86;
|
||||
end;
|
||||
{$endif x86_64}
|
||||
end
|
||||
{
|
||||
replace
|
||||
vpxor reg1,reg1,reg2
|
||||
|
||||
by
|
||||
|
||||
vpxor reg2,reg2,reg2
|
||||
|
||||
to avoid unncessary data dependencies
|
||||
}
|
||||
else if MatchOperand(taicpu(p).oper[0]^,taicpu(p).oper[1]^) and
|
||||
MatchOpType(taicpu(p),top_reg,top_reg,top_reg) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user