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

看板DFBSD_submit作者時間15年前 (2010/06/04 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/9 (看更多)
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> _____________________________________________________
文章代碼(AID): #1C2875v_ (DFBSD_submit)
討論串 (同標題文章)
文章代碼(AID): #1C2875v_ (DFBSD_submit)