mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 12:26:58 +02:00
+ Comment about behavior of DBRA instruction
git-svn-id: trunk@29321 -
This commit is contained in:
parent
9a72100405
commit
38d5be4182
@ -99,7 +99,9 @@ asm
|
||||
ble @LMEMSET5
|
||||
{$ifdef CPUM68K_HAS_DBRA}
|
||||
{ FIXME: Any reason why not always just use DBRA mode on
|
||||
CPUs which support it? (KB) }
|
||||
CPUs which support it? (KB)
|
||||
- DBRA does only 16-bit decrements, so handling more than 65535 bytes
|
||||
requires additional code anyway (Sergei) }
|
||||
cmpi.l #65535, d1 { check, if this is a word move }
|
||||
ble @LMEMSET3 { use fast dbra mode }
|
||||
{$endif CPUM68K_HAS_DBRA}
|
||||
|
Loading…
Reference in New Issue
Block a user