[Mesa-dev] [PATCH] st/mesa: use u_bit_scan64() on 64-bit CPUs

Marek Olšák maraeo at gmail.com
Fri Oct 21 13:40:11 UTC 2016


On Oct 21, 2016 3:23 PM, "Jan Ziak" <0xe2.0x9a.0x9b at gmail.com> wrote:
>
> On Fri, Oct 21, 2016 at 3:17 PM, Marek Olšák <maraeo at gmail.com> wrote:
> > On Oct 21, 2016 12:06 PM, "Jan Ziak" <0xe2.0x9a.0x9b at gmail.com> wrote:
> >>
> >> On Fri, Oct 21, 2016 at 12:04 PM, Marek Olšák <maraeo at gmail.com> wrote:
> >> > This won't make it faster.
> >>
> >> Why?
> >
> > It's obviously a micro optimization
>
> Yes.
>
> > that adds more stuff than it benefits
> > the runtime. I don't think that real performance improvements will be so
> > simple and obvious.
>
> What idea would you consider a real performance improvement (in
> relation to function st_validate_state() for example)?

There is no easy thing to do there. Multithreaded OpenGL dispatch is the
easiest not-easy thing. My FDO repository contains a branch where it's
partially done.

Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161021/0a4b0449/attachment.html>


More information about the mesa-dev mailing list