[PATCH] Use x86 bsr instruction in Log2 functions

Erik Andrén erik.andren at gmail.com
Tue Sep 18 03:23:42 PDT 2007


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?
It doesn't seem to exist on the
http://lists.freedesktop.org/mailman/listinfo/ page

Regards,
Erik

--
> Earthling Michel Dänzer           |          http://tungstengraphics.com
> Libre software enthusiast         |          Debian, X and DRI developer
>
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20070918/ac1f76cd/attachment.html>


More information about the xorg mailing list