On Thu, May 27, 2010 at 7:52 PM, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote: >> Look up tables have some hidden penalties but I think it might be a >> win. Looks like we may have to benchmark the solutions against one >> another to really know which is best in real life. > > For x86 and ppc the single assembler instruction is fastest. Can you wire > an R600 to anything else ? 2400HD and 4350HD are available as PCI, so I could get one in an Alpha, but I haven't yet. (Alpha has count-{leading,trailing} zero instructions too) Matt _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel