llvmpipe: rework do_block_16 to use bitmasks and ffs
authorKeith Whitwell <keithw@vmware.com>
Wed, 17 Feb 2010 11:07:45 +0000 (11:07 +0000)
committerKeith Whitwell <keithw@vmware.com>
Wed, 17 Feb 2010 11:12:04 +0000 (11:12 +0000)
commit31c816731ead9abce69829e6b5f55a201da3bb47
tree75aa154c545875ac012b099533aa3e1d5e998f83
parentcb66e9f2b427afeffc0b92801e6943f0b17bf1f1
llvmpipe: rework do_block_16 to use bitmasks and ffs

Some nice speedups:
   gears:  547 -> 597
   isosurf: 83 -> 98

Others like gloss unchanged.  Could do further work in this direction.
src/gallium/drivers/llvmpipe/lp_rast_tri.c