inp009.tab 24 KB
#
#  tc_adrs logical verification
#
gclk  			@C
st_span  		@I 
ncyc  			@I 
l[15:0]  		@I
s[15:0]  		@I
t[15:0]  		@I
w[15:0]  		@I
min_level[4:0]  	@I
detail_en  		@I
sharp_en  		@I
lod_en  		@I
persp_en  		@I
copy  			@I
samp_type  		@I
tlut_en  		@I
tlut_type  		@I
max_level[2:0]  	@I
prim_tile[2:0]  	@I
load  			@I
shift_coord  		@I
tile_adrs[2:0]  	@I
tile_data[47:0]  	@I
we_tile_size  		@I
we_tile_attr  		@I
vm_in[7:0]  		@I
vm_dv  			@I
copy_load[63:0]  	@B
load_dv  		@I
dv_0  			@I
exit1  			@I
x[9:0]  		@I
y[9:0]  		@I

0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
# clear tile memory 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 1 1   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x1 0x000000000000 1 1   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x2 0x000000000000 1 1   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x3 0x000000000000 1 1   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x4 0x000000000000 1 1   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x5 0x000000000000 1 1   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x6 0x000000000000 1 1   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x7 0x000000000000 1 1   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
#
# verify s_nib
# s_adrs[12:0] = 0x1d55 => copy = 1, lod_en = 0, shift_coord = 0, s_tile = 0x1aaaa => sl = 0, s = 0xaaaa, persp_en = 0
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 1 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
# tex_type = 0x0 -> 0x4, tex_size = 0x0 -> 0x3, tmem_adrs = 0, line = 0, shift_s = 0, mask_s = 0
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x100000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x200000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x300000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x400000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x040000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x140000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x240000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x340000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x440000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x080000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x180000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x280000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x380000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x480000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x0c0000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x1c0000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x2c0000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x3c0000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
0 0   0x0000 0xaaaa 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x4c0000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000 
#
# verify adder
# persp_en = 0, shift_s = 0, sl = 0, shift_coord = 0, copy =1, mask_s = 0, tex_size = 0, tex_type = 0, line = 0, load = 0
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 1 0   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# tmem_adrs = 0, s = 0x0000
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# tmem_adrs = 0, s = 0xfe00
0 0   0x0000 0xfe00 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# tmem_adrs = 0x1ff, s = 0x0000
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x0001ff000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# tmem_adrs = 0x1ff, s = 0xfe00
0 0   0x0000 0xfe00 0x0000 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 0 0   0x0 0x0001ff000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
#
# verify multiplier
# persp_en = 0, s = 0xffff, shift_s = 0, sl = 0, shift_coord = 0, mask_s = 0, tex_size = 0, tex_type = 0, tmem_adrs = 0, shift_t = 0, tl = 0, mask_t = 0
# th = 0xfff
# t = 0x1fe0 line = 0x001
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000fff 1 0   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0xffff 0x1fe0 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000200000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# t = 0x0020 line = 0x1ff
0 0   0x0000 0xffff 0x0020 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x03fe00000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# t = 0x1fe0 line = 0x1ff
0 0   0x0000 0xffff 0x1fe0 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x03fe00000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
#
# verify adder
# persp_en = 0, s = 0, t = 0, shift_s = 0, sl = 0, shift_coord = 0, mask_s = 0, tex_size = 0, tex_type = 0, shift_t = 0, tl = 0, mask_t = 0 
# sh = 0xfff th = 0xfff
# line = 0x000 tmem_adrs = 0x000
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000fff000fff 1 0   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# line = 0x000 tmem_adrs = 0x000 s = 0x7fff
0 0   0x0000 0x7fff 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# load = 1
0 0   0x0000 0x7fff 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 1 0   0x0 0x000000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# line = 0x000 tmem_adrs = 0x1ff
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x0001ff000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# line = 0x1ff tmem_adrs = 0x000 t = 0x0020
0 0   0x0000 0x0000 0x0020 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x03fe00000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# line = 0x1ff tmem_adrs = 0x1ff t = 0x0020
0 0   0x0000 0x0000 0x0020 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x03ffff000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
#
# b, c, d adder truth table 
# tex_type = 0, tex_size = 0, line = 0xa, s = 0x180, t = 0x40, lod_en = 0, prim_tile = 0, persp_en = 0, shift_s = shift_t = 0, sl = tl = 0, shift_coord = 0,
# sh = th = 0xfff
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000fff000fff 1 0   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# load	copy	point_sample	mask	mir	clamp
#  1	 1	     1		 1	 1	  1
0 0   0x0000 0x0180 0x0040 0x0000   0x00 0 0 0 0 1 0 0 0 0x0 0x0 1 0   0x0 0x0014000fc3f0 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# load	copy	point_sample	mask	mir	clamp
#  0	 1	     0		 0	 0	  0
0 0   0x0000 0x0180 0x0040 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x001400000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# load	copy	point_sample	mask	mir	clamp
#  0	 1	     0		 0	 0	  1
0 0   0x0000 0x0180 0x0040 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x001400080200 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# mask_s = 6, s = 0x1800 (not all_one), 0x1f80 (all_one[3]), 0x1fa0 (all_one[2]), 0x1fc0 (all_one[1]), 0x1fe0 (all_one[0])
# load	copy	point_sample	mask	mir	clamp
#  0	 1	     0		 1	 0	  0
0 0   0x0000 0x1800 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140003c060 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1f80 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140003c060 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1fa0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140003c060 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1fc0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140003c060 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1fe0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140003c060 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# load	copy	point_sample	mask	mir	clamp
#  0	 1	     0		 1	 0	  1
0 0   0x0000 0x1800 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140003c260 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1f80 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140003c260 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1fa0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140003c260 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1fc0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140003c260 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1fe0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140003c260 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# mask_s = 7, no_wrap: s = 0x2f60 (all_one[4]), 0x2f80 (all_one[3]), 0x2fa0 (all_one[2]), 0x2fc0 (all_one[1]), 0x2fe0 (all_one[0]), 
#			   0x2060 (all_zero[3]), 0x2040 (all_zero[2]), 0x2020 (all_zero[1]), 0x2000 (all_zero[0])
#             wrap:    s = 0x1080 (all_one[4]), 0x1060 (all_one[3]), 0x1040 (all_one[2]), 0x1020 (all_one[1]), 0x1000 (all_one[0]), 
#			   0x1f80 (all_zero[3]), 0x1fa0 (all_zero[2]), 0x1fc0 (all_zero[1]), 0x1fe0 (all_zero[0])
# load	copy	point_sample	mask	mir	clamp
#  0	 1	     0		 1	 1	  0
0 0   0x0000 0x2f60 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x2f80 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x2fa0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x2fc0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x2fe0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x2060 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x2040 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x2020 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x2000 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1080 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1060 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1040 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1020 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1000 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1f80 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1fa0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1fc0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1fe0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c170 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# load	copy	point_sample	mask	mir	clamp
#  0	 1	     0		 1	 1	  1
0 0   0x0000 0x2f60 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x2f80 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x2fa0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x2fc0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x2fe0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x2060 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x2040 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x2020 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x2000 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1080 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1060 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1040 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1020 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1000 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1f80 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1fa0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1fc0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1fe0 0x0000 0x0000   0x00 0 0 0 0 1 1 0 0 0x0 0x0 0 0   0x0 0x00140007c370 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# load	copy	point_sample	mask	mir	clamp
#  0	 0	     1		 1	 1	  1
0 0   0x0000 0x0180 0x0040 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x0014000fc3f0 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# load	copy	point_sample	mask	mir	clamp
#  0	 0	     0		 0	 0	  0
0 0   0x0000 0x0180 0x0040 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x001400000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# load	copy	point_sample	mask	mir	clamp
#  0	 0	     0		 0	 0	  1
0 0   0x0000 0x0180 0x0040 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x001400080200 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# mask_s = mask_t = 4, s = 0x1fe0 (all_one[0]), 0x1fc0 (!all_one[0]), t = 0x1fc0 (!all_one[0]), 0x1fe0 (all_one[0])
# load	copy	point_sample	mask	mir	clamp
#  0	 0	     0		 1	 0	  0
0 0   0x0000 0x1fe0 0x1fc0 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x001400010040 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1fc0 0x1fe0 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x001400010040 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# load	copy	point_sample	mask	mir	clamp
#  0	 0	     0		 1	 0	  1
0 0   0x0000 0x1fe0 0x1fc0 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x001400090240 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x1fc0 0x1fe0 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x001400090240 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# mask_s = mask_t = 5 
# no_wrap: s = 0x0bc0 (!all_one && !all_zero), 0x0800 (all_zero), 0x0be0 (all_one)
# wrap:    s = 0x0420 (!all_one && !all_zero), 0x07e0 (all_zero), 0x0400 (all_one) 
# wrap:    t = 0x0400 (all_one), 0x07e0 (all_zero), 0x0420 (!all_one && !all_zero)
# no_wrap: t = 0x0be0 (all_one), 0x0800 (all_zero), 0x0bc0 (!all_one && !all_zero)
# load	copy	point_sample	mask	mir	clamp
#  0	 0	     0		 1	 1	  0
0 0   0x0000 0x0bc0 0x0400 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x001400054150 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x0800 0x07e0 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x001400054150 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x0be0 0x0420 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x001400054150 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x0420 0x0be0 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x001400054150 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x07e0 0x0800 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x001400054150 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x0400 0x0bc0 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x001400054150 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
# load	copy	point_sample	mask	mir	clamp
#  0	 0	     0		 1	 1	  1
0 0   0x0000 0x0bc0 0x0400 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x0014000d4350 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x0800 0x07e0 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x0014000d4350 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x0be0 0x0420 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x0014000d4350 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x0420 0x0be0 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x0014000d4350 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x07e0 0x0800 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x0014000d4350 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x0400 0x0bc0 0x0000   0x00 0 0 0 0 0 1 0 0 0x0 0x0 0 0   0x0 0x0014000d4350 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
#
# verify shift
# load, type_yuv = 00, 01, 10, 11
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x100000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 1 0   0x0 0x000000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 1 0   0x0 0x100000000000 0 1   0x00 0   0x0000000000000000 0   1 0 0x000 0x000
#
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000 
0 0   0x0000 0x0000 0x0000 0x0000   0x00 0 0 0 0 0 0 0 0 0x0 0x0 0 0   0x0 0x000000000000 0 0   0x00 0   0x0000000000000000 0   0 0 0x000 0x000