mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 21:20:24 +02:00
* x86: CMOV optimisations now check optimizecputype rather than cputype
This commit is contained in:
parent
4d57dee8d9
commit
df80d4e612
@ -11712,7 +11712,7 @@ unit aoptx86;
|
||||
Result:=true;
|
||||
exit;
|
||||
end
|
||||
else if (CPUX86_HAS_CMOV in cpu_capabilities[current_settings.cputype]) and
|
||||
else if (CPUX86_HAS_CMOV in cpu_capabilities[current_settings.optimizecputype]) and
|
||||
MatchInstruction(hp1,A_MOV,[S_W,S_L{$ifdef x86_64},S_Q{$endif x86_64}]) then
|
||||
begin
|
||||
{ check for
|
||||
|
Loading…
Reference in New Issue
Block a user