[ros-dev] ping Alex regarding log2() for scheduler

Waldo Alvarez Cañizares wac at lab.matcom.uh.cu
Tue Mar 29 17:59:43 CEST 2005


Can't that one be transformed to do a Bit Scan Reverse? I guess there are alogorithms for it too. Try near the link I provided. Or try the Angner Fog's optimization manual. If that does not works you could try SuperOptimizer. Is a program that finds algorithms in assembler for some arch (x86 included of course) by means of trying instructions using bruteforce (you can use several computers if you want), usually can be converted back to a HLL. This function is little enought to let superoptimizer work. Find it, is open source software, a little complex and MACROfied piece of code but somehow modifiable to suit your needs.
 
Best Regards
Waldo Alvarez

________________________________

From: ros-dev-bounces at reactos.com on behalf of Royce Mitchell III
Sent: Fri 3/25/2005 4:19 PM
To: ReactOS Development List
Subject: Re: [ros-dev] ping Alex regarding log2() for scheduler



Waldo Alvarez Cañizares wrote:

>but if you are searching a fast BSF replacement...
> 
>
Unfortunately we have no need of BSF :(

Is there a similar algo for BSR, which is what we need?



_______________________________________________
Ros-dev mailing list
Ros-dev at reactos.com
http://reactos.com:8080/mailman/listinfo/ros-dev


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4315 bytes
Desc: not available
Url : http://reactos.com:8080/pipermail/ros-dev/attachments/20050329/e4b6d91e/attachment-0001.bin


More information about the Ros-dev mailing list