From 9cae933f4abcad46d8a965b34aa79801663e0818 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 14 Sep 2011 16:48:17 +0100 Subject: [PATCH] llvmpipe: Remove dead lp_tile_shuffle_mask.py script. Broken, and we now shuffle tiles with pack/unpack instructions, instead of shuffle masks. --- .../drivers/llvmpipe/lp_tile_shuffle_mask.py | 32 ------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/gallium/drivers/llvmpipe/lp_tile_shuffle_mask.py diff --git a/src/gallium/drivers/llvmpipe/lp_tile_shuffle_mask.py b/src/gallium/drivers/llvmpipe/lp_tile_shuffle_mask.py deleted file mode 100644 index ea2fc0f3758..00000000000 --- a/src/gallium/drivers/llvmpipe/lp_tile_shuffle_mask.py +++ /dev/null @@ -1,32 +0,0 @@ - -tile = [[0,1,4,5], - [2,3,6,7], - [8,9,12,13], - [10,11,14,15]] -shift = 0 -align = 1 -value = 0L -holder = [] - -import sys - -basemask = [0x -fd = sys.stdout -indent = " "*9 -for c in range(4): - fd.write(indent + "*pdst++ = \n"); - for l,line in enumerate(tile): - fd.write(indent + " %s_mm_shuffle_epi8(line%d, (__m128i){"%(l and '+' or ' ',l)) - for i,pos in enumerate(line): - mask = 0x00ffffffff & (~(0xffL << shift)) - value = mask | ((pos) << shift) - holder.append(value) - if holder and (i + 1) %2 == 0: - fd.write("0x%8.0x"%(holder[0] + (holder[1] << 32))) - holder = [] - if (i) %4 == 1: - fd.write( ',') - - fd.write("})%s\n"%((l == 3) and ';' or '')) - print - shift += 8 -- 2.30.2