git: kernel: bzeront() - Switch out loop instruction in i386 bzero for sub/jnz.

Venkatesh Srinivas vsrinivas at crater.dragonflybsd.org
Sat Sep 11 04:20:50 PDT 2010


commit 30d7cee3ae83856e62a65efefe1fa0ff7fb7e5df
Author: Venkatesh Srinivas <me at endeavour.zapto.org>
Date:   Sat Sep 11 04:16:39 2010 -0700

    kernel: bzeront() - Switch out loop instruction in i386 bzero for sub/jnz.
    
    Much as I like loop, it has a ~7-9 cycle latency on AMD CPUs. Lets spend
    idlezero time actually zeroing...

Summary of changes:
 sys/cpu/i386/misc/bzeront.s |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/30d7cee3ae83856e62a65efefe1fa0ff7fb7e5df


-- 
DragonFly BSD source repository





More information about the Commits mailing list