mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-04 14:07:10 +01:00
* improve heuristics for copy_move vs. copy_string when optimizing for size, #20664
git-svn-id: trunk@19758 -
This commit is contained in:
parent
aa529b0705
commit
60cccdcdbd
@ -1826,7 +1826,8 @@ unit cgx86;
|
||||
if (len>helpsize) then
|
||||
cm:=copy_string;
|
||||
if (cs_opt_size in current_settings.optimizerswitches) and
|
||||
not((len<=16) and (cm=copy_mmx)) then
|
||||
not((len<=16) and (cm=copy_mmx)) and
|
||||
not(len in [1,2,4{$ifdef x86_64},8{$endif x86_64}]) then
|
||||
cm:=copy_string;
|
||||
if (source.segment<>NR_NO) or
|
||||
(dest.segment<>NR_NO) then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user