8080: small uzero optimization
authorAlan Cox <alan@linux.intel.com>
Mon, 18 Feb 2019 00:06:06 +0000 (00:06 +0000)
committerAlan Cox <alan@linux.intel.com>
Mon, 18 Feb 2019 00:06:06 +0000 (00:06 +0000)
Kernel/usermem_std-8080.s

index b52c670..369cf35 100644 (file)
@@ -179,8 +179,9 @@ __uzero:
 !      Simple loop. Wants unrolling a bit
 !
        call map_process_always
+       mvi d,0
 zeroloop:
-       mvi m,0
+       mov m,d
        inx h
        dcx b
        mov a,b