mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:09:30 +02:00
* use 'cwd' instead of 'xor dx, dx' in the asm version GetPixel320
git-svn-id: trunk@40969 -
This commit is contained in:
parent
57c931cb4c
commit
300e584936
@ -2303,7 +2303,8 @@ End;
|
||||
seges lodsb
|
||||
xor ah, ah
|
||||
{$ifdef FPC_GRAPH_SUPPORTS_TRUECOLOR}
|
||||
xor dx, dx
|
||||
{ 1 byte shorter than 'xor dx, dx'; will always set dx to 0, because sign(ah)=0 }
|
||||
cwd
|
||||
{$endif FPC_GRAPH_SUPPORTS_TRUECOLOR}
|
||||
end;
|
||||
{$endif asmgraph}
|
||||
|
Loading…
Reference in New Issue
Block a user