[PATCH] Use x86 bsr instruction in Log2 functions

Michel Dänzer michel at tungstengraphics.com
Tue Sep 18 03:30:42 PDT 2007


On Tue, 2007-09-18 at 12:23 +0200, Erik Andrén wrote:
> 
> 
> 2007/9/18, Michel Dänzer <michel at tungstengraphics.com>:
>         On Mon, 2007-09-17 at 15:37 -0400, Matt Turner wrote:
>         > This patch edits RADEONLog2 and ATILog2 to use the x86 bsr
>         instruction
>         > instread of looping through bits. It should provide a
>         somewhat of a
>         > speed increase in this function on x86 and AMD64
>         architectures. 
>         
>         Have you seen any profiles where these were anywhere near the
>         top
>         though? Not sure it's worth bothering otherwise.
>         
>         
>         P.S. There's a xorg-driver-ati list dedicated to
>         xf86-video-ati
>         development.
> 
> 
> Where would one find this ati specific list?

http://lists.x.org/mailman/listinfo/xorg-driver-ati


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer




More information about the xorg mailing list