#3281: ffs() arch optimization -------------------------------+-------------------------------------------- Reporter: tqh | Owner: tqh Type: enhancement | Status: new Priority: low | Milestone: R1 Component: System/libroot.so | Version: Keywords: | Blockedby: Platform: All | Blocking: -------------------------------+-------------------------------------------- Comment(by tqh): For gcc 4 __builtin_ffs is always at least twice as fast. It should probably be ok on gcc2.95 as well. Should we just change the header to #define ffs(x) __builtin_ffs(x) ?[[BR]] Since we use gcc on other archs it should work there as well. -- Ticket URL: <http://dev.haiku-os.org/ticket/3281#comment:10> Haiku <http://dev.haiku-os.org> Haiku - the operating system.