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

[issue1770] Patch for i386 to use bsrl for libc fls().


From: "Venkatesh Srinivas \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 04 Jun 2010 04:27:40 +0000

Venkatesh Srinivas <me@acm.jhu.edu> added the comment:

I just tested the i386 fls against its C equivalent on every input, to see that 
it produces the same output; it passed. Running the C version, optimized by 
gcc, took 49 sec on my hardware, the assembler version 10sec. 

The x86_64 version is tested on a few test inputs, but not in the Dfly libc, 
only as standalone .S files.

_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1770>
_____________________________________________________




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