Embedded Systems
schmit.asc
Associated article: Optimizing Pentium Code
Tags: Database Parallel Embedded Systems
article presenting optimzing code for the Pentium processor.
_OPTIMIZING PENTIUM CODE_
by Mike Schmit
Example 1:
; with without branch prediction
; (cycles are for a case of non-space character)
loop1:
mov al, [si] ; 1 1
inc si ; 0 0 (0 due to pairing)
cmp al, ' ' ; 1 1
jne foo ; 0 3
call space ;
jmp bar ;
foo:
inc ...


