DragonFly BSD
DragonFly commits List (threaded) for 2010-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 11 Sep 2010 04:19:19 -0700 (PDT)

commit 30d7cee3ae83856e62a65efefe1fa0ff7fb7e5df
Author: Venkatesh Srinivas <me@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]