dw = MAX(dw, pp_avs_context->dest_w);
pp_static_parameter->grf1.pointer_to_inline_parameter = 7;
+ pp_static_parameter->grf2.avs_wa_enable = 1; /* must be set for GEN7 */
+ pp_static_parameter->grf2.avs_wa_width = dw;
+ pp_static_parameter->grf2.avs_wa_one_div_256_width = (float) 1.0 / (256 * dw);
+ pp_static_parameter->grf2.avs_wa_five_div_256_width = (float) 5.0 / (256 * dw);
+
pp_static_parameter->grf3.sampler_load_horizontal_scaling_step_ratio = (float) pp_avs_context->src_w / dw;
pp_static_parameter->grf4.sampler_load_vertical_scaling_step = (float) 1.0 / pp_avs_context->dest_h;
pp_static_parameter->grf5.sampler_load_vertical_frame_origin = -(float)pp_avs_context->dest_y / pp_avs_context->dest_h;
} grf1;
struct {
- /* r2.0-r2.6 */
- unsigned int padx[7];
+ /* r2.0 */
+ unsigned int pad3;
+
+ /* r2.1 */
+ unsigned int pad2:16;
+ unsigned int save_avs_rgb_swap:1; /* 0: RGB, 1: BGR */
+ unsigned int avs_wa_enable:1; /* must enabled for GEN7 */
+ unsigned int pad1:1;
+ unsigned int avs_wa_width:13;
+
+ /* 2.2 */
+ float avs_wa_one_div_256_width;
+
+ /* 2.3 */
+ float avs_wa_five_div_256_width;
+
+ /* 2.4 - 2.6 */
+ unsigned int padx[3];
+
/* r2.7 */
unsigned int di_destination_packed_y_component_offset:8;
unsigned int di_destination_packed_u_component_offset:8;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 2 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-//End of Thread message
-
-mov (8) r127<1>:ud r0.0<8;8,1>:ud
- send (1) null<1>:d r127 0x27 0x02000010
+// 2 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//End of Thread message\r
+\r
+mov (8) r127<1>:ud r0.0<8;8,1>:ud \r
+ send (1) null<1>:d r127 0x27 0x02000010\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 9 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-// FileName: PA_AVS_Buf_0.asm
-// Author: Vivek Kumar
-// Description: Loads 8x8 AVS/IEF Packed data into Buffer 0
-
-
-// FileName : PA_AVS_Buf.asm
-// Author : Tatiya, Rupesh
-// Description : Loads 8x8 AVS/IEF Packed data into Buffer N
-
-//On IVB, for AVS module - set buffer pointers offset according to AVS Layout.
-//Change it to Sample Unorm layout in Shuffle modules.
-
-
-// Module name: Scaling.inc
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
- // Message Header
- // m0.7 31:0 Debug
- // m0.6 31:0 Debug
- // m0.5 31:0 Ignored
- // m0.4 31:0 Ignored
- // m0.3 31:0 Ignored
- // m0.2 31:16 Ignored
- // 15 Alpha Write Channel Mask enable=0, disable=1
- // 14 Blue Write Channel Mask (U)
- // 13 Green Write Channel Mask (Y)
- // 12 Red Write Channel Mask (V)
- // 11:0 Ignored
- // m0.1 Ignored
- // m0.0 Ignored
-
-
- // AVS payload
- // m1.7 Group ID Number
- // m1.6 U 2nd Derivative ---> NLAS dx
- // m1.5 Delta V ---> Step Y
- // m1.4 Delta U ---> Step X
- // m1.3 Pixel 0 V Address ---> ORIY (Y0)
- // m1.2 Pixel 0 U Address ---> ORIX (X0)
- // m1.1 Vertical Block Number
- // m1.0 Reserved
-
- // Sampler Message Descriptor
- // 31:29 Reserved 000
- // 28:25 Message length 0010
- // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)
- // 19 Header Present 1
- // 18:17 SIMD Mode 11 ---> SIMD32/64
- // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)
- // 11:8 Sampler Index xxxx
- // 7:0 Binding Table Index xxxxxxxx
-
-
- // Msg Header M0.2
- // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back
- // 14:14 Blue Write Channel Mask
- // 13:13 Green Write Channel Mask
- // 12:12 Red Write Channel Mask
-
-
-//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7
-
-
-//used to generate LABELS at compile time.
-
-
- // 18:17 SIMD Mode 10 ---> SIMD16
- // 16:12 Message Type xxxxx ---> 00000 (SIMD16)
-
-
-//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)
-//r18-19 - 2 GRFs to store sampler ramp.
-
- .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
- .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub
-
-
- .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub
- .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
- // Sampler ramp is used for Scaling 0X_0.34X
- .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements
-
-
- //#define rMSGDSC_UV r23.0
-
-
-//End of _SCALING_
-
-
- //NOTE: We need offsets for second halfof LAYER 0 - even if we do not load it.
- //Update the channel offset in the buffers for the lower 8x4 data for BUFFER_0.
- mov (1) r22.4<1>:ud 0x400040:ud
-
-
- //Check if layer is to be skipped
-
-
- // f0.1 pre-computed in Set_Layer_0
- (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_0_
-
-
- //AVS_PAYLOAD already has all the data loaded at this point
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x50EB400:ud //msg desc
-
- mov (1) r16.2:ud 0x00000000:ud // Enable ARGB channels
-
-
- //OPT: rAVS_PAYLOAD.1 and .7 --> use NODDCLR, NODDCHK -rT
- mov (1) r25.7<1>:ud r7.7:ud { NoDDClr }
- mov (1) r25.1<1>:ud r7.12:uw { NoDDChk }
-
-
- // set the vertical block number
-
-
- mov (8) r17.0:ud r25.0<8;8,1>:ud
- send (1) uwBUFFER_0(0)<1> r16 0x2 a0.0:ud
- // Returns packed data in 16 GRFs in scrambled order
-
-SKIP_AVS_LOAD_L0_0_:
- nop
-
-
+// 39 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+// FileName: PA_AVS_Buf_0.asm\r
+// Author: Vivek Kumar\r
+// Description: Loads 8x8 AVS/IEF Packed data into Buffer 0\r
+\r
+\r
+\r
+// FileName : PA_AVS_Buf.asm\r
+// Author : Tatiya, Rupesh\r
+// Description : Loads 8x8 AVS/IEF Packed data into Buffer N\r
+\r
+//On IVB, for AVS module - set buffer pointers offset according to AVS Layout.\r
+//Change it to Sample Unorm layout in Shuffle modules.\r
+\r
+\r
+\r
+// Module name: Scaling.inc\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+ // Message Header\r
+ // m0.7 31:0 Debug\r
+ // m0.6 31:0 Debug\r
+ // m0.5 31:0 Ignored\r
+ // m0.4 31:0 Ignored\r
+ // m0.3 31:0 Ignored\r
+ // m0.2 31:16 Ignored\r
+ // 15 Alpha Write Channel Mask enable=0, disable=1\r
+ // 14 Blue Write Channel Mask (U)\r
+ // 13 Green Write Channel Mask (Y)\r
+ // 12 Red Write Channel Mask (V)\r
+ // 11:0 Ignored\r
+ // m0.1 Ignored\r
+ // m0.0 Ignored\r
+\r
+\r
+ // AVS payload\r
+ // m1.7 Group ID Number\r
+ // m1.6 U 2nd Derivative ---> NLAS dx\r
+ // m1.5 Delta V ---> Step Y\r
+ // m1.4 Delta U ---> Step X\r
+ // m1.3 Pixel 0 V Address ---> ORIY (Y0)\r
+ // m1.2 Pixel 0 U Address ---> ORIX (X0)\r
+ // m1.1 Vertical Block Number\r
+ // m1.0 Reserved\r
+\r
+ // Sampler Message Descriptor\r
+ // 31:29 Reserved 000\r
+ // 28:25 Message length 0010\r
+ // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)\r
+ // 19 Header Present 1\r
+ // 18:17 SIMD Mode 11 ---> SIMD32/64\r
+ // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)\r
+ // 11:8 Sampler Index xxxx\r
+ // 7:0 Binding Table Index xxxxxxxx\r
+\r
+\r
+ // Msg Header M0.2\r
+ // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back\r
+ // 14:14 Blue Write Channel Mask\r
+ // 13:13 Green Write Channel Mask\r
+ // 12:12 Red Write Channel Mask\r
+\r
+\r
+//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7\r
+\r
+\r
+//used to generate LABELS at compile time.\r
+\r
+\r
+ // 18:17 SIMD Mode 10 ---> SIMD16\r
+ // 16:12 Message Type xxxxx ---> 00000 (SIMD16)\r
+\r
+\r
+//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)\r
+//r18-19 - 2 GRFs to store sampler ramp.\r
+\r
+ .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+ .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub\r
+\r
+\r
+ .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub\r
+ .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+ // Sampler ramp is used for Scaling 0X_0.34X\r
+ .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements\r
+\r
+\r
+ //#define rMSGDSC_UV r23.0\r
+\r
+\r
+//End of _SCALING_\r
+\r
+\r
+ //NOTE: We need offsets for second halfof LAYER 0 - even if we do not load it.\r
+ //Update the channel offset in the buffers for the lower 8x4 data for BUFFER_0.\r
+ mov (1) r22.4<1>:ud 0x400040:ud\r
+\r
+\r
+ //Check if layer is to be skipped\r
+\r
+\r
+ // f0.1 pre-computed in Set_Layer_0\r
+ (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_0_\r
+\r
+\r
+ //AVS_PAYLOAD already has all the data loaded at this point\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x50EB400:ud //msg desc\r
+\r
+ mov (1) r16.2:ud 0x00000000:ud // Enable ARGB channels\r
+\r
+\r
+ //OPT: rAVS_PAYLOAD.1 and .7 --> use NODDCLR, NODDCHK -rT\r
+ mov (1) r25.7<1>:ud r7.7:ud { NoDDClr }\r
+ mov (1) r25.1<1>:ud r7.12:uw { NoDDChk }\r
+\r
+\r
+ // set the vertical block number\r
+\r
+\r
+ mov (8) r17.0:ud r25.0<8;8,1>:ud\r
+\r
+ // Gen7 AVS WA Only for YUV packed surfaces, NV12 and Y-channel only for Planar surfaces\r
+ // if (((int)(u_left*width + 5.0/256) > (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ // }\r
+ // else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ // }\r
+ // else{\r
+ // modified_u_coord = u_coord;\r
+ // }\r
+ // Where u_left = u – 2*du + 3*ddu for IEF On\r
+ // And u_left = u for IEF Off case\r
+ // \r
+\r
+ // check whether Gen7 AVS WA is enabled,\r
+ mov (1) r14.8:uw f0.0:uw // save f0.0\r
+\r
+ and.nz.f0.0 (1) null<1>:uw r2.3:uw 0x2:uw\r
+ (-f0.0)jmpi (1) GEN7_AVS_WA_DONE_L0_0_\r
+\r
+\r
+ // Gen7 AVS WA, check if IEF is ON for choosing Gen7 AVS WA formula\r
+\r
+ and.nz.f0.0 (8) null<1>:uw r2.3<0;1,0>:uw 0x4:uw\r
+ (f0.0)mov (8) acc0.0:f r17.2<0;1,0>:f\r
+ (f0.0)mac (8) acc0.0:f r17.4<0;1,0>:f -2.0:f\r
+ (f0.0)mac (8) acc0.0:f r17.6<0;1,0>:f 3.0:f\r
+ (f0.0)mov (1) r14.2:f acc0:f // IEF ON, rTEMP3.2 = u_left\r
+ (-f0.0)mov (1) r14.2:f r17.2<0;1,0>:f // IEF OFF, rTEMP3.2 = u_left\r
+\r
+ and (1) r14.1:ud r2.3:uw 0xFFF8:uw\r
+ asr (1) r14.1:ud r14.1:ud 3:d\r
+ mov (1) r14.1:f r14.1:ud\r
+\r
+ // Gen7 AVS WA, if (int)(u_left*width + 5.0/256) > (int)(u_left*width)\r
+ mul (1) r14.0:f r14.2:f r14.1:f // rTEMP3.0 = u_left*width\r
+ add (1) r14.2:f r14.0:f 0.01953125:f // rTEMP3.2 = u_left*width + 5.0/256\r
+ add (1) r14.3:f r14.0:f 0.99609375:f // rTEMP3.3 = u_left*width + 255.0/256\r
+\r
+ //Check if the values are < 0 and account for (int) cast of negative numbers\r
+\r
+ //(int)(u_left*width)\r
+ cmp.l.f0.0 (1) null<1>:f r14.0:f 0.00000000:f \r
+ mov (1) r14.0:d r14.0:f\r
+ (f0.0)add (1) r14.0:d r14.0<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 5.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.2:f 0.00000000:f \r
+ mov (1) r14.2:d r14.2:f \r
+ (f0.0)add (1) r14.2:d r14.2<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 255.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.3:f 0.00000000:f \r
+ mov (1) r14.3:d r14.3:f\r
+ (f0.0)add (1) r14.3:d r14.3<0;1,0>:d -1:d \r
+\r
+ mov (1) f0.0:uw 0:uw // clear flag\r
+ //if (((int)(u_left*width + 5.0/256) > (int)(u_left*width))\r
+ cmp.g.f2.0 (1) null<1>:d r14.2:d r14.0:d\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ (f1.0) add (1) r17.2:f r17.2<0;1,0>:f -r2.3:f\r
+ //else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ (-f1.0) cmp.e.f0.0 (1) null<1>:d r14.3:d r14.0:d\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ (f0.0) add (1) r17.2:f r17.2<0;1,0>:f r2.2:f\r
+\r
+\r
+GEN7_AVS_WA_DONE_L0_0_:\r
+ mov (1) f0.0:uw r14.8:uw // restore f0.0\r
+\r
+ send (1) uwBUFFER_0(0)<1> r16 0x2 a0.0:ud\r
+ // Returns packed data in 16 GRFs in scrambled order\r
+\r
+SKIP_AVS_LOAD_L0_0_:\r
+ nop\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 7 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-// FileName: PA_AVS_Buf_1.asm
-// Author: Vivek Kumar
-// Description: Loads 8x8 AVS/IEF Packed data into Buffer 1
-
-
-// FileName : PA_AVS_Buf.asm
-// Author : Tatiya, Rupesh
-// Description : Loads 8x8 AVS/IEF Packed data into Buffer N
-
-//On IVB, for AVS module - set buffer pointers offset according to AVS Layout.
-//Change it to Sample Unorm layout in Shuffle modules.
-
-
-// Module name: Scaling.inc
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
- // Message Header
- // m0.7 31:0 Debug
- // m0.6 31:0 Debug
- // m0.5 31:0 Ignored
- // m0.4 31:0 Ignored
- // m0.3 31:0 Ignored
- // m0.2 31:16 Ignored
- // 15 Alpha Write Channel Mask enable=0, disable=1
- // 14 Blue Write Channel Mask (U)
- // 13 Green Write Channel Mask (Y)
- // 12 Red Write Channel Mask (V)
- // 11:0 Ignored
- // m0.1 Ignored
- // m0.0 Ignored
-
-
- // AVS payload
- // m1.7 Group ID Number
- // m1.6 U 2nd Derivative ---> NLAS dx
- // m1.5 Delta V ---> Step Y
- // m1.4 Delta U ---> Step X
- // m1.3 Pixel 0 V Address ---> ORIY (Y0)
- // m1.2 Pixel 0 U Address ---> ORIX (X0)
- // m1.1 Vertical Block Number
- // m1.0 Reserved
-
- // Sampler Message Descriptor
- // 31:29 Reserved 000
- // 28:25 Message length 0010
- // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)
- // 19 Header Present 1
- // 18:17 SIMD Mode 11 ---> SIMD32/64
- // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)
- // 11:8 Sampler Index xxxx
- // 7:0 Binding Table Index xxxxxxxx
-
-
- // Msg Header M0.2
- // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back
- // 14:14 Blue Write Channel Mask
- // 13:13 Green Write Channel Mask
- // 12:12 Red Write Channel Mask
-
-
-//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7
-
-
-//used to generate LABELS at compile time.
-
-
- // 18:17 SIMD Mode 10 ---> SIMD16
- // 16:12 Message Type xxxxx ---> 00000 (SIMD16)
-
-
-//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)
-//r18-19 - 2 GRFs to store sampler ramp.
-
- .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
- .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub
-
-
- .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub
- .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
- // Sampler ramp is used for Scaling 0X_0.34X
- .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements
-
-
- //#define rMSGDSC_UV r23.0
-
-
-//End of _SCALING_
-
-
- //Check if layer is to be skipped
-
-
- // f0.1 pre-computed in Set_Layer_0
- (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_1_
-
-
- //AVS_PAYLOAD already has all the data loaded at this point
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x50EB400:ud //msg desc
-
- mov (1) r16.2:ud 0x00000000:ud // Enable ARGB channels
-
-
- // set the vertical block number
-
- add (1) r25.1<1>:ud r7.12:uw 1:ud
-
-
- mov (8) r17.0:ud r25.0<8;8,1>:ud
- send (1) uwBUFFER_1(0)<1> r16 0x2 a0.0:ud
- // Returns packed data in 16 GRFs in scrambled order
-
-SKIP_AVS_LOAD_L0_1_:
- nop
-
-
+// 37 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+// FileName: PA_AVS_Buf_1.asm \r
+// Author: Vivek Kumar\r
+// Description: Loads 8x8 AVS/IEF Packed data into Buffer 1\r
+\r
+\r
+\r
+// FileName : PA_AVS_Buf.asm\r
+// Author : Tatiya, Rupesh\r
+// Description : Loads 8x8 AVS/IEF Packed data into Buffer N\r
+\r
+//On IVB, for AVS module - set buffer pointers offset according to AVS Layout.\r
+//Change it to Sample Unorm layout in Shuffle modules.\r
+\r
+\r
+\r
+// Module name: Scaling.inc\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+ // Message Header\r
+ // m0.7 31:0 Debug\r
+ // m0.6 31:0 Debug\r
+ // m0.5 31:0 Ignored\r
+ // m0.4 31:0 Ignored\r
+ // m0.3 31:0 Ignored\r
+ // m0.2 31:16 Ignored\r
+ // 15 Alpha Write Channel Mask enable=0, disable=1\r
+ // 14 Blue Write Channel Mask (U)\r
+ // 13 Green Write Channel Mask (Y)\r
+ // 12 Red Write Channel Mask (V)\r
+ // 11:0 Ignored\r
+ // m0.1 Ignored\r
+ // m0.0 Ignored\r
+\r
+\r
+ // AVS payload\r
+ // m1.7 Group ID Number\r
+ // m1.6 U 2nd Derivative ---> NLAS dx\r
+ // m1.5 Delta V ---> Step Y\r
+ // m1.4 Delta U ---> Step X\r
+ // m1.3 Pixel 0 V Address ---> ORIY (Y0)\r
+ // m1.2 Pixel 0 U Address ---> ORIX (X0)\r
+ // m1.1 Vertical Block Number\r
+ // m1.0 Reserved\r
+\r
+ // Sampler Message Descriptor\r
+ // 31:29 Reserved 000\r
+ // 28:25 Message length 0010\r
+ // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)\r
+ // 19 Header Present 1\r
+ // 18:17 SIMD Mode 11 ---> SIMD32/64\r
+ // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)\r
+ // 11:8 Sampler Index xxxx\r
+ // 7:0 Binding Table Index xxxxxxxx\r
+\r
+\r
+ // Msg Header M0.2\r
+ // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back\r
+ // 14:14 Blue Write Channel Mask\r
+ // 13:13 Green Write Channel Mask\r
+ // 12:12 Red Write Channel Mask\r
+\r
+\r
+//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7\r
+\r
+\r
+//used to generate LABELS at compile time.\r
+\r
+\r
+ // 18:17 SIMD Mode 10 ---> SIMD16\r
+ // 16:12 Message Type xxxxx ---> 00000 (SIMD16)\r
+\r
+\r
+//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)\r
+//r18-19 - 2 GRFs to store sampler ramp.\r
+\r
+ .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+ .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub\r
+\r
+\r
+ .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub\r
+ .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+ // Sampler ramp is used for Scaling 0X_0.34X\r
+ .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements\r
+\r
+\r
+ //#define rMSGDSC_UV r23.0\r
+\r
+\r
+//End of _SCALING_\r
+\r
+\r
+ //Check if layer is to be skipped\r
+\r
+\r
+ // f0.1 pre-computed in Set_Layer_0\r
+ (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_1_\r
+\r
+\r
+ //AVS_PAYLOAD already has all the data loaded at this point\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x50EB400:ud //msg desc\r
+\r
+ mov (1) r16.2:ud 0x00000000:ud // Enable ARGB channels\r
+\r
+\r
+ // set the vertical block number\r
+\r
+ add (1) r25.1<1>:ud r7.12:uw 1:ud\r
+\r
+\r
+ mov (8) r17.0:ud r25.0<8;8,1>:ud\r
+\r
+ // Gen7 AVS WA Only for YUV packed surfaces, NV12 and Y-channel only for Planar surfaces\r
+ // if (((int)(u_left*width + 5.0/256) > (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ // }\r
+ // else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ // }\r
+ // else{\r
+ // modified_u_coord = u_coord;\r
+ // }\r
+ // Where u_left = u – 2*du + 3*ddu for IEF On\r
+ // And u_left = u for IEF Off case\r
+ // \r
+\r
+ // check whether Gen7 AVS WA is enabled,\r
+ mov (1) r14.8:uw f0.0:uw // save f0.0\r
+\r
+ and.nz.f0.0 (1) null<1>:uw r2.3:uw 0x2:uw\r
+ (-f0.0)jmpi (1) GEN7_AVS_WA_DONE_L0_1_\r
+\r
+\r
+ // Gen7 AVS WA, check if IEF is ON for choosing Gen7 AVS WA formula\r
+\r
+ and.nz.f0.0 (8) null<1>:uw r2.3<0;1,0>:uw 0x4:uw\r
+ (f0.0)mov (8) acc0.0:f r17.2<0;1,0>:f\r
+ (f0.0)mac (8) acc0.0:f r17.4<0;1,0>:f -2.0:f\r
+ (f0.0)mac (8) acc0.0:f r17.6<0;1,0>:f 3.0:f\r
+ (f0.0)mov (1) r14.2:f acc0:f // IEF ON, rTEMP3.2 = u_left\r
+ (-f0.0)mov (1) r14.2:f r17.2<0;1,0>:f // IEF OFF, rTEMP3.2 = u_left\r
+\r
+ and (1) r14.1:ud r2.3:uw 0xFFF8:uw\r
+ asr (1) r14.1:ud r14.1:ud 3:d\r
+ mov (1) r14.1:f r14.1:ud\r
+\r
+ // Gen7 AVS WA, if (int)(u_left*width + 5.0/256) > (int)(u_left*width)\r
+ mul (1) r14.0:f r14.2:f r14.1:f // rTEMP3.0 = u_left*width\r
+ add (1) r14.2:f r14.0:f 0.01953125:f // rTEMP3.2 = u_left*width + 5.0/256\r
+ add (1) r14.3:f r14.0:f 0.99609375:f // rTEMP3.3 = u_left*width + 255.0/256\r
+\r
+ //Check if the values are < 0 and account for (int) cast of negative numbers\r
+\r
+ //(int)(u_left*width)\r
+ cmp.l.f0.0 (1) null<1>:f r14.0:f 0.00000000:f \r
+ mov (1) r14.0:d r14.0:f\r
+ (f0.0)add (1) r14.0:d r14.0<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 5.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.2:f 0.00000000:f \r
+ mov (1) r14.2:d r14.2:f \r
+ (f0.0)add (1) r14.2:d r14.2<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 255.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.3:f 0.00000000:f \r
+ mov (1) r14.3:d r14.3:f\r
+ (f0.0)add (1) r14.3:d r14.3<0;1,0>:d -1:d \r
+\r
+ mov (1) f0.0:uw 0:uw // clear flag\r
+ //if (((int)(u_left*width + 5.0/256) > (int)(u_left*width))\r
+ cmp.g.f1.0 (1) null<1>:d r14.2:d r14.0:d\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ (f1.0) add (1) r17.2:f r17.2<0;1,0>:f -r2.3:f\r
+ //else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ (-f1.0) cmp.e.f0.0 (1) null<1>:d r14.3:d r14.0:d\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ (f0.0) add (1) r17.2:f r17.2<0;1,0>:f r2.2:f\r
+\r
+\r
+GEN7_AVS_WA_DONE_L0_1_:\r
+ mov (1) f0.0:uw r14.8:uw // restore f0.0\r
+\r
+ send (1) uwBUFFER_1(0)<1> r16 0x2 a0.0:ud\r
+ // Returns packed data in 16 GRFs in scrambled order\r
+\r
+SKIP_AVS_LOAD_L0_1_:\r
+ nop\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 7 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-// FileName: PA_AVS_Buf_2.asm
-// Author: Vivek Kumar
-// Description: Loads 8x8 AVS/IEF Packed data into Buffer 2
-
-
-// FileName : PA_AVS_Buf.asm
-// Author : Tatiya, Rupesh
-// Description : Loads 8x8 AVS/IEF Packed data into Buffer N
-
-//On IVB, for AVS module - set buffer pointers offset according to AVS Layout.
-//Change it to Sample Unorm layout in Shuffle modules.
-
-
-// Module name: Scaling.inc
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
- // Message Header
- // m0.7 31:0 Debug
- // m0.6 31:0 Debug
- // m0.5 31:0 Ignored
- // m0.4 31:0 Ignored
- // m0.3 31:0 Ignored
- // m0.2 31:16 Ignored
- // 15 Alpha Write Channel Mask enable=0, disable=1
- // 14 Blue Write Channel Mask (U)
- // 13 Green Write Channel Mask (Y)
- // 12 Red Write Channel Mask (V)
- // 11:0 Ignored
- // m0.1 Ignored
- // m0.0 Ignored
-
-
- // AVS payload
- // m1.7 Group ID Number
- // m1.6 U 2nd Derivative ---> NLAS dx
- // m1.5 Delta V ---> Step Y
- // m1.4 Delta U ---> Step X
- // m1.3 Pixel 0 V Address ---> ORIY (Y0)
- // m1.2 Pixel 0 U Address ---> ORIX (X0)
- // m1.1 Vertical Block Number
- // m1.0 Reserved
-
- // Sampler Message Descriptor
- // 31:29 Reserved 000
- // 28:25 Message length 0010
- // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)
- // 19 Header Present 1
- // 18:17 SIMD Mode 11 ---> SIMD32/64
- // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)
- // 11:8 Sampler Index xxxx
- // 7:0 Binding Table Index xxxxxxxx
-
-
- // Msg Header M0.2
- // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back
- // 14:14 Blue Write Channel Mask
- // 13:13 Green Write Channel Mask
- // 12:12 Red Write Channel Mask
-
-
-//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7
-
-
-//used to generate LABELS at compile time.
-
-
- // 18:17 SIMD Mode 10 ---> SIMD16
- // 16:12 Message Type xxxxx ---> 00000 (SIMD16)
-
-
-//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)
-//r18-19 - 2 GRFs to store sampler ramp.
-
- .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
- .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub
-
-
- .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub
- .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
- // Sampler ramp is used for Scaling 0X_0.34X
- .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements
-
-
- //#define rMSGDSC_UV r23.0
-
-
-//End of _SCALING_
-
-
- //Check if layer is to be skipped
-
-
- // f0.1 pre-computed in Set_Layer_0
- (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_2_
-
-
- //AVS_PAYLOAD already has all the data loaded at this point
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x50EB400:ud //msg desc
-
- mov (1) r16.2:ud 0x00000000:ud // Enable ARGB channels
-
-
- // set the vertical block number
-
-
- add (1) r25.1<1>:ud r7.12:uw 2:ud
-
-
- mov (8) r17.0:ud r25.0<8;8,1>:ud
- send (1) uwBUFFER_2(0)<1> r16 0x2 a0.0:ud
- // Returns packed data in 16 GRFs in scrambled order
-
-SKIP_AVS_LOAD_L0_2_:
- nop
-
-
+// 37 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+// FileName: PA_AVS_Buf_2.asm \r
+// Author: Vivek Kumar\r
+// Description: Loads 8x8 AVS/IEF Packed data into Buffer 2\r
+\r
+\r
+\r
+// FileName : PA_AVS_Buf.asm\r
+// Author : Tatiya, Rupesh\r
+// Description : Loads 8x8 AVS/IEF Packed data into Buffer N\r
+\r
+//On IVB, for AVS module - set buffer pointers offset according to AVS Layout.\r
+//Change it to Sample Unorm layout in Shuffle modules.\r
+\r
+\r
+\r
+// Module name: Scaling.inc\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+ // Message Header\r
+ // m0.7 31:0 Debug\r
+ // m0.6 31:0 Debug\r
+ // m0.5 31:0 Ignored\r
+ // m0.4 31:0 Ignored\r
+ // m0.3 31:0 Ignored\r
+ // m0.2 31:16 Ignored\r
+ // 15 Alpha Write Channel Mask enable=0, disable=1\r
+ // 14 Blue Write Channel Mask (U)\r
+ // 13 Green Write Channel Mask (Y)\r
+ // 12 Red Write Channel Mask (V)\r
+ // 11:0 Ignored\r
+ // m0.1 Ignored\r
+ // m0.0 Ignored\r
+\r
+\r
+ // AVS payload\r
+ // m1.7 Group ID Number\r
+ // m1.6 U 2nd Derivative ---> NLAS dx\r
+ // m1.5 Delta V ---> Step Y\r
+ // m1.4 Delta U ---> Step X\r
+ // m1.3 Pixel 0 V Address ---> ORIY (Y0)\r
+ // m1.2 Pixel 0 U Address ---> ORIX (X0)\r
+ // m1.1 Vertical Block Number\r
+ // m1.0 Reserved\r
+\r
+ // Sampler Message Descriptor\r
+ // 31:29 Reserved 000\r
+ // 28:25 Message length 0010\r
+ // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)\r
+ // 19 Header Present 1\r
+ // 18:17 SIMD Mode 11 ---> SIMD32/64\r
+ // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)\r
+ // 11:8 Sampler Index xxxx\r
+ // 7:0 Binding Table Index xxxxxxxx\r
+\r
+\r
+ // Msg Header M0.2\r
+ // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back\r
+ // 14:14 Blue Write Channel Mask\r
+ // 13:13 Green Write Channel Mask\r
+ // 12:12 Red Write Channel Mask\r
+\r
+\r
+//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7\r
+\r
+\r
+//used to generate LABELS at compile time.\r
+\r
+\r
+ // 18:17 SIMD Mode 10 ---> SIMD16\r
+ // 16:12 Message Type xxxxx ---> 00000 (SIMD16)\r
+\r
+\r
+//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)\r
+//r18-19 - 2 GRFs to store sampler ramp.\r
+\r
+ .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+ .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub\r
+\r
+\r
+ .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub\r
+ .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+ // Sampler ramp is used for Scaling 0X_0.34X\r
+ .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements\r
+\r
+\r
+ //#define rMSGDSC_UV r23.0\r
+\r
+\r
+//End of _SCALING_\r
+\r
+\r
+ //Check if layer is to be skipped\r
+\r
+\r
+ // f0.1 pre-computed in Set_Layer_0\r
+ (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_2_\r
+\r
+\r
+ //AVS_PAYLOAD already has all the data loaded at this point\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x50EB400:ud //msg desc\r
+\r
+ mov (1) r16.2:ud 0x00000000:ud // Enable ARGB channels\r
+\r
+\r
+ // set the vertical block number\r
+\r
+\r
+ add (1) r25.1<1>:ud r7.12:uw 2:ud\r
+\r
+\r
+ mov (8) r17.0:ud r25.0<8;8,1>:ud\r
+\r
+ // Gen7 AVS WA Only for YUV packed surfaces, NV12 and Y-channel only for Planar surfaces\r
+ // if (((int)(u_left*width + 5.0/256) > (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ // }\r
+ // else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ // }\r
+ // else{\r
+ // modified_u_coord = u_coord;\r
+ // }\r
+ // Where u_left = u – 2*du + 3*ddu for IEF On\r
+ // And u_left = u for IEF Off case\r
+ // \r
+\r
+ // check whether Gen7 AVS WA is enabled,\r
+ mov (1) r14.8:uw f0.0:uw // save f0.0\r
+\r
+ and.nz.f0.0 (1) null<1>:uw r2.3:uw 0x2:uw\r
+ (-f0.0)jmpi (1) GEN7_AVS_WA_DONE_L0_2_\r
+\r
+\r
+ // Gen7 AVS WA, check if IEF is ON for choosing Gen7 AVS WA formula\r
+\r
+ and.nz.f0.0 (8) null<1>:uw r2.3<0;1,0>:uw 0x4:uw\r
+ (f0.0)mov (8) acc0.0:f r17.2<0;1,0>:f\r
+ (f0.0)mac (8) acc0.0:f r17.4<0;1,0>:f -2.0:f\r
+ (f0.0)mac (8) acc0.0:f r17.6<0;1,0>:f 3.0:f\r
+ (f0.0)mov (1) r14.2:f acc0:f // IEF ON, rTEMP3.2 = u_left\r
+ (-f0.0)mov (1) r14.2:f r17.2<0;1,0>:f // IEF OFF, rTEMP3.2 = u_left\r
+\r
+ and (1) r14.1:ud r2.3:uw 0xFFF8:uw\r
+ asr (1) r14.1:ud r14.1:ud 3:d\r
+ mov (1) r14.1:f r14.1:ud\r
+\r
+ // Gen7 AVS WA, if (int)(u_left*width + 5.0/256) > (int)(u_left*width)\r
+ mul (1) r14.0:f r14.2:f r14.1:f // rTEMP3.0 = u_left*width\r
+ add (1) r14.2:f r14.0:f 0.01953125:f // rTEMP3.2 = u_left*width + 5.0/256\r
+ add (1) r14.3:f r14.0:f 0.99609375:f // rTEMP3.3 = u_left*width + 255.0/256\r
+\r
+ //Check if the values are < 0 and account for (int) cast of negative numbers\r
+\r
+ //(int)(u_left*width)\r
+ cmp.l.f0.0 (1) null<1>:f r14.0:f 0.00000000:f \r
+ mov (1) r14.0:d r14.0:f\r
+ (f0.0)add (1) r14.0:d r14.0<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 5.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.2:f 0.00000000:f \r
+ mov (1) r14.2:d r14.2:f \r
+ (f0.0)add (1) r14.2:d r14.2<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 255.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.3:f 0.00000000:f \r
+ mov (1) r14.3:d r14.3:f\r
+ (f0.0)add (1) r14.3:d r14.3<0;1,0>:d -1:d \r
+\r
+ mov (1) f0.0:uw 0:uw // clear flag\r
+ //if (((int)(u_left*width + 5.0/256) > (int)(u_left*width))\r
+ cmp.g.f1.0 (1) null<1>:d r14.2:d r14.0:d\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ (f1.0) add (1) r17.2:f r17.2<0;1,0>:f -r2.3:f\r
+ //else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ (-f1.0) cmp.e.f0.0 (1) null<1>:d r14.3:d r14.0:d\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ (f0.0) add (1) r17.2:f r17.2<0;1,0>:f r2.2:f\r
+\r
+\r
+GEN7_AVS_WA_DONE_L0_2_:\r
+ mov (1) f0.0:uw r14.8:uw // restore f0.0\r
+\r
+ send (1) uwBUFFER_2(0)<1> r16 0x2 a0.0:ud\r
+ // Returns packed data in 16 GRFs in scrambled order\r
+\r
+SKIP_AVS_LOAD_L0_2_:\r
+ nop\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 7 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-// FileName: PA_AVS_Buf_3.asm
-// Author: Vivek Kumar
-// Description: Loads 8x8 AVS/IEF Packed data into Buffer 3
-
-
-// FileName : PA_AVS_Buf.asm
-// Author : Tatiya, Rupesh
-// Description : Loads 8x8 AVS/IEF Packed data into Buffer N
-
-//On IVB, for AVS module - set buffer pointers offset according to AVS Layout.
-//Change it to Sample Unorm layout in Shuffle modules.
-
-
-// Module name: Scaling.inc
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
- // Message Header
- // m0.7 31:0 Debug
- // m0.6 31:0 Debug
- // m0.5 31:0 Ignored
- // m0.4 31:0 Ignored
- // m0.3 31:0 Ignored
- // m0.2 31:16 Ignored
- // 15 Alpha Write Channel Mask enable=0, disable=1
- // 14 Blue Write Channel Mask (U)
- // 13 Green Write Channel Mask (Y)
- // 12 Red Write Channel Mask (V)
- // 11:0 Ignored
- // m0.1 Ignored
- // m0.0 Ignored
-
-
- // AVS payload
- // m1.7 Group ID Number
- // m1.6 U 2nd Derivative ---> NLAS dx
- // m1.5 Delta V ---> Step Y
- // m1.4 Delta U ---> Step X
- // m1.3 Pixel 0 V Address ---> ORIY (Y0)
- // m1.2 Pixel 0 U Address ---> ORIX (X0)
- // m1.1 Vertical Block Number
- // m1.0 Reserved
-
- // Sampler Message Descriptor
- // 31:29 Reserved 000
- // 28:25 Message length 0010
- // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)
- // 19 Header Present 1
- // 18:17 SIMD Mode 11 ---> SIMD32/64
- // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)
- // 11:8 Sampler Index xxxx
- // 7:0 Binding Table Index xxxxxxxx
-
-
- // Msg Header M0.2
- // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back
- // 14:14 Blue Write Channel Mask
- // 13:13 Green Write Channel Mask
- // 12:12 Red Write Channel Mask
-
-
-//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7
-
-
-//used to generate LABELS at compile time.
-
-
- // 18:17 SIMD Mode 10 ---> SIMD16
- // 16:12 Message Type xxxxx ---> 00000 (SIMD16)
-
-
-//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)
-//r18-19 - 2 GRFs to store sampler ramp.
-
- .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
- .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub
-
-
- .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub
- .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
- // Sampler ramp is used for Scaling 0X_0.34X
- .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements
-
-
- //#define rMSGDSC_UV r23.0
-
-
-//End of _SCALING_
-
-
- //Check if layer is to be skipped
-
-
- // f0.1 pre-computed in Set_Layer_0
- (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_3_
-
-
- //AVS_PAYLOAD already has all the data loaded at this point
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x50EB400:ud //msg desc
-
- mov (1) r16.2:ud 0x00000000:ud // Enable ARGB channels
-
-
- // set the vertical block number
-
-
- add (1) r25.1<1>:ud r7.12:uw 3:ud
-
-
- mov (8) r17.0:ud r25.0<8;8,1>:ud
- send (1) uwBUFFER_3(0)<1> r16 0x2 a0.0:ud
- // Returns packed data in 16 GRFs in scrambled order
-
-SKIP_AVS_LOAD_L0_3_:
- nop
-
-
+// 37 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+// FileName: PA_AVS_Buf_3.asm \r
+// Author: Vivek Kumar\r
+// Description: Loads 8x8 AVS/IEF Packed data into Buffer 3\r
+\r
+\r
+\r
+// FileName : PA_AVS_Buf.asm\r
+// Author : Tatiya, Rupesh\r
+// Description : Loads 8x8 AVS/IEF Packed data into Buffer N\r
+\r
+//On IVB, for AVS module - set buffer pointers offset according to AVS Layout.\r
+//Change it to Sample Unorm layout in Shuffle modules.\r
+\r
+\r
+\r
+// Module name: Scaling.inc\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+ // Message Header\r
+ // m0.7 31:0 Debug\r
+ // m0.6 31:0 Debug\r
+ // m0.5 31:0 Ignored\r
+ // m0.4 31:0 Ignored\r
+ // m0.3 31:0 Ignored\r
+ // m0.2 31:16 Ignored\r
+ // 15 Alpha Write Channel Mask enable=0, disable=1\r
+ // 14 Blue Write Channel Mask (U)\r
+ // 13 Green Write Channel Mask (Y)\r
+ // 12 Red Write Channel Mask (V)\r
+ // 11:0 Ignored\r
+ // m0.1 Ignored\r
+ // m0.0 Ignored\r
+\r
+\r
+ // AVS payload\r
+ // m1.7 Group ID Number\r
+ // m1.6 U 2nd Derivative ---> NLAS dx\r
+ // m1.5 Delta V ---> Step Y\r
+ // m1.4 Delta U ---> Step X\r
+ // m1.3 Pixel 0 V Address ---> ORIY (Y0)\r
+ // m1.2 Pixel 0 U Address ---> ORIX (X0)\r
+ // m1.1 Vertical Block Number\r
+ // m1.0 Reserved\r
+\r
+ // Sampler Message Descriptor\r
+ // 31:29 Reserved 000\r
+ // 28:25 Message length 0010\r
+ // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)\r
+ // 19 Header Present 1\r
+ // 18:17 SIMD Mode 11 ---> SIMD32/64\r
+ // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)\r
+ // 11:8 Sampler Index xxxx\r
+ // 7:0 Binding Table Index xxxxxxxx\r
+\r
+\r
+ // Msg Header M0.2\r
+ // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back\r
+ // 14:14 Blue Write Channel Mask\r
+ // 13:13 Green Write Channel Mask\r
+ // 12:12 Red Write Channel Mask\r
+\r
+\r
+//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7\r
+\r
+\r
+//used to generate LABELS at compile time.\r
+\r
+\r
+ // 18:17 SIMD Mode 10 ---> SIMD16\r
+ // 16:12 Message Type xxxxx ---> 00000 (SIMD16)\r
+\r
+\r
+//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)\r
+//r18-19 - 2 GRFs to store sampler ramp.\r
+\r
+ .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+ .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub\r
+\r
+\r
+ .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub\r
+ .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+ // Sampler ramp is used for Scaling 0X_0.34X\r
+ .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements\r
+\r
+\r
+ //#define rMSGDSC_UV r23.0\r
+\r
+\r
+//End of _SCALING_\r
+\r
+\r
+ //Check if layer is to be skipped\r
+\r
+\r
+ // f0.1 pre-computed in Set_Layer_0\r
+ (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_3_\r
+\r
+\r
+ //AVS_PAYLOAD already has all the data loaded at this point\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x50EB400:ud //msg desc\r
+\r
+ mov (1) r16.2:ud 0x00000000:ud // Enable ARGB channels\r
+\r
+\r
+ // set the vertical block number\r
+\r
+\r
+ add (1) r25.1<1>:ud r7.12:uw 3:ud\r
+\r
+\r
+ mov (8) r17.0:ud r25.0<8;8,1>:ud\r
+\r
+ // Gen7 AVS WA Only for YUV packed surfaces, NV12 and Y-channel only for Planar surfaces\r
+ // if (((int)(u_left*width + 5.0/256) > (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ // }\r
+ // else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ // }\r
+ // else{\r
+ // modified_u_coord = u_coord;\r
+ // }\r
+ // Where u_left = u – 2*du + 3*ddu for IEF On\r
+ // And u_left = u for IEF Off case\r
+ // \r
+\r
+ // check whether Gen7 AVS WA is enabled,\r
+ mov (1) r14.8:uw f0.0:uw // save f0.0\r
+\r
+ and.nz.f0.0 (1) null<1>:uw r2.3:uw 0x2:uw\r
+ (-f0.0)jmpi (1) GEN7_AVS_WA_DONE_L0_3_\r
+\r
+\r
+ // Gen7 AVS WA, check if IEF is ON for choosing Gen7 AVS WA formula\r
+\r
+ and.nz.f0.0 (8) null<1>:uw r2.3<0;1,0>:uw 0x4:uw\r
+ (f0.0)mov (8) acc0.0:f r17.2<0;1,0>:f\r
+ (f0.0)mac (8) acc0.0:f r17.4<0;1,0>:f -2.0:f\r
+ (f0.0)mac (8) acc0.0:f r17.6<0;1,0>:f 3.0:f\r
+ (f0.0)mov (1) r14.2:f acc0:f // IEF ON, rTEMP3.2 = u_left\r
+ (-f0.0)mov (1) r14.2:f r17.2<0;1,0>:f // IEF OFF, rTEMP3.2 = u_left\r
+\r
+ and (1) r14.1:ud r2.3:uw 0xFFF8:uw\r
+ asr (1) r14.1:ud r14.1:ud 3:d\r
+ mov (1) r14.1:f r14.1:ud\r
+\r
+ // Gen7 AVS WA, if (int)(u_left*width + 5.0/256) > (int)(u_left*width)\r
+ mul (1) r14.0:f r14.2:f r14.1:f // rTEMP3.0 = u_left*width\r
+ add (1) r14.2:f r14.0:f 0.01953125:f // rTEMP3.2 = u_left*width + 5.0/256\r
+ add (1) r14.3:f r14.0:f 0.99609375:f // rTEMP3.3 = u_left*width + 255.0/256\r
+\r
+ //Check if the values are < 0 and account for (int) cast of negative numbers\r
+\r
+ //(int)(u_left*width)\r
+ cmp.l.f0.0 (1) null<1>:f r14.0:f 0.00000000:f \r
+ mov (1) r14.0:d r14.0:f\r
+ (f0.0)add (1) r14.0:d r14.0<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 5.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.2:f 0.00000000:f \r
+ mov (1) r14.2:d r14.2:f \r
+ (f0.0)add (1) r14.2:d r14.2<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 255.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.3:f 0.00000000:f \r
+ mov (1) r14.3:d r14.3:f\r
+ (f0.0)add (1) r14.3:d r14.3<0;1,0>:d -1:d \r
+\r
+ mov (1) f0.0:uw 0:uw // clear flag\r
+ //if (((int)(u_left*width + 5.0/256) > (int)(u_left*width))\r
+ cmp.g.f1.0 (1) null<1>:d r14.2:d r14.0:d\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ (f1.0) add (1) r17.2:f r17.2<0;1,0>:f -r2.3:f\r
+ //else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ (-f1.0) cmp.e.f0.0 (1) null<1>:d r14.3:d r14.0:d\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ (f0.0) add (1) r17.2:f r17.2<0;1,0>:f r2.2:f\r
+\r
+\r
+GEN7_AVS_WA_DONE_L0_3_:\r
+ mov (1) f0.0:uw r14.8:uw // restore f0.0\r
+\r
+ send (1) uwBUFFER_3(0)<1> r16 0x2 a0.0:ud\r
+ // Returns packed data in 16 GRFs in scrambled order\r
+\r
+SKIP_AVS_LOAD_L0_3_:\r
+ nop\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 12 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-// FileName: PL2_AVS_Buf_0.asm
-// Author: Tatiya, Rupesh
-// Description: Loads 8x8 AVS/IEF PL2 data into Buffer 0
-
-
-// FileName : PL2_AVS_Buf.asm
-// Author : Tatiya, Rupesh
-// Description : Loads 8x8 AVS/IEF PL2 data into Buffer N
-
-
-// Module name: Scaling.inc
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
- // Message Header
- // m0.7 31:0 Debug
- // m0.6 31:0 Debug
- // m0.5 31:0 Ignored
- // m0.4 31:0 Ignored
- // m0.3 31:0 Ignored
- // m0.2 31:16 Ignored
- // 15 Alpha Write Channel Mask enable=0, disable=1
- // 14 Blue Write Channel Mask (U)
- // 13 Green Write Channel Mask (Y)
- // 12 Red Write Channel Mask (V)
- // 11:0 Ignored
- // m0.1 Ignored
- // m0.0 Ignored
-
-
- // AVS payload
- // m1.7 Group ID Number
- // m1.6 U 2nd Derivative ---> NLAS dx
- // m1.5 Delta V ---> Step Y
- // m1.4 Delta U ---> Step X
- // m1.3 Pixel 0 V Address ---> ORIY (Y0)
- // m1.2 Pixel 0 U Address ---> ORIX (X0)
- // m1.1 Vertical Block Number
- // m1.0 Reserved
-
- // Sampler Message Descriptor
- // 31:29 Reserved 000
- // 28:25 Message length 0010
- // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)
- // 19 Header Present 1
- // 18:17 SIMD Mode 11 ---> SIMD32/64
- // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)
- // 11:8 Sampler Index xxxx
- // 7:0 Binding Table Index xxxxxxxx
-
-
- // Msg Header M0.2
- // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back
- // 14:14 Blue Write Channel Mask
- // 13:13 Green Write Channel Mask
- // 12:12 Red Write Channel Mask
-
-
-//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7
-
-
-//used to generate LABELS at compile time.
-
-
- // 18:17 SIMD Mode 10 ---> SIMD16
- // 16:12 Message Type xxxxx ---> 00000 (SIMD16)
-
-
-//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)
-//r18-19 - 2 GRFs to store sampler ramp.
-
- .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
- .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub
-
-
- .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub
- .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
- // Sampler ramp is used for Scaling 0X_0.34X
- .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements
-
-
- //#define rMSGDSC_UV r23.0
-
-
-//End of _SCALING_
-
-
- //NOTE: We need offsets for second halfof LAYER 0 - even if we do not load it.
- //Update the channel offset in the buffers for the lower 8x4 data for BUFFER_0.
- mov (1) r22.4<1>:ud 0x400040:ud
-
-
- //Check if layer is to be skipped
-
-
- // f0.1 pre-computed in Set_Layer_0
- (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_0_
-
-
- //AVS_PAYLOAD already has all the data loaded at this point
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB400:ud //msg desc
-
- mov (1) r16.2:ud 0x0000D000:ud // Enable Red channel
-
-
- mov (1) r25.7<1>:ud r7.7:ud { NoDDClr }
- mov (1) r25.1<1>:ud r7.12:uw { NoDDChk }
-
-
- // set the vertical block number
-
-
- mov (8) r17.0:ud r25.0<8;8,1>:ud // Copy msg payload mirrors to MRFs
-
- send (1) uwBUFFER_0(0)<1> r16 0x2 a0.0:ud
- // Returns Y data in 4 GRFs in scrambled order
-
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x48EB801:ud // msg desc; 1 is added to change BI to UV
- mov (1) r16.2:ud 0x0000A000:ud // Enable Red+Green channel
-
- send (1) uwBUFFER_0(4)<1> r16 0x2 a0.0:ud
- // Returns UV data in 8 GRFs in scrambled order
-
-SKIP_AVS_LOAD_L0_0_:
- nop
-
-
+// 44 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+// FileName: PL2_AVS_Buf_0.asm\r
+// Author: Tatiya, Rupesh\r
+// Description: Loads 8x8 AVS/IEF PL2 data into Buffer 0\r
+\r
+\r
+\r
+// FileName : PL2_AVS_Buf.asm\r
+// Author : Tatiya, Rupesh\r
+// Description : Loads 8x8 AVS/IEF PL2 data into Buffer N\r
+\r
+\r
+\r
+// Module name: Scaling.inc\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+ // Message Header\r
+ // m0.7 31:0 Debug\r
+ // m0.6 31:0 Debug\r
+ // m0.5 31:0 Ignored\r
+ // m0.4 31:0 Ignored\r
+ // m0.3 31:0 Ignored\r
+ // m0.2 31:16 Ignored\r
+ // 15 Alpha Write Channel Mask enable=0, disable=1\r
+ // 14 Blue Write Channel Mask (U)\r
+ // 13 Green Write Channel Mask (Y)\r
+ // 12 Red Write Channel Mask (V)\r
+ // 11:0 Ignored\r
+ // m0.1 Ignored\r
+ // m0.0 Ignored\r
+\r
+\r
+ // AVS payload\r
+ // m1.7 Group ID Number\r
+ // m1.6 U 2nd Derivative ---> NLAS dx\r
+ // m1.5 Delta V ---> Step Y\r
+ // m1.4 Delta U ---> Step X\r
+ // m1.3 Pixel 0 V Address ---> ORIY (Y0)\r
+ // m1.2 Pixel 0 U Address ---> ORIX (X0)\r
+ // m1.1 Vertical Block Number\r
+ // m1.0 Reserved\r
+\r
+ // Sampler Message Descriptor\r
+ // 31:29 Reserved 000\r
+ // 28:25 Message length 0010\r
+ // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)\r
+ // 19 Header Present 1\r
+ // 18:17 SIMD Mode 11 ---> SIMD32/64\r
+ // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)\r
+ // 11:8 Sampler Index xxxx\r
+ // 7:0 Binding Table Index xxxxxxxx\r
+\r
+\r
+ // Msg Header M0.2\r
+ // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back\r
+ // 14:14 Blue Write Channel Mask\r
+ // 13:13 Green Write Channel Mask\r
+ // 12:12 Red Write Channel Mask\r
+\r
+\r
+//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7\r
+\r
+\r
+//used to generate LABELS at compile time.\r
+\r
+\r
+ // 18:17 SIMD Mode 10 ---> SIMD16\r
+ // 16:12 Message Type xxxxx ---> 00000 (SIMD16)\r
+\r
+\r
+//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)\r
+//r18-19 - 2 GRFs to store sampler ramp.\r
+\r
+ .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+ .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub\r
+\r
+\r
+ .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub\r
+ .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+ // Sampler ramp is used for Scaling 0X_0.34X\r
+ .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements\r
+\r
+\r
+ //#define rMSGDSC_UV r23.0\r
+\r
+\r
+//End of _SCALING_\r
+\r
+\r
+ //NOTE: We need offsets for second halfof LAYER 0 - even if we do not load it.\r
+ //Update the channel offset in the buffers for the lower 8x4 data for BUFFER_0.\r
+ mov (1) r22.4<1>:ud 0x400040:ud\r
+\r
+\r
+ //Check if layer is to be skipped\r
+\r
+\r
+ // f0.1 pre-computed in Set_Layer_0\r
+ (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_0_\r
+\r
+\r
+ //AVS_PAYLOAD already has all the data loaded at this point\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB400:ud //msg desc\r
+\r
+ mov (1) r16.2:ud 0x0000D000:ud // Enable Red channel\r
+\r
+\r
+ mov (1) r25.7<1>:ud r7.7:ud { NoDDClr }\r
+ mov (1) r25.1<1>:ud r7.12:uw { NoDDChk }\r
+\r
+\r
+ // set the vertical block number\r
+\r
+\r
+ mov (8) r17.0:ud r25.0<8;8,1>:ud // Copy msg payload mirrors to MRFs\r
+\r
+ // Gen7 AVS WA Only for YUV packed surfaces, NV12 and Y-channel only for Planar surfaces\r
+ // if (((int)(u_left*width + 5.0/256) > (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ // }\r
+ // else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ // }\r
+ // else{\r
+ // modified_u_coord = u_coord;\r
+ // }\r
+ // Where u_left = u – 2*du + 3*ddu for IEF On\r
+ // And u_left = u for IEF Off case\r
+ // \r
+\r
+ // check whether Gen7 AVS WA is enabled,\r
+ mov (1) r14.8:uw f0.0:uw // save f0.0\r
+ mov (1) r14.5:f r17.2<0;1,0>:f // save pixel 0 U for chroma\r
+\r
+ and.nz.f0.0 (1) null<1>:uw r2.3:uw 0x2:uw\r
+ (-f0.0)jmpi (1) GEN7_PL2_AVS_WA_DONE_L0_0_\r
+\r
+ // Gen7 AVS WA, check if IEF is ON for choosing Gen7 AVS WA formula\r
+\r
+ and.nz.f0.0 (8) null<1>:uw r2.3<0;1,0>:uw 0x4:uw\r
+ (f0.0)mov (8) acc0.0:f r17.2<0;1,0>:f\r
+ (f0.0)mac (8) acc0.0:f r17.4<0;1,0>:f -2.0:f\r
+ (f0.0)mac (8) acc0.0:f r17.6<0;1,0>:f 3.0:f\r
+ (f0.0)mov (1) r14.2:f acc0:f // IEF ON, rTEMP3.2 = u_left\r
+ (-f0.0)mov (1) r14.2:f r17.2<0;1,0>:f // IEF OFF, rTEMP3.2 = u_left\r
+\r
+ and (1) r14.1:ud r2.3:uw 0xFFF8:uw\r
+ asr (1) r14.1:ud r14.1:ud 3:d\r
+ mov (1) r14.1:f r14.1:ud\r
+\r
+ // Gen7 AVS WA, if (int)(u_left*width + 5.0/256) > (int)(u_left*width)\r
+ mul (1) r14.0:f r14.2:f r14.1:f // rTEMP3.0 = u_left*width\r
+ add (1) r14.2:f r14.0:f 0.01953125:f // rTEMP3.2 = u_left*width + 5.0/256\r
+ add (1) r14.3:f r14.0:f 0.99609375:f // rTEMP3.3 = u_left*width + 255.0/256\r
+\r
+ //Check if the values are < 0 and account for (int) cast of negative numbers\r
+\r
+ //(int)(u_left*width)\r
+ cmp.l.f0.0 (1) null<1>:f r14.0:f 0.00000000:f \r
+ mov (1) r14.0:d r14.0:f\r
+ (f0.0)add (1) r14.0:d r14.0<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 5.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.2:f 0.00000000:f \r
+ mov (1) r14.2:d r14.2:f \r
+ (f0.0)add (1) r14.2:d r14.2<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 255.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.3:f 0.00000000:f \r
+ mov (1) r14.3:d r14.3:f\r
+ (f0.0)add (1) r14.3:d r14.3<0;1,0>:d -1:d \r
+\r
+ mov (1) f0.0:uw 0:uw // clear flag\r
+ //if (((int)(u_left*width + 5.0/256) > (int)(u_left*width))\r
+ cmp.g.f1.0 (1) null<1>:d r14.2:d r14.0:d\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ (f1.0) add (1) r17.2:f r17.2<0;1,0>:f -r2.3:f\r
+ //else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ (-f1.0) cmp.e.f0.0 (1) null<1>:d r14.3:d r14.0:d\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ (f0.0) add (1) r17.2:f r17.2<0;1,0>:f r2.2:f\r
+\r
+GEN7_PL2_AVS_WA_DONE_L0_0_:\r
+ mov (1) f0.0:uw r14.8:uw // restore f0.0\r
+\r
+ send (1) uwBUFFER_0(0)<1> r16 0x2 a0.0:ud\r
+ // Returns Y data in 4 GRFs in scrambled order\r
+\r
+ mov (1) r17.2:f r14.5:f // restore pixel 0 U for chroma, No AVS WA for chroma\r
+\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x48EB801:ud // msg desc; 1 is added to change BI to UV\r
+ mov (1) r16.2:ud 0x0000A000:ud // Enable Red+Blue channel\r
+\r
+ send (1) uwBUFFER_0(4)<1> r16 0x2 a0.0:ud\r
+ // Returns UV data in 8 GRFs in scrambled order\r
+\r
+SKIP_AVS_LOAD_L0_0_:\r
+ nop\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 10 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-// FileName: PL2_AVS_Buf_1.asm
-// Author: Tatiya, Rupesh
-// Description: Loads 8x8 AVS/IEF PL2 data into Buffer 1
-
-
-// FileName : PL2_AVS_Buf.asm
-// Author : Tatiya, Rupesh
-// Description : Loads 8x8 AVS/IEF PL2 data into Buffer N
-
-
-// Module name: Scaling.inc
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
- // Message Header
- // m0.7 31:0 Debug
- // m0.6 31:0 Debug
- // m0.5 31:0 Ignored
- // m0.4 31:0 Ignored
- // m0.3 31:0 Ignored
- // m0.2 31:16 Ignored
- // 15 Alpha Write Channel Mask enable=0, disable=1
- // 14 Blue Write Channel Mask (U)
- // 13 Green Write Channel Mask (Y)
- // 12 Red Write Channel Mask (V)
- // 11:0 Ignored
- // m0.1 Ignored
- // m0.0 Ignored
-
-
- // AVS payload
- // m1.7 Group ID Number
- // m1.6 U 2nd Derivative ---> NLAS dx
- // m1.5 Delta V ---> Step Y
- // m1.4 Delta U ---> Step X
- // m1.3 Pixel 0 V Address ---> ORIY (Y0)
- // m1.2 Pixel 0 U Address ---> ORIX (X0)
- // m1.1 Vertical Block Number
- // m1.0 Reserved
-
- // Sampler Message Descriptor
- // 31:29 Reserved 000
- // 28:25 Message length 0010
- // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)
- // 19 Header Present 1
- // 18:17 SIMD Mode 11 ---> SIMD32/64
- // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)
- // 11:8 Sampler Index xxxx
- // 7:0 Binding Table Index xxxxxxxx
-
-
- // Msg Header M0.2
- // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back
- // 14:14 Blue Write Channel Mask
- // 13:13 Green Write Channel Mask
- // 12:12 Red Write Channel Mask
-
-
-//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7
-
-
-//used to generate LABELS at compile time.
-
-
- // 18:17 SIMD Mode 10 ---> SIMD16
- // 16:12 Message Type xxxxx ---> 00000 (SIMD16)
-
-
-//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)
-//r18-19 - 2 GRFs to store sampler ramp.
-
- .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
- .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub
-
-
- .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub
- .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
- // Sampler ramp is used for Scaling 0X_0.34X
- .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements
-
-
- //#define rMSGDSC_UV r23.0
-
-
-//End of _SCALING_
-
-
- //Check if layer is to be skipped
-
-
- // f0.1 pre-computed in Set_Layer_0
- (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_1_
-
-
- //AVS_PAYLOAD already has all the data loaded at this point
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB400:ud //msg desc
-
- mov (1) r16.2:ud 0x0000D000:ud // Enable Red channel
-
-
- // set the vertical block number
-
- add (1) r25.1<1>:ud r7.12:uw 1:ud
-
-
- mov (8) r17.0:ud r25.0<8;8,1>:ud // Copy msg payload mirrors to MRFs
-
- send (1) uwBUFFER_1(0)<1> r16 0x2 a0.0:ud
- // Returns Y data in 4 GRFs in scrambled order
-
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x48EB801:ud // msg desc; 1 is added to change BI to UV
- mov (1) r16.2:ud 0x0000A000:ud // Enable Red+Green channel
-
- send (1) uwBUFFER_1(4)<1> r16 0x2 a0.0:ud
- // Returns UV data in 8 GRFs in scrambled order
-
-SKIP_AVS_LOAD_L0_1_:
- nop
-
-
+// 42 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+// FileName: PL2_AVS_Buf_1.asm\r
+// Author: Tatiya, Rupesh\r
+// Description: Loads 8x8 AVS/IEF PL2 data into Buffer 1\r
+\r
+\r
+\r
+// FileName : PL2_AVS_Buf.asm\r
+// Author : Tatiya, Rupesh\r
+// Description : Loads 8x8 AVS/IEF PL2 data into Buffer N\r
+\r
+\r
+\r
+// Module name: Scaling.inc\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+ // Message Header\r
+ // m0.7 31:0 Debug\r
+ // m0.6 31:0 Debug\r
+ // m0.5 31:0 Ignored\r
+ // m0.4 31:0 Ignored\r
+ // m0.3 31:0 Ignored\r
+ // m0.2 31:16 Ignored\r
+ // 15 Alpha Write Channel Mask enable=0, disable=1\r
+ // 14 Blue Write Channel Mask (U)\r
+ // 13 Green Write Channel Mask (Y)\r
+ // 12 Red Write Channel Mask (V)\r
+ // 11:0 Ignored\r
+ // m0.1 Ignored\r
+ // m0.0 Ignored\r
+\r
+\r
+ // AVS payload\r
+ // m1.7 Group ID Number\r
+ // m1.6 U 2nd Derivative ---> NLAS dx\r
+ // m1.5 Delta V ---> Step Y\r
+ // m1.4 Delta U ---> Step X\r
+ // m1.3 Pixel 0 V Address ---> ORIY (Y0)\r
+ // m1.2 Pixel 0 U Address ---> ORIX (X0)\r
+ // m1.1 Vertical Block Number\r
+ // m1.0 Reserved\r
+\r
+ // Sampler Message Descriptor\r
+ // 31:29 Reserved 000\r
+ // 28:25 Message length 0010\r
+ // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)\r
+ // 19 Header Present 1\r
+ // 18:17 SIMD Mode 11 ---> SIMD32/64\r
+ // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)\r
+ // 11:8 Sampler Index xxxx\r
+ // 7:0 Binding Table Index xxxxxxxx\r
+\r
+\r
+ // Msg Header M0.2\r
+ // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back\r
+ // 14:14 Blue Write Channel Mask\r
+ // 13:13 Green Write Channel Mask\r
+ // 12:12 Red Write Channel Mask\r
+\r
+\r
+//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7\r
+\r
+\r
+//used to generate LABELS at compile time.\r
+\r
+\r
+ // 18:17 SIMD Mode 10 ---> SIMD16\r
+ // 16:12 Message Type xxxxx ---> 00000 (SIMD16)\r
+\r
+\r
+//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)\r
+//r18-19 - 2 GRFs to store sampler ramp.\r
+\r
+ .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+ .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub\r
+\r
+\r
+ .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub\r
+ .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+ // Sampler ramp is used for Scaling 0X_0.34X\r
+ .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements\r
+\r
+\r
+ //#define rMSGDSC_UV r23.0\r
+\r
+\r
+//End of _SCALING_\r
+\r
+\r
+ //Check if layer is to be skipped\r
+\r
+\r
+ // f0.1 pre-computed in Set_Layer_0\r
+ (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_1_\r
+\r
+\r
+ //AVS_PAYLOAD already has all the data loaded at this point\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB400:ud //msg desc\r
+\r
+ mov (1) r16.2:ud 0x0000D000:ud // Enable Red channel\r
+\r
+\r
+ // set the vertical block number\r
+\r
+ add (1) r25.1<1>:ud r7.12:uw 1:ud\r
+\r
+\r
+ mov (8) r17.0:ud r25.0<8;8,1>:ud // Copy msg payload mirrors to MRFs\r
+\r
+ // Gen7 AVS WA Only for YUV packed surfaces, NV12 and Y-channel only for Planar surfaces\r
+ // if (((int)(u_left*width + 5.0/256) > (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ // }\r
+ // else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ // }\r
+ // else{\r
+ // modified_u_coord = u_coord;\r
+ // }\r
+ // Where u_left = u – 2*du + 3*ddu for IEF On\r
+ // And u_left = u for IEF Off case\r
+ // \r
+\r
+ // check whether Gen7 AVS WA is enabled,\r
+ mov (1) r14.8:uw f0.0:uw // save f0.0\r
+ mov (1) r14.5:f r17.2<0;1,0>:f // save pixel 0 U for chroma\r
+\r
+ and.nz.f0.0 (1) null<1>:uw r2.3:uw 0x2:uw\r
+ (-f0.0)jmpi (1) GEN7_PL2_AVS_WA_DONE_L0_1_\r
+\r
+ // Gen7 AVS WA, check if IEF is ON for choosing Gen7 AVS WA formula\r
+\r
+ and.nz.f0.0 (8) null<1>:uw r2.3<0;1,0>:uw 0x4:uw\r
+ (f0.0)mov (8) acc0.0:f r17.2<0;1,0>:f\r
+ (f0.0)mac (8) acc0.0:f r17.4<0;1,0>:f -2.0:f\r
+ (f0.0)mac (8) acc0.0:f r17.6<0;1,0>:f 3.0:f\r
+ (f0.0)mov (1) r14.2:f acc0:f // IEF ON, rTEMP3.2 = u_left\r
+ (-f0.0)mov (1) r14.2:f r17.2<0;1,0>:f // IEF OFF, rTEMP3.2 = u_left\r
+\r
+ and (1) r14.1:ud r2.3:uw 0xFFF8:uw\r
+ asr (1) r14.1:ud r14.1:ud 3:d\r
+ mov (1) r14.1:f r14.1:ud\r
+\r
+ // Gen7 AVS WA, if (int)(u_left*width + 5.0/256) > (int)(u_left*width)\r
+ mul (1) r14.0:f r14.2:f r14.1:f // rTEMP3.0 = u_left*width\r
+ add (1) r14.2:f r14.0:f 0.01953125:f // rTEMP3.2 = u_left*width + 5.0/256\r
+ add (1) r14.3:f r14.0:f 0.99609375:f // rTEMP3.3 = u_left*width + 255.0/256\r
+\r
+ //Check if the values are < 0 and account for (int) cast of negative numbers\r
+\r
+ //(int)(u_left*width)\r
+ cmp.l.f0.0 (1) null<1>:f r14.0:f 0.00000000:f \r
+ mov (1) r14.0:d r14.0:f\r
+ (f0.0)add (1) r14.0:d r14.0<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 5.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.2:f 0.00000000:f \r
+ mov (1) r14.2:d r14.2:f \r
+ (f0.0)add (1) r14.2:d r14.2<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 255.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.3:f 0.00000000:f \r
+ mov (1) r14.3:d r14.3:f\r
+ (f0.0)add (1) r14.3:d r14.3<0;1,0>:d -1:d \r
+\r
+ mov (1) f0.0:uw 0:uw // clear flag\r
+ //if (((int)(u_left*width + 5.0/256) > (int)(u_left*width))\r
+ cmp.g.f1.0 (1) null<1>:d r14.2:d r14.0:d\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ (f1.0) add (1) r17.2:f r17.2<0;1,0>:f -r2.3:f\r
+ //else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ (-f1.0) cmp.e.f0.0 (1) null<1>:d r14.3:d r14.0:d\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ (f0.0) add (1) r17.2:f r17.2<0;1,0>:f r2.2:f\r
+\r
+GEN7_PL2_AVS_WA_DONE_L0_1_:\r
+ mov (1) f0.0:uw r14.8:uw // restore f0.0\r
+\r
+ send (1) uwBUFFER_1(0)<1> r16 0x2 a0.0:ud\r
+ // Returns Y data in 4 GRFs in scrambled order\r
+\r
+ mov (1) r17.2:f r14.5:f // restore pixel 0 U for chroma, No AVS WA for chroma\r
+\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x48EB801:ud // msg desc; 1 is added to change BI to UV\r
+ mov (1) r16.2:ud 0x0000A000:ud // Enable Red+Blue channel\r
+\r
+ send (1) uwBUFFER_1(4)<1> r16 0x2 a0.0:ud\r
+ // Returns UV data in 8 GRFs in scrambled order\r
+\r
+SKIP_AVS_LOAD_L0_1_:\r
+ nop\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 10 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-// FileName: PL2_AVS_Buf_2.asm
-// Author: Tatiya, Rupesh
-// Description: Loads 8x8 AVS/IEF PL2 data into Buffer 2
-
-
-// FileName : PL2_AVS_Buf.asm
-// Author : Tatiya, Rupesh
-// Description : Loads 8x8 AVS/IEF PL2 data into Buffer N
-
-
-// Module name: Scaling.inc
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
- // Message Header
- // m0.7 31:0 Debug
- // m0.6 31:0 Debug
- // m0.5 31:0 Ignored
- // m0.4 31:0 Ignored
- // m0.3 31:0 Ignored
- // m0.2 31:16 Ignored
- // 15 Alpha Write Channel Mask enable=0, disable=1
- // 14 Blue Write Channel Mask (U)
- // 13 Green Write Channel Mask (Y)
- // 12 Red Write Channel Mask (V)
- // 11:0 Ignored
- // m0.1 Ignored
- // m0.0 Ignored
-
-
- // AVS payload
- // m1.7 Group ID Number
- // m1.6 U 2nd Derivative ---> NLAS dx
- // m1.5 Delta V ---> Step Y
- // m1.4 Delta U ---> Step X
- // m1.3 Pixel 0 V Address ---> ORIY (Y0)
- // m1.2 Pixel 0 U Address ---> ORIX (X0)
- // m1.1 Vertical Block Number
- // m1.0 Reserved
-
- // Sampler Message Descriptor
- // 31:29 Reserved 000
- // 28:25 Message length 0010
- // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)
- // 19 Header Present 1
- // 18:17 SIMD Mode 11 ---> SIMD32/64
- // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)
- // 11:8 Sampler Index xxxx
- // 7:0 Binding Table Index xxxxxxxx
-
-
- // Msg Header M0.2
- // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back
- // 14:14 Blue Write Channel Mask
- // 13:13 Green Write Channel Mask
- // 12:12 Red Write Channel Mask
-
-
-//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7
-
-
-//used to generate LABELS at compile time.
-
-
- // 18:17 SIMD Mode 10 ---> SIMD16
- // 16:12 Message Type xxxxx ---> 00000 (SIMD16)
-
-
-//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)
-//r18-19 - 2 GRFs to store sampler ramp.
-
- .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
- .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub
-
-
- .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub
- .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
- // Sampler ramp is used for Scaling 0X_0.34X
- .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements
-
-
- //#define rMSGDSC_UV r23.0
-
-
-//End of _SCALING_
-
-
- //Check if layer is to be skipped
-
-
- // f0.1 pre-computed in Set_Layer_0
- (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_2_
-
-
- //AVS_PAYLOAD already has all the data loaded at this point
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB400:ud //msg desc
-
- mov (1) r16.2:ud 0x0000D000:ud // Enable Red channel
-
-
- // set the vertical block number
-
-
- add (1) r25.1<1>:ud r7.12:uw 2:ud
-
-
- mov (8) r17.0:ud r25.0<8;8,1>:ud // Copy msg payload mirrors to MRFs
-
- send (1) uwBUFFER_2(0)<1> r16 0x2 a0.0:ud
- // Returns Y data in 4 GRFs in scrambled order
-
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x48EB801:ud // msg desc; 1 is added to change BI to UV
- mov (1) r16.2:ud 0x0000A000:ud // Enable Red+Green channel
-
- send (1) uwBUFFER_2(4)<1> r16 0x2 a0.0:ud
- // Returns UV data in 8 GRFs in scrambled order
-
-SKIP_AVS_LOAD_L0_2_:
- nop
-
-
+// 42 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+// FileName: PL2_AVS_Buf_2.asm\r
+// Author: Tatiya, Rupesh\r
+// Description: Loads 8x8 AVS/IEF PL2 data into Buffer 2\r
+\r
+\r
+\r
+// FileName : PL2_AVS_Buf.asm\r
+// Author : Tatiya, Rupesh\r
+// Description : Loads 8x8 AVS/IEF PL2 data into Buffer N\r
+\r
+\r
+\r
+// Module name: Scaling.inc\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+ // Message Header\r
+ // m0.7 31:0 Debug\r
+ // m0.6 31:0 Debug\r
+ // m0.5 31:0 Ignored\r
+ // m0.4 31:0 Ignored\r
+ // m0.3 31:0 Ignored\r
+ // m0.2 31:16 Ignored\r
+ // 15 Alpha Write Channel Mask enable=0, disable=1\r
+ // 14 Blue Write Channel Mask (U)\r
+ // 13 Green Write Channel Mask (Y)\r
+ // 12 Red Write Channel Mask (V)\r
+ // 11:0 Ignored\r
+ // m0.1 Ignored\r
+ // m0.0 Ignored\r
+\r
+\r
+ // AVS payload\r
+ // m1.7 Group ID Number\r
+ // m1.6 U 2nd Derivative ---> NLAS dx\r
+ // m1.5 Delta V ---> Step Y\r
+ // m1.4 Delta U ---> Step X\r
+ // m1.3 Pixel 0 V Address ---> ORIY (Y0)\r
+ // m1.2 Pixel 0 U Address ---> ORIX (X0)\r
+ // m1.1 Vertical Block Number\r
+ // m1.0 Reserved\r
+\r
+ // Sampler Message Descriptor\r
+ // 31:29 Reserved 000\r
+ // 28:25 Message length 0010\r
+ // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)\r
+ // 19 Header Present 1\r
+ // 18:17 SIMD Mode 11 ---> SIMD32/64\r
+ // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)\r
+ // 11:8 Sampler Index xxxx\r
+ // 7:0 Binding Table Index xxxxxxxx\r
+\r
+\r
+ // Msg Header M0.2\r
+ // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back\r
+ // 14:14 Blue Write Channel Mask\r
+ // 13:13 Green Write Channel Mask\r
+ // 12:12 Red Write Channel Mask\r
+\r
+\r
+//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7\r
+\r
+\r
+//used to generate LABELS at compile time.\r
+\r
+\r
+ // 18:17 SIMD Mode 10 ---> SIMD16\r
+ // 16:12 Message Type xxxxx ---> 00000 (SIMD16)\r
+\r
+\r
+//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)\r
+//r18-19 - 2 GRFs to store sampler ramp.\r
+\r
+ .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+ .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub\r
+\r
+\r
+ .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub\r
+ .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+ // Sampler ramp is used for Scaling 0X_0.34X\r
+ .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements\r
+\r
+\r
+ //#define rMSGDSC_UV r23.0\r
+\r
+\r
+//End of _SCALING_\r
+\r
+\r
+ //Check if layer is to be skipped\r
+\r
+\r
+ // f0.1 pre-computed in Set_Layer_0\r
+ (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_2_\r
+\r
+\r
+ //AVS_PAYLOAD already has all the data loaded at this point\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB400:ud //msg desc\r
+\r
+ mov (1) r16.2:ud 0x0000D000:ud // Enable Red channel\r
+\r
+\r
+ // set the vertical block number\r
+\r
+\r
+ add (1) r25.1<1>:ud r7.12:uw 2:ud\r
+\r
+\r
+ mov (8) r17.0:ud r25.0<8;8,1>:ud // Copy msg payload mirrors to MRFs\r
+\r
+ // Gen7 AVS WA Only for YUV packed surfaces, NV12 and Y-channel only for Planar surfaces\r
+ // if (((int)(u_left*width + 5.0/256) > (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ // }\r
+ // else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ // }\r
+ // else{\r
+ // modified_u_coord = u_coord;\r
+ // }\r
+ // Where u_left = u – 2*du + 3*ddu for IEF On\r
+ // And u_left = u for IEF Off case\r
+ // \r
+\r
+ // check whether Gen7 AVS WA is enabled,\r
+ mov (1) r14.8:uw f0.0:uw // save f0.0\r
+ mov (1) r14.5:f r17.2<0;1,0>:f // save pixel 0 U for chroma\r
+\r
+ and.nz.f0.0 (1) null<1>:uw r2.3:uw 0x2:uw\r
+ (-f0.0)jmpi (1) GEN7_PL2_AVS_WA_DONE_L0_2_\r
+\r
+ // Gen7 AVS WA, check if IEF is ON for choosing Gen7 AVS WA formula\r
+\r
+ and.nz.f0.0 (8) null<1>:uw r2.3<0;1,0>:uw 0x4:uw\r
+ (f0.0)mov (8) acc0.0:f r17.2<0;1,0>:f\r
+ (f0.0)mac (8) acc0.0:f r17.4<0;1,0>:f -2.0:f\r
+ (f0.0)mac (8) acc0.0:f r17.6<0;1,0>:f 3.0:f\r
+ (f0.0)mov (1) r14.2:f acc0:f // IEF ON, rTEMP3.2 = u_left\r
+ (-f0.0)mov (1) r14.2:f r17.2<0;1,0>:f // IEF OFF, rTEMP3.2 = u_left\r
+\r
+ and (1) r14.1:ud r2.3:uw 0xFFF8:uw\r
+ asr (1) r14.1:ud r14.1:ud 3:d\r
+ mov (1) r14.1:f r14.1:ud\r
+\r
+ // Gen7 AVS WA, if (int)(u_left*width + 5.0/256) > (int)(u_left*width)\r
+ mul (1) r14.0:f r14.2:f r14.1:f // rTEMP3.0 = u_left*width\r
+ add (1) r14.2:f r14.0:f 0.01953125:f // rTEMP3.2 = u_left*width + 5.0/256\r
+ add (1) r14.3:f r14.0:f 0.99609375:f // rTEMP3.3 = u_left*width + 255.0/256\r
+\r
+ //Check if the values are < 0 and account for (int) cast of negative numbers\r
+\r
+ //(int)(u_left*width)\r
+ cmp.l.f0.0 (1) null<1>:f r14.0:f 0.00000000:f \r
+ mov (1) r14.0:d r14.0:f\r
+ (f0.0)add (1) r14.0:d r14.0<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 5.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.2:f 0.00000000:f \r
+ mov (1) r14.2:d r14.2:f \r
+ (f0.0)add (1) r14.2:d r14.2<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 255.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.3:f 0.00000000:f \r
+ mov (1) r14.3:d r14.3:f\r
+ (f0.0)add (1) r14.3:d r14.3<0;1,0>:d -1:d \r
+\r
+ mov (1) f0.0:uw 0:uw // clear flag\r
+ //if (((int)(u_left*width + 5.0/256) > (int)(u_left*width))\r
+ cmp.g.f1.0 (1) null<1>:d r14.2:d r14.0:d\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ (f1.0) add (1) r17.2:f r17.2<0;1,0>:f -r2.3:f\r
+ //else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ (-f1.0) cmp.e.f0.0 (1) null<1>:d r14.3:d r14.0:d\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ (f0.0) add (1) r17.2:f r17.2<0;1,0>:f r2.2:f\r
+\r
+GEN7_PL2_AVS_WA_DONE_L0_2_:\r
+ mov (1) f0.0:uw r14.8:uw // restore f0.0\r
+\r
+ send (1) uwBUFFER_2(0)<1> r16 0x2 a0.0:ud\r
+ // Returns Y data in 4 GRFs in scrambled order\r
+\r
+ mov (1) r17.2:f r14.5:f // restore pixel 0 U for chroma, No AVS WA for chroma\r
+\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x48EB801:ud // msg desc; 1 is added to change BI to UV\r
+ mov (1) r16.2:ud 0x0000A000:ud // Enable Red+Blue channel\r
+\r
+ send (1) uwBUFFER_2(4)<1> r16 0x2 a0.0:ud\r
+ // Returns UV data in 8 GRFs in scrambled order\r
+\r
+SKIP_AVS_LOAD_L0_2_:\r
+ nop\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 10 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-// FileName: PL2_AVS_Buf_3.asm
-// Author: Tatiya, Rupesh
-// Description: Loads 8x8 AVS/IEF PL2 data into Buffer 0
-
-
-// FileName : PL2_AVS_Buf.asm
-// Author : Tatiya, Rupesh
-// Description : Loads 8x8 AVS/IEF PL2 data into Buffer N
-
-
-// Module name: Scaling.inc
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
- // Message Header
- // m0.7 31:0 Debug
- // m0.6 31:0 Debug
- // m0.5 31:0 Ignored
- // m0.4 31:0 Ignored
- // m0.3 31:0 Ignored
- // m0.2 31:16 Ignored
- // 15 Alpha Write Channel Mask enable=0, disable=1
- // 14 Blue Write Channel Mask (U)
- // 13 Green Write Channel Mask (Y)
- // 12 Red Write Channel Mask (V)
- // 11:0 Ignored
- // m0.1 Ignored
- // m0.0 Ignored
-
-
- // AVS payload
- // m1.7 Group ID Number
- // m1.6 U 2nd Derivative ---> NLAS dx
- // m1.5 Delta V ---> Step Y
- // m1.4 Delta U ---> Step X
- // m1.3 Pixel 0 V Address ---> ORIY (Y0)
- // m1.2 Pixel 0 U Address ---> ORIX (X0)
- // m1.1 Vertical Block Number
- // m1.0 Reserved
-
- // Sampler Message Descriptor
- // 31:29 Reserved 000
- // 28:25 Message length 0010
- // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)
- // 19 Header Present 1
- // 18:17 SIMD Mode 11 ---> SIMD32/64
- // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)
- // 11:8 Sampler Index xxxx
- // 7:0 Binding Table Index xxxxxxxx
-
-
- // Msg Header M0.2
- // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back
- // 14:14 Blue Write Channel Mask
- // 13:13 Green Write Channel Mask
- // 12:12 Red Write Channel Mask
-
-
-//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7
-
-
-//used to generate LABELS at compile time.
-
-
- // 18:17 SIMD Mode 10 ---> SIMD16
- // 16:12 Message Type xxxxx ---> 00000 (SIMD16)
-
-
-//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)
-//r18-19 - 2 GRFs to store sampler ramp.
-
- .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
- .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub
-
-
- .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub
- .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
- // Sampler ramp is used for Scaling 0X_0.34X
- .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements
-
-
- //#define rMSGDSC_UV r23.0
-
-
-//End of _SCALING_
-
-
- //Check if layer is to be skipped
-
-
- // f0.1 pre-computed in Set_Layer_0
- (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_3_
-
-
- //AVS_PAYLOAD already has all the data loaded at this point
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB400:ud //msg desc
-
- mov (1) r16.2:ud 0x0000D000:ud // Enable Red channel
-
-
- // set the vertical block number
-
-
- add (1) r25.1<1>:ud r7.12:uw 3:ud
-
-
- mov (8) r17.0:ud r25.0<8;8,1>:ud // Copy msg payload mirrors to MRFs
-
- send (1) uwBUFFER_3(0)<1> r16 0x2 a0.0:ud
- // Returns Y data in 4 GRFs in scrambled order
-
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x48EB801:ud // msg desc; 1 is added to change BI to UV
- mov (1) r16.2:ud 0x0000A000:ud // Enable Red+Green channel
-
- send (1) uwBUFFER_3(4)<1> r16 0x2 a0.0:ud
- // Returns UV data in 8 GRFs in scrambled order
-
-SKIP_AVS_LOAD_L0_3_:
- nop
-
-
+// 42 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+// FileName: PL2_AVS_Buf_3.asm\r
+// Author: Tatiya, Rupesh\r
+// Description: Loads 8x8 AVS/IEF PL2 data into Buffer 0\r
+\r
+\r
+\r
+// FileName : PL2_AVS_Buf.asm\r
+// Author : Tatiya, Rupesh\r
+// Description : Loads 8x8 AVS/IEF PL2 data into Buffer N\r
+\r
+\r
+\r
+// Module name: Scaling.inc\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+ // Message Header\r
+ // m0.7 31:0 Debug\r
+ // m0.6 31:0 Debug\r
+ // m0.5 31:0 Ignored\r
+ // m0.4 31:0 Ignored\r
+ // m0.3 31:0 Ignored\r
+ // m0.2 31:16 Ignored\r
+ // 15 Alpha Write Channel Mask enable=0, disable=1\r
+ // 14 Blue Write Channel Mask (U)\r
+ // 13 Green Write Channel Mask (Y)\r
+ // 12 Red Write Channel Mask (V)\r
+ // 11:0 Ignored\r
+ // m0.1 Ignored\r
+ // m0.0 Ignored\r
+\r
+\r
+ // AVS payload\r
+ // m1.7 Group ID Number\r
+ // m1.6 U 2nd Derivative ---> NLAS dx\r
+ // m1.5 Delta V ---> Step Y\r
+ // m1.4 Delta U ---> Step X\r
+ // m1.3 Pixel 0 V Address ---> ORIY (Y0)\r
+ // m1.2 Pixel 0 U Address ---> ORIX (X0)\r
+ // m1.1 Vertical Block Number\r
+ // m1.0 Reserved\r
+\r
+ // Sampler Message Descriptor\r
+ // 31:29 Reserved 000\r
+ // 28:25 Message length 0010\r
+ // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)\r
+ // 19 Header Present 1\r
+ // 18:17 SIMD Mode 11 ---> SIMD32/64\r
+ // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)\r
+ // 11:8 Sampler Index xxxx\r
+ // 7:0 Binding Table Index xxxxxxxx\r
+\r
+\r
+ // Msg Header M0.2\r
+ // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back\r
+ // 14:14 Blue Write Channel Mask\r
+ // 13:13 Green Write Channel Mask\r
+ // 12:12 Red Write Channel Mask\r
+\r
+\r
+//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7\r
+\r
+\r
+//used to generate LABELS at compile time.\r
+\r
+\r
+ // 18:17 SIMD Mode 10 ---> SIMD16\r
+ // 16:12 Message Type xxxxx ---> 00000 (SIMD16)\r
+\r
+\r
+//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)\r
+//r18-19 - 2 GRFs to store sampler ramp.\r
+\r
+ .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+ .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub\r
+\r
+\r
+ .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub\r
+ .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+ // Sampler ramp is used for Scaling 0X_0.34X\r
+ .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements\r
+\r
+\r
+ //#define rMSGDSC_UV r23.0\r
+\r
+\r
+//End of _SCALING_\r
+\r
+\r
+ //Check if layer is to be skipped\r
+\r
+\r
+ // f0.1 pre-computed in Set_Layer_0\r
+ (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_3_\r
+\r
+\r
+ //AVS_PAYLOAD already has all the data loaded at this point\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB400:ud //msg desc\r
+\r
+ mov (1) r16.2:ud 0x0000D000:ud // Enable Red channel\r
+\r
+\r
+ // set the vertical block number\r
+\r
+\r
+ add (1) r25.1<1>:ud r7.12:uw 3:ud\r
+\r
+\r
+ mov (8) r17.0:ud r25.0<8;8,1>:ud // Copy msg payload mirrors to MRFs\r
+\r
+ // Gen7 AVS WA Only for YUV packed surfaces, NV12 and Y-channel only for Planar surfaces\r
+ // if (((int)(u_left*width + 5.0/256) > (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ // }\r
+ // else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ // }\r
+ // else{\r
+ // modified_u_coord = u_coord;\r
+ // }\r
+ // Where u_left = u – 2*du + 3*ddu for IEF On\r
+ // And u_left = u for IEF Off case\r
+ // \r
+\r
+ // check whether Gen7 AVS WA is enabled,\r
+ mov (1) r14.8:uw f0.0:uw // save f0.0\r
+ mov (1) r14.5:f r17.2<0;1,0>:f // save pixel 0 U for chroma\r
+\r
+ and.nz.f0.0 (1) null<1>:uw r2.3:uw 0x2:uw\r
+ (-f0.0)jmpi (1) GEN7_PL2_AVS_WA_DONE_L0_3_\r
+\r
+ // Gen7 AVS WA, check if IEF is ON for choosing Gen7 AVS WA formula\r
+\r
+ and.nz.f0.0 (8) null<1>:uw r2.3<0;1,0>:uw 0x4:uw\r
+ (f0.0)mov (8) acc0.0:f r17.2<0;1,0>:f\r
+ (f0.0)mac (8) acc0.0:f r17.4<0;1,0>:f -2.0:f\r
+ (f0.0)mac (8) acc0.0:f r17.6<0;1,0>:f 3.0:f\r
+ (f0.0)mov (1) r14.2:f acc0:f // IEF ON, rTEMP3.2 = u_left\r
+ (-f0.0)mov (1) r14.2:f r17.2<0;1,0>:f // IEF OFF, rTEMP3.2 = u_left\r
+\r
+ and (1) r14.1:ud r2.3:uw 0xFFF8:uw\r
+ asr (1) r14.1:ud r14.1:ud 3:d\r
+ mov (1) r14.1:f r14.1:ud\r
+\r
+ // Gen7 AVS WA, if (int)(u_left*width + 5.0/256) > (int)(u_left*width)\r
+ mul (1) r14.0:f r14.2:f r14.1:f // rTEMP3.0 = u_left*width\r
+ add (1) r14.2:f r14.0:f 0.01953125:f // rTEMP3.2 = u_left*width + 5.0/256\r
+ add (1) r14.3:f r14.0:f 0.99609375:f // rTEMP3.3 = u_left*width + 255.0/256\r
+\r
+ //Check if the values are < 0 and account for (int) cast of negative numbers\r
+\r
+ //(int)(u_left*width)\r
+ cmp.l.f0.0 (1) null<1>:f r14.0:f 0.00000000:f \r
+ mov (1) r14.0:d r14.0:f\r
+ (f0.0)add (1) r14.0:d r14.0<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 5.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.2:f 0.00000000:f \r
+ mov (1) r14.2:d r14.2:f \r
+ (f0.0)add (1) r14.2:d r14.2<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 255.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.3:f 0.00000000:f \r
+ mov (1) r14.3:d r14.3:f\r
+ (f0.0)add (1) r14.3:d r14.3<0;1,0>:d -1:d \r
+\r
+ mov (1) f0.0:uw 0:uw // clear flag\r
+ //if (((int)(u_left*width + 5.0/256) > (int)(u_left*width))\r
+ cmp.g.f1.0 (1) null<1>:d r14.2:d r14.0:d\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ (f1.0) add (1) r17.2:f r17.2<0;1,0>:f -r2.3:f\r
+ //else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ (-f1.0) cmp.e.f0.0 (1) null<1>:d r14.3:d r14.0:d\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ (f0.0) add (1) r17.2:f r17.2<0;1,0>:f r2.2:f\r
+\r
+GEN7_PL2_AVS_WA_DONE_L0_3_:\r
+ mov (1) f0.0:uw r14.8:uw // restore f0.0\r
+\r
+ send (1) uwBUFFER_3(0)<1> r16 0x2 a0.0:ud\r
+ // Returns Y data in 4 GRFs in scrambled order\r
+\r
+ mov (1) r17.2:f r14.5:f // restore pixel 0 U for chroma, No AVS WA for chroma\r
+\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x48EB801:ud // msg desc; 1 is added to change BI to UV\r
+ mov (1) r16.2:ud 0x0000A000:ud // Enable Red+Blue channel\r
+\r
+ send (1) uwBUFFER_3(4)<1> r16 0x2 a0.0:ud\r
+ // Returns UV data in 8 GRFs in scrambled order\r
+\r
+SKIP_AVS_LOAD_L0_3_:\r
+ nop\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 15 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-// FileName: PL3_AVS_Buf_0.asm
-// Author: Tatiya, Rupesh
-// Description: Loads 8x8 AVS/IEF PL3 data into Buffer 0
-
-
-// FileName : PL3_AVS_Buf.asm
-// Author : Tatiya, Rupesh
-// Description : Loads 8x8 AVS/IEF PL3 data into Buffer N
-
-
-// Module name: Scaling.inc
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
- // Message Header
- // m0.7 31:0 Debug
- // m0.6 31:0 Debug
- // m0.5 31:0 Ignored
- // m0.4 31:0 Ignored
- // m0.3 31:0 Ignored
- // m0.2 31:16 Ignored
- // 15 Alpha Write Channel Mask enable=0, disable=1
- // 14 Blue Write Channel Mask (U)
- // 13 Green Write Channel Mask (Y)
- // 12 Red Write Channel Mask (V)
- // 11:0 Ignored
- // m0.1 Ignored
- // m0.0 Ignored
-
-
- // AVS payload
- // m1.7 Group ID Number
- // m1.6 U 2nd Derivative ---> NLAS dx
- // m1.5 Delta V ---> Step Y
- // m1.4 Delta U ---> Step X
- // m1.3 Pixel 0 V Address ---> ORIY (Y0)
- // m1.2 Pixel 0 U Address ---> ORIX (X0)
- // m1.1 Vertical Block Number
- // m1.0 Reserved
-
- // Sampler Message Descriptor
- // 31:29 Reserved 000
- // 28:25 Message length 0010
- // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)
- // 19 Header Present 1
- // 18:17 SIMD Mode 11 ---> SIMD32/64
- // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)
- // 11:8 Sampler Index xxxx
- // 7:0 Binding Table Index xxxxxxxx
-
-
- // Msg Header M0.2
- // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back
- // 14:14 Blue Write Channel Mask
- // 13:13 Green Write Channel Mask
- // 12:12 Red Write Channel Mask
-
-
-//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7
-
-
-//used to generate LABELS at compile time.
-
-
- // 18:17 SIMD Mode 10 ---> SIMD16
- // 16:12 Message Type xxxxx ---> 00000 (SIMD16)
-
-
-//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)
-//r18-19 - 2 GRFs to store sampler ramp.
-
- .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
- .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub
-
-
- .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub
- .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
- // Sampler ramp is used for Scaling 0X_0.34X
- .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements
-
-
- //#define rMSGDSC_UV r23.0
-
-
-//End of _SCALING_
-
-
- //NOTE: We need offsets for second halfof LAYER 0 - even if we do not load it.
- //Update the channel offset in the buffers for the lower 8x4 data for BUFFER_0.
- mov (1) r22.4<1>:ud 0x400040:ud
-
-
- //Check if layer is to be skipped
-
-
- // f0.1 pre-computed in Set_Layer_0
- (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_0_
-
-
- //AVS_PAYLOAD already has all the data loaded at this point
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB400:ud //msg desc
-
- mov (1) r16.2:ud 0x0000D000:ud // Enable Red channel
-
-
- mov (1) r25.7<1>:ud r7.7:ud { NoDDClr }
- mov (1) r25.1<1>:ud r7.12:uw { NoDDChk }
-
-
- // set the vertical block number
-
-
- mov (8) r17.0:ud r25.0<8;8,1>:ud // Copy msg payload mirrors to MRFs
-
- send (1) uwBUFFER_0(0)<1> r16 0x2 a0.0:ud
- // Returns Y data in 4 GRFs in scrambled order
-
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB801:ud // msg desc; 1 is added to change BI to UV
- mov (1) r16.2:ud 0x0000E000:ud // Enable Red channel
-
- send (1) uwBUFFER_0(4)<1> r16 0x2 a0.0:ud
- // Returns U data in 4 GRFs in scrambled order
-
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EBC02:ud // msg desc; 1 is added to change BI to UV
- mov (1) r16.2:ud 0x0000E000:ud // Enable Red channel
-
- send (1) uwBUFFER_0(8)<1> r16 0x2 a0.0:ud
- // Returns V data in 4 GRFs in scrambled order
-
-SKIP_AVS_LOAD_L0_0_:
- nop
-
-
+// 47 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+// FileName: PL3_AVS_Buf_0.asm\r
+// Author: Tatiya, Rupesh\r
+// Description: Loads 8x8 AVS/IEF PL3 data into Buffer 0\r
+\r
+\r
+\r
+// FileName : PL3_AVS_Buf.asm\r
+// Author : Tatiya, Rupesh\r
+// Description : Loads 8x8 AVS/IEF PL3 data into Buffer N\r
+\r
+\r
+\r
+// Module name: Scaling.inc\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+ // Message Header\r
+ // m0.7 31:0 Debug\r
+ // m0.6 31:0 Debug\r
+ // m0.5 31:0 Ignored\r
+ // m0.4 31:0 Ignored\r
+ // m0.3 31:0 Ignored\r
+ // m0.2 31:16 Ignored\r
+ // 15 Alpha Write Channel Mask enable=0, disable=1\r
+ // 14 Blue Write Channel Mask (U)\r
+ // 13 Green Write Channel Mask (Y)\r
+ // 12 Red Write Channel Mask (V)\r
+ // 11:0 Ignored\r
+ // m0.1 Ignored\r
+ // m0.0 Ignored\r
+\r
+\r
+ // AVS payload\r
+ // m1.7 Group ID Number\r
+ // m1.6 U 2nd Derivative ---> NLAS dx\r
+ // m1.5 Delta V ---> Step Y\r
+ // m1.4 Delta U ---> Step X\r
+ // m1.3 Pixel 0 V Address ---> ORIY (Y0)\r
+ // m1.2 Pixel 0 U Address ---> ORIX (X0)\r
+ // m1.1 Vertical Block Number\r
+ // m1.0 Reserved\r
+\r
+ // Sampler Message Descriptor\r
+ // 31:29 Reserved 000\r
+ // 28:25 Message length 0010\r
+ // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)\r
+ // 19 Header Present 1\r
+ // 18:17 SIMD Mode 11 ---> SIMD32/64\r
+ // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)\r
+ // 11:8 Sampler Index xxxx\r
+ // 7:0 Binding Table Index xxxxxxxx\r
+\r
+\r
+ // Msg Header M0.2\r
+ // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back\r
+ // 14:14 Blue Write Channel Mask\r
+ // 13:13 Green Write Channel Mask\r
+ // 12:12 Red Write Channel Mask\r
+\r
+\r
+//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7\r
+\r
+\r
+//used to generate LABELS at compile time.\r
+\r
+\r
+ // 18:17 SIMD Mode 10 ---> SIMD16\r
+ // 16:12 Message Type xxxxx ---> 00000 (SIMD16)\r
+\r
+\r
+//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)\r
+//r18-19 - 2 GRFs to store sampler ramp.\r
+\r
+ .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+ .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub\r
+\r
+\r
+ .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub\r
+ .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+ // Sampler ramp is used for Scaling 0X_0.34X\r
+ .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements\r
+\r
+\r
+ //#define rMSGDSC_UV r23.0\r
+\r
+\r
+//End of _SCALING_\r
+\r
+\r
+ //NOTE: We need offsets for second halfof LAYER 0 - even if we do not load it.\r
+ //Update the channel offset in the buffers for the lower 8x4 data for BUFFER_0.\r
+ mov (1) r22.4<1>:ud 0x400040:ud\r
+\r
+\r
+ //Check if layer is to be skipped\r
+\r
+\r
+ // f0.1 pre-computed in Set_Layer_0\r
+ (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_0_\r
+\r
+\r
+ //AVS_PAYLOAD already has all the data loaded at this point\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB400:ud //msg desc\r
+\r
+ mov (1) r16.2:ud 0x0000D000:ud // Enable Red channel\r
+\r
+\r
+ mov (1) r25.7<1>:ud r7.7:ud { NoDDClr }\r
+ mov (1) r25.1<1>:ud r7.12:uw { NoDDChk }\r
+\r
+\r
+ // set the vertical block number\r
+\r
+\r
+ mov (8) r17.0:ud r25.0<8;8,1>:ud // Copy msg payload mirrors to MRFs\r
+\r
+ // Gen7 AVS WA Only for YUV packed surfaces, NV12 and Y-channel only for Planar surfaces\r
+ // if (((int)(u_left*width + 5.0/256) > (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ // }\r
+ // else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ // }\r
+ // else{\r
+ // modified_u_coord = u_coord;\r
+ // }\r
+ // Where u_left = u – 2*du + 3*ddu for IEF On\r
+ // And u_left = u for IEF Off case\r
+ // \r
+\r
+ // check whether Gen7 AVS WA is enabled,\r
+ mov (1) r14.8:uw f0.0:uw // save f0.0\r
+ mov (1) r14.5:f r17.2<0;1,0>:f // save pixel 0 U for chroma\r
+\r
+ and.nz.f0.0 (1) null<1>:uw r2.3:uw 0x2:uw\r
+ (-f0.0)jmpi (1) GEN7_PL3_AVS_WA_DONE_L0_0_\r
+\r
+ // Gen7 AVS WA, check if IEF is ON for choosing Gen7 AVS WA formula\r
+\r
+ and.nz.f0.0 (8) null<1>:uw r2.3<0;1,0>:uw 0x4:uw\r
+ (f0.0)mov (8) acc0.0:f r17.2<0;1,0>:f\r
+ (f0.0)mac (8) acc0.0:f r17.4<0;1,0>:f -2.0:f\r
+ (f0.0)mac (8) acc0.0:f r17.6<0;1,0>:f 3.0:f\r
+ (f0.0)mov (1) r14.2:f acc0:f // IEF ON, rTEMP3.2 = u_left\r
+ (-f0.0)mov (1) r14.2:f r17.2<0;1,0>:f // IEF OFF, rTEMP3.2 = u_left\r
+\r
+ and (1) r14.1:ud r2.3:uw 0xFFF8:uw\r
+ asr (1) r14.1:ud r14.1:ud 3:d\r
+ mov (1) r14.1:f r14.1:ud\r
+\r
+ // Gen7 AVS WA, if (int)(u_left*width + 5.0/256) > (int)(u_left*width)\r
+ mul (1) r14.0:f r14.2:f r14.1:f // rTEMP3.0 = u_left*width\r
+ add (1) r14.2:f r14.0:f 0.01953125:f // rTEMP3.2 = u_left*width + 5.0/256\r
+ add (1) r14.3:f r14.0:f 0.99609375:f // rTEMP3.3 = u_left*width + 255.0/256\r
+\r
+ //Check if the values are < 0 and account for (int) cast of negative numbers\r
+\r
+ //(int)(u_left*width)\r
+ cmp.l.f0.0 (1) null<1>:f r14.0:f 0.00000000:f \r
+ mov (1) r14.0:d r14.0:f\r
+ (f0.0)add (1) r14.0:d r14.0<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 5.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.2:f 0.00000000:f \r
+ mov (1) r14.2:d r14.2:f \r
+ (f0.0)add (1) r14.2:d r14.2<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 255.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.3:f 0.00000000:f \r
+ mov (1) r14.3:d r14.3:f\r
+ (f0.0)add (1) r14.3:d r14.3<0;1,0>:d -1:d \r
+\r
+ mov (1) f0.0:uw 0:uw // clear flag\r
+ //if (((int)(u_left*width + 5.0/256) > (int)(u_left*width))\r
+ cmp.g.f1.0 (1) null<1>:d r14.2:d r14.0:d\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ (f1.0) add (1) r17.2:f r17.2<0;1,0>:f -r2.3:f\r
+ //else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ (-f1.0) cmp.e.f0.0 (1) null<1>:d r14.3:d r14.0:d\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ (f0.0) add (1) r17.2:f r17.2<0;1,0>:f r2.2:f\r
+\r
+GEN7_PL3_AVS_WA_DONE_L0_0_:\r
+ mov (1) f0.0:uw r14.8:uw // restore f0.0\r
+\r
+\r
+ send (1) uwBUFFER_0(0)<1> r16 0x2 a0.0:ud\r
+ // Returns Y data in 4 GRFs in scrambled order\r
+\r
+ mov (1) r17.2:f r14.5:f // restore pixel 0 U for chroma, No AVS WA for chroma\r
+\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB801:ud // msg desc; 1 is added to change BI to UV\r
+ mov (1) r16.2:ud 0x0000E000:ud // Enable Red channel\r
+\r
+ send (1) uwBUFFER_0(4)<1> r16 0x2 a0.0:ud\r
+ // Returns U data in 4 GRFs in scrambled order\r
+\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EBC02:ud // msg desc; 1 is added to change BI to UV\r
+ mov (1) r16.2:ud 0x0000E000:ud // Enable Red channel\r
+\r
+ send (1) uwBUFFER_0(8)<1> r16 0x2 a0.0:ud\r
+ // Returns V data in 4 GRFs in scrambled order\r
+\r
+SKIP_AVS_LOAD_L0_0_:\r
+ nop\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 13 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-// FileName: PL3_AVS_Buf_1.asm
-// Author: Tatiya, Rupesh
-// Description: Loads 8x8 AVS/IEF PL3 data into Buffer 1
-
-
-// FileName : PL3_AVS_Buf.asm
-// Author : Tatiya, Rupesh
-// Description : Loads 8x8 AVS/IEF PL3 data into Buffer N
-
-
-// Module name: Scaling.inc
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
- // Message Header
- // m0.7 31:0 Debug
- // m0.6 31:0 Debug
- // m0.5 31:0 Ignored
- // m0.4 31:0 Ignored
- // m0.3 31:0 Ignored
- // m0.2 31:16 Ignored
- // 15 Alpha Write Channel Mask enable=0, disable=1
- // 14 Blue Write Channel Mask (U)
- // 13 Green Write Channel Mask (Y)
- // 12 Red Write Channel Mask (V)
- // 11:0 Ignored
- // m0.1 Ignored
- // m0.0 Ignored
-
-
- // AVS payload
- // m1.7 Group ID Number
- // m1.6 U 2nd Derivative ---> NLAS dx
- // m1.5 Delta V ---> Step Y
- // m1.4 Delta U ---> Step X
- // m1.3 Pixel 0 V Address ---> ORIY (Y0)
- // m1.2 Pixel 0 U Address ---> ORIX (X0)
- // m1.1 Vertical Block Number
- // m1.0 Reserved
-
- // Sampler Message Descriptor
- // 31:29 Reserved 000
- // 28:25 Message length 0010
- // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)
- // 19 Header Present 1
- // 18:17 SIMD Mode 11 ---> SIMD32/64
- // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)
- // 11:8 Sampler Index xxxx
- // 7:0 Binding Table Index xxxxxxxx
-
-
- // Msg Header M0.2
- // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back
- // 14:14 Blue Write Channel Mask
- // 13:13 Green Write Channel Mask
- // 12:12 Red Write Channel Mask
-
-
-//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7
-
-
-//used to generate LABELS at compile time.
-
-
- // 18:17 SIMD Mode 10 ---> SIMD16
- // 16:12 Message Type xxxxx ---> 00000 (SIMD16)
-
-
-//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)
-//r18-19 - 2 GRFs to store sampler ramp.
-
- .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
- .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub
-
-
- .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub
- .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
- // Sampler ramp is used for Scaling 0X_0.34X
- .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements
-
-
- //#define rMSGDSC_UV r23.0
-
-
-//End of _SCALING_
-
-
- //Check if layer is to be skipped
-
-
- // f0.1 pre-computed in Set_Layer_0
- (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_1_
-
-
- //AVS_PAYLOAD already has all the data loaded at this point
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB400:ud //msg desc
-
- mov (1) r16.2:ud 0x0000D000:ud // Enable Red channel
-
-
- // set the vertical block number
-
- add (1) r25.1<1>:ud r7.12:uw 1:ud
-
-
- mov (8) r17.0:ud r25.0<8;8,1>:ud // Copy msg payload mirrors to MRFs
-
- send (1) uwBUFFER_1(0)<1> r16 0x2 a0.0:ud
- // Returns Y data in 4 GRFs in scrambled order
-
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB801:ud // msg desc; 1 is added to change BI to UV
- mov (1) r16.2:ud 0x0000E000:ud // Enable Red channel
-
- send (1) uwBUFFER_1(4)<1> r16 0x2 a0.0:ud
- // Returns U data in 4 GRFs in scrambled order
-
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EBC02:ud // msg desc; 1 is added to change BI to UV
- mov (1) r16.2:ud 0x0000E000:ud // Enable Red channel
-
- send (1) uwBUFFER_1(8)<1> r16 0x2 a0.0:ud
- // Returns V data in 4 GRFs in scrambled order
-
-SKIP_AVS_LOAD_L0_1_:
- nop
-
-
+// 45 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+// FileName: PL3_AVS_Buf_1.asm\r
+// Author: Tatiya, Rupesh\r
+// Description: Loads 8x8 AVS/IEF PL3 data into Buffer 1\r
+\r
+\r
+\r
+// FileName : PL3_AVS_Buf.asm\r
+// Author : Tatiya, Rupesh\r
+// Description : Loads 8x8 AVS/IEF PL3 data into Buffer N\r
+\r
+\r
+\r
+// Module name: Scaling.inc\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+ // Message Header\r
+ // m0.7 31:0 Debug\r
+ // m0.6 31:0 Debug\r
+ // m0.5 31:0 Ignored\r
+ // m0.4 31:0 Ignored\r
+ // m0.3 31:0 Ignored\r
+ // m0.2 31:16 Ignored\r
+ // 15 Alpha Write Channel Mask enable=0, disable=1\r
+ // 14 Blue Write Channel Mask (U)\r
+ // 13 Green Write Channel Mask (Y)\r
+ // 12 Red Write Channel Mask (V)\r
+ // 11:0 Ignored\r
+ // m0.1 Ignored\r
+ // m0.0 Ignored\r
+\r
+\r
+ // AVS payload\r
+ // m1.7 Group ID Number\r
+ // m1.6 U 2nd Derivative ---> NLAS dx\r
+ // m1.5 Delta V ---> Step Y\r
+ // m1.4 Delta U ---> Step X\r
+ // m1.3 Pixel 0 V Address ---> ORIY (Y0)\r
+ // m1.2 Pixel 0 U Address ---> ORIX (X0)\r
+ // m1.1 Vertical Block Number\r
+ // m1.0 Reserved\r
+\r
+ // Sampler Message Descriptor\r
+ // 31:29 Reserved 000\r
+ // 28:25 Message length 0010\r
+ // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)\r
+ // 19 Header Present 1\r
+ // 18:17 SIMD Mode 11 ---> SIMD32/64\r
+ // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)\r
+ // 11:8 Sampler Index xxxx\r
+ // 7:0 Binding Table Index xxxxxxxx\r
+\r
+\r
+ // Msg Header M0.2\r
+ // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back\r
+ // 14:14 Blue Write Channel Mask\r
+ // 13:13 Green Write Channel Mask\r
+ // 12:12 Red Write Channel Mask\r
+\r
+\r
+//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7\r
+\r
+\r
+//used to generate LABELS at compile time.\r
+\r
+\r
+ // 18:17 SIMD Mode 10 ---> SIMD16\r
+ // 16:12 Message Type xxxxx ---> 00000 (SIMD16)\r
+\r
+\r
+//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)\r
+//r18-19 - 2 GRFs to store sampler ramp.\r
+\r
+ .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+ .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub\r
+\r
+\r
+ .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub\r
+ .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+ // Sampler ramp is used for Scaling 0X_0.34X\r
+ .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements\r
+\r
+\r
+ //#define rMSGDSC_UV r23.0\r
+\r
+\r
+//End of _SCALING_\r
+\r
+\r
+ //Check if layer is to be skipped\r
+\r
+\r
+ // f0.1 pre-computed in Set_Layer_0\r
+ (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_1_\r
+\r
+\r
+ //AVS_PAYLOAD already has all the data loaded at this point\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB400:ud //msg desc\r
+\r
+ mov (1) r16.2:ud 0x0000D000:ud // Enable Red channel\r
+\r
+\r
+ // set the vertical block number\r
+\r
+ add (1) r25.1<1>:ud r7.12:uw 1:ud\r
+\r
+\r
+ mov (8) r17.0:ud r25.0<8;8,1>:ud // Copy msg payload mirrors to MRFs\r
+\r
+ // Gen7 AVS WA Only for YUV packed surfaces, NV12 and Y-channel only for Planar surfaces\r
+ // if (((int)(u_left*width + 5.0/256) > (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ // }\r
+ // else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ // }\r
+ // else{\r
+ // modified_u_coord = u_coord;\r
+ // }\r
+ // Where u_left = u – 2*du + 3*ddu for IEF On\r
+ // And u_left = u for IEF Off case\r
+ // \r
+\r
+ // check whether Gen7 AVS WA is enabled,\r
+ mov (1) r14.8:uw f0.0:uw // save f0.0\r
+ mov (1) r14.5:f r17.2<0;1,0>:f // save pixel 0 U for chroma\r
+\r
+ and.nz.f0.0 (1) null<1>:uw r2.3:uw 0x2:uw\r
+ (-f0.0)jmpi (1) GEN7_PL3_AVS_WA_DONE_L0_1_\r
+\r
+ // Gen7 AVS WA, check if IEF is ON for choosing Gen7 AVS WA formula\r
+\r
+ and.nz.f0.0 (8) null<1>:uw r2.3<0;1,0>:uw 0x4:uw\r
+ (f0.0)mov (8) acc0.0:f r17.2<0;1,0>:f\r
+ (f0.0)mac (8) acc0.0:f r17.4<0;1,0>:f -2.0:f\r
+ (f0.0)mac (8) acc0.0:f r17.6<0;1,0>:f 3.0:f\r
+ (f0.0)mov (1) r14.2:f acc0:f // IEF ON, rTEMP3.2 = u_left\r
+ (-f0.0)mov (1) r14.2:f r17.2<0;1,0>:f // IEF OFF, rTEMP3.2 = u_left\r
+\r
+ and (1) r14.1:ud r2.3:uw 0xFFF8:uw\r
+ asr (1) r14.1:ud r14.1:ud 3:d\r
+ mov (1) r14.1:f r14.1:ud\r
+\r
+ // Gen7 AVS WA, if (int)(u_left*width + 5.0/256) > (int)(u_left*width)\r
+ mul (1) r14.0:f r14.2:f r14.1:f // rTEMP3.0 = u_left*width\r
+ add (1) r14.2:f r14.0:f 0.01953125:f // rTEMP3.2 = u_left*width + 5.0/256\r
+ add (1) r14.3:f r14.0:f 0.99609375:f // rTEMP3.3 = u_left*width + 255.0/256\r
+\r
+ //Check if the values are < 0 and account for (int) cast of negative numbers\r
+\r
+ //(int)(u_left*width)\r
+ cmp.l.f0.0 (1) null<1>:f r14.0:f 0.00000000:f \r
+ mov (1) r14.0:d r14.0:f\r
+ (f0.0)add (1) r14.0:d r14.0<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 5.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.2:f 0.00000000:f \r
+ mov (1) r14.2:d r14.2:f \r
+ (f0.0)add (1) r14.2:d r14.2<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 255.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.3:f 0.00000000:f \r
+ mov (1) r14.3:d r14.3:f\r
+ (f0.0)add (1) r14.3:d r14.3<0;1,0>:d -1:d \r
+\r
+ mov (1) f0.0:uw 0:uw // clear flag\r
+ //if (((int)(u_left*width + 5.0/256) > (int)(u_left*width))\r
+ cmp.g.f1.0 (1) null<1>:d r14.2:d r14.0:d\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ (f1.0) add (1) r17.2:f r17.2<0;1,0>:f -r2.3:f\r
+ //else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ (-f1.0) cmp.e.f0.0 (1) null<1>:d r14.3:d r14.0:d\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ (f0.0) add (1) r17.2:f r17.2<0;1,0>:f r2.2:f\r
+\r
+GEN7_PL3_AVS_WA_DONE_L0_1_:\r
+ mov (1) f0.0:uw r14.8:uw // restore f0.0\r
+\r
+\r
+ send (1) uwBUFFER_1(0)<1> r16 0x2 a0.0:ud\r
+ // Returns Y data in 4 GRFs in scrambled order\r
+\r
+ mov (1) r17.2:f r14.5:f // restore pixel 0 U for chroma, No AVS WA for chroma\r
+\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB801:ud // msg desc; 1 is added to change BI to UV\r
+ mov (1) r16.2:ud 0x0000E000:ud // Enable Red channel\r
+\r
+ send (1) uwBUFFER_1(4)<1> r16 0x2 a0.0:ud\r
+ // Returns U data in 4 GRFs in scrambled order\r
+\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EBC02:ud // msg desc; 1 is added to change BI to UV\r
+ mov (1) r16.2:ud 0x0000E000:ud // Enable Red channel\r
+\r
+ send (1) uwBUFFER_1(8)<1> r16 0x2 a0.0:ud\r
+ // Returns V data in 4 GRFs in scrambled order\r
+\r
+SKIP_AVS_LOAD_L0_1_:\r
+ nop\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 13 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-// FileName: PL3_AVS_Buf_2.asm
-// Author: Tatiya, Rupesh
-// Description: Loads 8x8 AVS/IEF PL3 data into Buffer 2
-
-
-// FileName : PL3_AVS_Buf.asm
-// Author : Tatiya, Rupesh
-// Description : Loads 8x8 AVS/IEF PL3 data into Buffer N
-
-
-// Module name: Scaling.inc
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
- // Message Header
- // m0.7 31:0 Debug
- // m0.6 31:0 Debug
- // m0.5 31:0 Ignored
- // m0.4 31:0 Ignored
- // m0.3 31:0 Ignored
- // m0.2 31:16 Ignored
- // 15 Alpha Write Channel Mask enable=0, disable=1
- // 14 Blue Write Channel Mask (U)
- // 13 Green Write Channel Mask (Y)
- // 12 Red Write Channel Mask (V)
- // 11:0 Ignored
- // m0.1 Ignored
- // m0.0 Ignored
-
-
- // AVS payload
- // m1.7 Group ID Number
- // m1.6 U 2nd Derivative ---> NLAS dx
- // m1.5 Delta V ---> Step Y
- // m1.4 Delta U ---> Step X
- // m1.3 Pixel 0 V Address ---> ORIY (Y0)
- // m1.2 Pixel 0 U Address ---> ORIX (X0)
- // m1.1 Vertical Block Number
- // m1.0 Reserved
-
- // Sampler Message Descriptor
- // 31:29 Reserved 000
- // 28:25 Message length 0010
- // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)
- // 19 Header Present 1
- // 18:17 SIMD Mode 11 ---> SIMD32/64
- // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)
- // 11:8 Sampler Index xxxx
- // 7:0 Binding Table Index xxxxxxxx
-
-
- // Msg Header M0.2
- // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back
- // 14:14 Blue Write Channel Mask
- // 13:13 Green Write Channel Mask
- // 12:12 Red Write Channel Mask
-
-
-//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7
-
-
-//used to generate LABELS at compile time.
-
-
- // 18:17 SIMD Mode 10 ---> SIMD16
- // 16:12 Message Type xxxxx ---> 00000 (SIMD16)
-
-
-//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)
-//r18-19 - 2 GRFs to store sampler ramp.
-
- .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
- .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub
-
-
- .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub
- .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
- // Sampler ramp is used for Scaling 0X_0.34X
- .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements
-
-
- //#define rMSGDSC_UV r23.0
-
-
-//End of _SCALING_
-
-
- //Check if layer is to be skipped
-
-
- // f0.1 pre-computed in Set_Layer_0
- (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_2_
-
-
- //AVS_PAYLOAD already has all the data loaded at this point
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB400:ud //msg desc
-
- mov (1) r16.2:ud 0x0000D000:ud // Enable Red channel
-
-
- // set the vertical block number
-
-
- add (1) r25.1<1>:ud r7.12:uw 2:ud
-
-
- mov (8) r17.0:ud r25.0<8;8,1>:ud // Copy msg payload mirrors to MRFs
-
- send (1) uwBUFFER_2(0)<1> r16 0x2 a0.0:ud
- // Returns Y data in 4 GRFs in scrambled order
-
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB801:ud // msg desc; 1 is added to change BI to UV
- mov (1) r16.2:ud 0x0000E000:ud // Enable Red channel
-
- send (1) uwBUFFER_2(4)<1> r16 0x2 a0.0:ud
- // Returns U data in 4 GRFs in scrambled order
-
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EBC02:ud // msg desc; 1 is added to change BI to UV
- mov (1) r16.2:ud 0x0000E000:ud // Enable Red channel
-
- send (1) uwBUFFER_2(8)<1> r16 0x2 a0.0:ud
- // Returns V data in 4 GRFs in scrambled order
-
-SKIP_AVS_LOAD_L0_2_:
- nop
-
-
+// 45 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+// FileName: PL3_AVS_Buf_2.asm\r
+// Author: Tatiya, Rupesh\r
+// Description: Loads 8x8 AVS/IEF PL3 data into Buffer 2\r
+\r
+\r
+\r
+// FileName : PL3_AVS_Buf.asm\r
+// Author : Tatiya, Rupesh\r
+// Description : Loads 8x8 AVS/IEF PL3 data into Buffer N\r
+\r
+\r
+\r
+// Module name: Scaling.inc\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+ // Message Header\r
+ // m0.7 31:0 Debug\r
+ // m0.6 31:0 Debug\r
+ // m0.5 31:0 Ignored\r
+ // m0.4 31:0 Ignored\r
+ // m0.3 31:0 Ignored\r
+ // m0.2 31:16 Ignored\r
+ // 15 Alpha Write Channel Mask enable=0, disable=1\r
+ // 14 Blue Write Channel Mask (U)\r
+ // 13 Green Write Channel Mask (Y)\r
+ // 12 Red Write Channel Mask (V)\r
+ // 11:0 Ignored\r
+ // m0.1 Ignored\r
+ // m0.0 Ignored\r
+\r
+\r
+ // AVS payload\r
+ // m1.7 Group ID Number\r
+ // m1.6 U 2nd Derivative ---> NLAS dx\r
+ // m1.5 Delta V ---> Step Y\r
+ // m1.4 Delta U ---> Step X\r
+ // m1.3 Pixel 0 V Address ---> ORIY (Y0)\r
+ // m1.2 Pixel 0 U Address ---> ORIX (X0)\r
+ // m1.1 Vertical Block Number\r
+ // m1.0 Reserved\r
+\r
+ // Sampler Message Descriptor\r
+ // 31:29 Reserved 000\r
+ // 28:25 Message length 0010\r
+ // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)\r
+ // 19 Header Present 1\r
+ // 18:17 SIMD Mode 11 ---> SIMD32/64\r
+ // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)\r
+ // 11:8 Sampler Index xxxx\r
+ // 7:0 Binding Table Index xxxxxxxx\r
+\r
+\r
+ // Msg Header M0.2\r
+ // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back\r
+ // 14:14 Blue Write Channel Mask\r
+ // 13:13 Green Write Channel Mask\r
+ // 12:12 Red Write Channel Mask\r
+\r
+\r
+//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7\r
+\r
+\r
+//used to generate LABELS at compile time.\r
+\r
+\r
+ // 18:17 SIMD Mode 10 ---> SIMD16\r
+ // 16:12 Message Type xxxxx ---> 00000 (SIMD16)\r
+\r
+\r
+//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)\r
+//r18-19 - 2 GRFs to store sampler ramp.\r
+\r
+ .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+ .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub\r
+\r
+\r
+ .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub\r
+ .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+ // Sampler ramp is used for Scaling 0X_0.34X\r
+ .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements\r
+\r
+\r
+ //#define rMSGDSC_UV r23.0\r
+\r
+\r
+//End of _SCALING_\r
+\r
+\r
+ //Check if layer is to be skipped\r
+\r
+\r
+ // f0.1 pre-computed in Set_Layer_0\r
+ (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_2_\r
+\r
+\r
+ //AVS_PAYLOAD already has all the data loaded at this point\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB400:ud //msg desc\r
+\r
+ mov (1) r16.2:ud 0x0000D000:ud // Enable Red channel\r
+\r
+\r
+ // set the vertical block number\r
+\r
+\r
+ add (1) r25.1<1>:ud r7.12:uw 2:ud\r
+\r
+\r
+ mov (8) r17.0:ud r25.0<8;8,1>:ud // Copy msg payload mirrors to MRFs\r
+\r
+ // Gen7 AVS WA Only for YUV packed surfaces, NV12 and Y-channel only for Planar surfaces\r
+ // if (((int)(u_left*width + 5.0/256) > (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ // }\r
+ // else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ // }\r
+ // else{\r
+ // modified_u_coord = u_coord;\r
+ // }\r
+ // Where u_left = u – 2*du + 3*ddu for IEF On\r
+ // And u_left = u for IEF Off case\r
+ // \r
+\r
+ // check whether Gen7 AVS WA is enabled,\r
+ mov (1) r14.8:uw f0.0:uw // save f0.0\r
+ mov (1) r14.5:f r17.2<0;1,0>:f // save pixel 0 U for chroma\r
+\r
+ and.nz.f0.0 (1) null<1>:uw r2.3:uw 0x2:uw\r
+ (-f0.0)jmpi (1) GEN7_PL3_AVS_WA_DONE_L0_2_\r
+\r
+ // Gen7 AVS WA, check if IEF is ON for choosing Gen7 AVS WA formula\r
+\r
+ and.nz.f0.0 (8) null<1>:uw r2.3<0;1,0>:uw 0x4:uw\r
+ (f0.0)mov (8) acc0.0:f r17.2<0;1,0>:f\r
+ (f0.0)mac (8) acc0.0:f r17.4<0;1,0>:f -2.0:f\r
+ (f0.0)mac (8) acc0.0:f r17.6<0;1,0>:f 3.0:f\r
+ (f0.0)mov (1) r14.2:f acc0:f // IEF ON, rTEMP3.2 = u_left\r
+ (-f0.0)mov (1) r14.2:f r17.2<0;1,0>:f // IEF OFF, rTEMP3.2 = u_left\r
+\r
+ and (1) r14.1:ud r2.3:uw 0xFFF8:uw\r
+ asr (1) r14.1:ud r14.1:ud 3:d\r
+ mov (1) r14.1:f r14.1:ud\r
+\r
+ // Gen7 AVS WA, if (int)(u_left*width + 5.0/256) > (int)(u_left*width)\r
+ mul (1) r14.0:f r14.2:f r14.1:f // rTEMP3.0 = u_left*width\r
+ add (1) r14.2:f r14.0:f 0.01953125:f // rTEMP3.2 = u_left*width + 5.0/256\r
+ add (1) r14.3:f r14.0:f 0.99609375:f // rTEMP3.3 = u_left*width + 255.0/256\r
+\r
+ //Check if the values are < 0 and account for (int) cast of negative numbers\r
+\r
+ //(int)(u_left*width)\r
+ cmp.l.f0.0 (1) null<1>:f r14.0:f 0.00000000:f \r
+ mov (1) r14.0:d r14.0:f\r
+ (f0.0)add (1) r14.0:d r14.0<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 5.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.2:f 0.00000000:f \r
+ mov (1) r14.2:d r14.2:f \r
+ (f0.0)add (1) r14.2:d r14.2<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 255.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.3:f 0.00000000:f \r
+ mov (1) r14.3:d r14.3:f\r
+ (f0.0)add (1) r14.3:d r14.3<0;1,0>:d -1:d \r
+\r
+ mov (1) f0.0:uw 0:uw // clear flag\r
+ //if (((int)(u_left*width + 5.0/256) > (int)(u_left*width))\r
+ cmp.g.f1.0 (1) null<1>:d r14.2:d r14.0:d\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ (f1.0) add (1) r17.2:f r17.2<0;1,0>:f -r2.3:f\r
+ //else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ (-f1.0) cmp.e.f0.0 (1) null<1>:d r14.3:d r14.0:d\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ (f0.0) add (1) r17.2:f r17.2<0;1,0>:f r2.2:f\r
+\r
+GEN7_PL3_AVS_WA_DONE_L0_2_:\r
+ mov (1) f0.0:uw r14.8:uw // restore f0.0\r
+\r
+\r
+ send (1) uwBUFFER_2(0)<1> r16 0x2 a0.0:ud\r
+ // Returns Y data in 4 GRFs in scrambled order\r
+\r
+ mov (1) r17.2:f r14.5:f // restore pixel 0 U for chroma, No AVS WA for chroma\r
+\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB801:ud // msg desc; 1 is added to change BI to UV\r
+ mov (1) r16.2:ud 0x0000E000:ud // Enable Red channel\r
+\r
+ send (1) uwBUFFER_2(4)<1> r16 0x2 a0.0:ud\r
+ // Returns U data in 4 GRFs in scrambled order\r
+\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EBC02:ud // msg desc; 1 is added to change BI to UV\r
+ mov (1) r16.2:ud 0x0000E000:ud // Enable Red channel\r
+\r
+ send (1) uwBUFFER_2(8)<1> r16 0x2 a0.0:ud\r
+ // Returns V data in 4 GRFs in scrambled order\r
+\r
+SKIP_AVS_LOAD_L0_2_:\r
+ nop\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 13 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-// FileName: PL3_AVS_Buf_3.asm
-// Author: Tatiya, Rupesh
-// Description: Loads 8x8 AVS/IEF PL3 data into Buffer 3
-
-
-// FileName : PL3_AVS_Buf.asm
-// Author : Tatiya, Rupesh
-// Description : Loads 8x8 AVS/IEF PL3 data into Buffer N
-
-
-// Module name: Scaling.inc
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
- // Message Header
- // m0.7 31:0 Debug
- // m0.6 31:0 Debug
- // m0.5 31:0 Ignored
- // m0.4 31:0 Ignored
- // m0.3 31:0 Ignored
- // m0.2 31:16 Ignored
- // 15 Alpha Write Channel Mask enable=0, disable=1
- // 14 Blue Write Channel Mask (U)
- // 13 Green Write Channel Mask (Y)
- // 12 Red Write Channel Mask (V)
- // 11:0 Ignored
- // m0.1 Ignored
- // m0.0 Ignored
-
-
- // AVS payload
- // m1.7 Group ID Number
- // m1.6 U 2nd Derivative ---> NLAS dx
- // m1.5 Delta V ---> Step Y
- // m1.4 Delta U ---> Step X
- // m1.3 Pixel 0 V Address ---> ORIY (Y0)
- // m1.2 Pixel 0 U Address ---> ORIX (X0)
- // m1.1 Vertical Block Number
- // m1.0 Reserved
-
- // Sampler Message Descriptor
- // 31:29 Reserved 000
- // 28:25 Message length 0010
- // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)
- // 19 Header Present 1
- // 18:17 SIMD Mode 11 ---> SIMD32/64
- // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)
- // 11:8 Sampler Index xxxx
- // 7:0 Binding Table Index xxxxxxxx
-
-
- // Msg Header M0.2
- // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back
- // 14:14 Blue Write Channel Mask
- // 13:13 Green Write Channel Mask
- // 12:12 Red Write Channel Mask
-
-
-//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7
-
-
-//used to generate LABELS at compile time.
-
-
- // 18:17 SIMD Mode 10 ---> SIMD16
- // 16:12 Message Type xxxxx ---> 00000 (SIMD16)
-
-
-//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)
-//r18-19 - 2 GRFs to store sampler ramp.
-
- .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
- .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub
-
-
- .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
- .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
- .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub
- .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
- // Sampler ramp is used for Scaling 0X_0.34X
- .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements
-
-
- //#define rMSGDSC_UV r23.0
-
-
-//End of _SCALING_
-
-
- //Check if layer is to be skipped
-
-
- // f0.1 pre-computed in Set_Layer_0
- (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_3_
-
-
- //AVS_PAYLOAD already has all the data loaded at this point
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB400:ud //msg desc
-
- mov (1) r16.2:ud 0x0000D000:ud // Enable Red channel
-
-
- // set the vertical block number
-
-
- add (1) r25.1<1>:ud r7.12:uw 3:ud
-
-
- mov (8) r17.0:ud r25.0<8;8,1>:ud // Copy msg payload mirrors to MRFs
-
- send (1) uwBUFFER_3(0)<1> r16 0x2 a0.0:ud
- // Returns Y data in 4 GRFs in scrambled order
-
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB801:ud // msg desc; 1 is added to change BI to UV
- mov (1) r16.2:ud 0x0000E000:ud // Enable Red channel
-
- send (1) uwBUFFER_3(4)<1> r16 0x2 a0.0:ud
- // Returns U data in 4 GRFs in scrambled order
-
- add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EBC02:ud // msg desc; 1 is added to change BI to UV
- mov (1) r16.2:ud 0x0000E000:ud // Enable Red channel
-
- send (1) uwBUFFER_3(8)<1> r16 0x2 a0.0:ud
- // Returns V data in 4 GRFs in scrambled order
-
-SKIP_AVS_LOAD_L0_3_:
- nop
-
-
+// 45 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+// FileName: PL3_AVS_Buf_3.asm\r
+// Author: Tatiya, Rupesh\r
+// Description: Loads 8x8 AVS/IEF PL3 data into Buffer 3\r
+\r
+\r
+\r
+// FileName : PL3_AVS_Buf.asm\r
+// Author : Tatiya, Rupesh\r
+// Description : Loads 8x8 AVS/IEF PL3 data into Buffer N\r
+\r
+\r
+\r
+// Module name: Scaling.inc\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+ // Message Header\r
+ // m0.7 31:0 Debug\r
+ // m0.6 31:0 Debug\r
+ // m0.5 31:0 Ignored\r
+ // m0.4 31:0 Ignored\r
+ // m0.3 31:0 Ignored\r
+ // m0.2 31:16 Ignored\r
+ // 15 Alpha Write Channel Mask enable=0, disable=1\r
+ // 14 Blue Write Channel Mask (U)\r
+ // 13 Green Write Channel Mask (Y)\r
+ // 12 Red Write Channel Mask (V)\r
+ // 11:0 Ignored\r
+ // m0.1 Ignored\r
+ // m0.0 Ignored\r
+\r
+\r
+ // AVS payload\r
+ // m1.7 Group ID Number\r
+ // m1.6 U 2nd Derivative ---> NLAS dx\r
+ // m1.5 Delta V ---> Step Y\r
+ // m1.4 Delta U ---> Step X\r
+ // m1.3 Pixel 0 V Address ---> ORIY (Y0)\r
+ // m1.2 Pixel 0 U Address ---> ORIX (X0)\r
+ // m1.1 Vertical Block Number\r
+ // m1.0 Reserved\r
+\r
+ // Sampler Message Descriptor\r
+ // 31:29 Reserved 000\r
+ // 28:25 Message length 0010\r
+ // 24:20 Response length xxxxx ---> 4GRFs for each enabled channel (AVS), 2GRFs for each enabled channel (sample unorm)\r
+ // 19 Header Present 1\r
+ // 18:17 SIMD Mode 11 ---> SIMD32/64\r
+ // 16:12 Message Type xxxxx ---> 01011 sample_8x8, 01100 (sample_unorm), 01010 (sample_unorm+killpix)\r
+ // 11:8 Sampler Index xxxx\r
+ // 7:0 Binding Table Index xxxxxxxx\r
+\r
+\r
+ // Msg Header M0.2\r
+ // 15:15 Alpha Write Channel Mask, 0: written back, 1: not written back\r
+ // 14:14 Blue Write Channel Mask\r
+ // 13:13 Green Write Channel Mask\r
+ // 12:12 Red Write Channel Mask\r
+\r
+\r
+//By design, Buffer 0,1,2,3 always have Layer 0 and Buffer 4,5 always have L1-L7\r
+\r
+\r
+//used to generate LABELS at compile time.\r
+\r
+\r
+ // 18:17 SIMD Mode 10 ---> SIMD16\r
+ // 16:12 Message Type xxxxx ---> 00000 (SIMD16)\r
+\r
+\r
+//r10-17 - 8 GRFs to load SIMD16 data (upto 4 channels)\r
+//r18-19 - 2 GRFs to store sampler ramp.\r
+\r
+ .declare mfSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare muwSCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+ .declare mudCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare mubCALING_0X_34X_PAYLOAD Base=r14.0 ElementSize=1 SrcRegion=<32;32,1> DstRegion=<1> Type=ub\r
+\r
+\r
+ .declare fSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+ .declare udSCALING_0X_34X_TEMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+ .declare ub4SCALING_0X_34X_TEMP Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<1> Type=ub\r
+ .declare uwSCALING_0X_34X_TEMP Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+ // Sampler ramp is used for Scaling 0X_0.34X\r
+ .declare fSAMPLER_RAMP Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> Type=f // 1 GRFs, 8 elements\r
+\r
+\r
+ //#define rMSGDSC_UV r23.0\r
+\r
+\r
+//End of _SCALING_\r
+\r
+\r
+ //Check if layer is to be skipped\r
+\r
+\r
+ // f0.1 pre-computed in Set_Layer_0\r
+ (-f0.1) jmpi (1) SKIP_AVS_LOAD_L0_3_\r
+\r
+\r
+ //AVS_PAYLOAD already has all the data loaded at this point\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB400:ud //msg desc\r
+\r
+ mov (1) r16.2:ud 0x0000D000:ud // Enable Red channel\r
+\r
+\r
+ // set the vertical block number\r
+\r
+\r
+ add (1) r25.1<1>:ud r7.12:uw 3:ud\r
+\r
+\r
+ mov (8) r17.0:ud r25.0<8;8,1>:ud // Copy msg payload mirrors to MRFs\r
+\r
+ // Gen7 AVS WA Only for YUV packed surfaces, NV12 and Y-channel only for Planar surfaces\r
+ // if (((int)(u_left*width + 5.0/256) > (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ // }\r
+ // else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ // {\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ // }\r
+ // else{\r
+ // modified_u_coord = u_coord;\r
+ // }\r
+ // Where u_left = u – 2*du + 3*ddu for IEF On\r
+ // And u_left = u for IEF Off case\r
+ // \r
+\r
+ // check whether Gen7 AVS WA is enabled,\r
+ mov (1) r14.8:uw f0.0:uw // save f0.0\r
+ mov (1) r14.5:f r17.2<0;1,0>:f // save pixel 0 U for chroma\r
+\r
+ and.nz.f0.0 (1) null<1>:uw r2.3:uw 0x2:uw\r
+ (-f0.0)jmpi (1) GEN7_PL3_AVS_WA_DONE_L0_3_\r
+\r
+ // Gen7 AVS WA, check if IEF is ON for choosing Gen7 AVS WA formula\r
+\r
+ and.nz.f0.0 (8) null<1>:uw r2.3<0;1,0>:uw 0x4:uw\r
+ (f0.0)mov (8) acc0.0:f r17.2<0;1,0>:f\r
+ (f0.0)mac (8) acc0.0:f r17.4<0;1,0>:f -2.0:f\r
+ (f0.0)mac (8) acc0.0:f r17.6<0;1,0>:f 3.0:f\r
+ (f0.0)mov (1) r14.2:f acc0:f // IEF ON, rTEMP3.2 = u_left\r
+ (-f0.0)mov (1) r14.2:f r17.2<0;1,0>:f // IEF OFF, rTEMP3.2 = u_left\r
+\r
+ and (1) r14.1:ud r2.3:uw 0xFFF8:uw\r
+ asr (1) r14.1:ud r14.1:ud 3:d\r
+ mov (1) r14.1:f r14.1:ud\r
+\r
+ // Gen7 AVS WA, if (int)(u_left*width + 5.0/256) > (int)(u_left*width)\r
+ mul (1) r14.0:f r14.2:f r14.1:f // rTEMP3.0 = u_left*width\r
+ add (1) r14.2:f r14.0:f 0.01953125:f // rTEMP3.2 = u_left*width + 5.0/256\r
+ add (1) r14.3:f r14.0:f 0.99609375:f // rTEMP3.3 = u_left*width + 255.0/256\r
+\r
+ //Check if the values are < 0 and account for (int) cast of negative numbers\r
+\r
+ //(int)(u_left*width)\r
+ cmp.l.f0.0 (1) null<1>:f r14.0:f 0.00000000:f \r
+ mov (1) r14.0:d r14.0:f\r
+ (f0.0)add (1) r14.0:d r14.0<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 5.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.2:f 0.00000000:f \r
+ mov (1) r14.2:d r14.2:f \r
+ (f0.0)add (1) r14.2:d r14.2<0;1,0>:d -1:d \r
+\r
+ //(int)(u_left*width + 255.0/256)\r
+ cmp.l.f0.0 (1) null<1>:f r14.3:f 0.00000000:f \r
+ mov (1) r14.3:d r14.3:f\r
+ (f0.0)add (1) r14.3:d r14.3<0;1,0>:d -1:d \r
+\r
+ mov (1) f0.0:uw 0:uw // clear flag\r
+ //if (((int)(u_left*width + 5.0/256) > (int)(u_left*width))\r
+ cmp.g.f1.0 (1) null<1>:d r14.2:d r14.0:d\r
+ // modified_u_coord = u_coord – 5.0/(256*width); //floating point\r
+ (f1.0) add (1) r17.2:f r17.2<0;1,0>:f -r2.3:f\r
+ //else if(((int)(u_left*width + 255.0/256) == (int)(u_left*width)) \r
+ (-f1.0) cmp.e.f0.0 (1) null<1>:d r14.3:d r14.0:d\r
+ // modified_u_coord = u_coord + 1.0/(256*width); //floating point\r
+ (f0.0) add (1) r17.2:f r17.2<0;1,0>:f r2.2:f\r
+\r
+GEN7_PL3_AVS_WA_DONE_L0_3_:\r
+ mov (1) f0.0:uw r14.8:uw // restore f0.0\r
+\r
+\r
+ send (1) uwBUFFER_3(0)<1> r16 0x2 a0.0:ud\r
+ // Returns Y data in 4 GRFs in scrambled order\r
+\r
+ mov (1) r17.2:f r14.5:f // restore pixel 0 U for chroma, No AVS WA for chroma\r
+\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EB801:ud // msg desc; 1 is added to change BI to UV\r
+ mov (1) r16.2:ud 0x0000E000:ud // Enable Red channel\r
+\r
+ send (1) uwBUFFER_3(4)<1> r16 0x2 a0.0:ud\r
+ // Returns U data in 4 GRFs in scrambled order\r
+\r
+ add (1) a0.0:ud r23.5<0;1,0>:ud 0x44EBC02:ud // msg desc; 1 is added to change BI to UV\r
+ mov (1) r16.2:ud 0x0000E000:ud // Enable Red channel\r
+\r
+ send (1) uwBUFFER_3(8)<1> r16 0x2 a0.0:ud\r
+ // Returns V data in 4 GRFs in scrambled order\r
+\r
+SKIP_AVS_LOAD_L0_3_:\r
+ nop\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 93 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-// Module name: Save_AVS_NV12.asm
-//
-// Save NV12 420 frame data block of size 16x16
-//
-// To save 16x16 block (16x16 bytes of Y and 16x8 bytes of interleaved UV), we need 2 send instructions with of size 16x16 and 16x8 each.
-// ---------------
-// | 16x16 |
-// | YUYV |
-// ---------------
-// | 16x8 UV |
-// ---------------
-
-//-----------------------------------------------------------------
-//The layout of data is as follows:
-//mMSGHDR0 : Y data header (16x16)
-//mubMSGPAYLOAD0 : Y data payload (8 GRFs)
-//mMSGHDR1 : U data header (16x8)
-//mubMSGPAYLOAD1 : U data payload (4 GRFs)
-//------------------------------------------------------------------
-
-
-// Module name: Save.inc
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
-//Msg payload buffers; upto 4 full-size messages can be written
-
-
-.declare muwMSGPAYLOAD0 Base=r29.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare muwMSGPAYLOAD1 Base=r38.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare muwMSGPAYLOAD2 Base=r47.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare muwMSGPAYLOAD3 Base=r56.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-
-.declare mubMSGPAYLOAD0 Base=r29.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare mubMSGPAYLOAD1 Base=r38.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare mubMSGPAYLOAD2 Base=r47.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare mubMSGPAYLOAD3 Base=r56.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-
-
-//_SAVE_INC_
-
-
- // At the save module we have all 8 address sub-registers available.
- // So we will use PING-PONG type of scheme to save the data using
- // pointers pBUF_CHNL_TOP_8x4 and pBUF_CHNL_BOT_8x4. This will help
- // reduce dependency. - rT
-
- //wBUFF_CHNL_PTR points to either buffer 0 or buffer 4.
- //Add appropriate offsets to get pointers for all buffers (1,2,3 or 5).
- //Offsets are zero for buffer 0 and buffer 4.
- add (4) a0.0:uw r22.0<4;4,1>:w 0:uw
- add (4) a0.4:uw r22.0<4;4,1>:w 512:uw
-
- //Set up header for Y,U and V data
- mov (8) r28<1>:ud r27<8;8,1>:ud
- mov (8) r37<1>:ud r27<8;8,1>:ud
-
- mov (2) r28.0<1>:d r7.0<2;2,1>:w { NoDDClr } //ORI Y (LUMA) = ORI
- mov (1) r37.0<1>:d r7.0<0;1,0>:w { NoDDClr } //H ORI (CHROMA) = H ORI
- shr (1) r37.1<1>:d r7.1<0;1,0>:w 1:w { NoDDClr, NoDDChk } //V ORI (CHROMA) = V ORI/2
-
- mov (1) r28.2<1>:ud 0xF000F:ud { NoDDChk } // Y Block width and height (16x16)
- mov (1) r37.2<1>:ud 0x7000F:ud { NoDDChk } // UV Block width and height(16x8)
-
-// Unscramble, and pack data directly to MRFs
-
-// Data 16x16 block is divided as -
-// ---------
-// | 0 |
-// ---------
-// | 1 |
-// ---------
-// | 2 |
-// ---------
-// | 3 |
-// ---------
-// All sub-blocks are of size 16x4
-// 0: ubBUFFER_0
-// 1: ubBUFFER_1, ubBUFFER_0+16
-// 2: ubBUFFER_2
-// 3: ubBUFFER_3, ubBUFFER_2+16
-
-
-//Add rounding operations to all the buffers.
- add.sat (16) uwBUFFER_0(0)<1> uwBUFFER_0(0)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(1)<1> uwBUFFER_0(1)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(4)<1> uwBUFFER_0(4)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(5)<1> uwBUFFER_0(5)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(6)<1> uwBUFFER_0(6)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(7)<1> uwBUFFER_0(7)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(8)<1> uwBUFFER_0(8)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(9)<1> uwBUFFER_0(9)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(12)<1> uwBUFFER_0(12)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(13)<1> uwBUFFER_0(13)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(14)<1> uwBUFFER_0(14)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(15)<1> uwBUFFER_0(15)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(16)<1> uwBUFFER_0(16)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(17)<1> uwBUFFER_0(17)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(20)<1> uwBUFFER_0(20)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(21)<1> uwBUFFER_0(21)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(22)<1> uwBUFFER_0(22)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(23)<1> uwBUFFER_0(23)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(24)<1> uwBUFFER_0(24)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(25)<1> uwBUFFER_0(25)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(28)<1> uwBUFFER_0(28)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(29)<1> uwBUFFER_0(29)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(30)<1> uwBUFFER_0(30)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(31)<1> uwBUFFER_0(31)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(32)<1> uwBUFFER_0(32)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(33)<1> uwBUFFER_0(33)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(36)<1> uwBUFFER_0(36)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(37)<1> uwBUFFER_0(37)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(38)<1> uwBUFFER_0(38)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(39)<1> uwBUFFER_0(39)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(40)<1> uwBUFFER_0(40)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(41)<1> uwBUFFER_0(41)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(44)<1> uwBUFFER_0(44)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(45)<1> uwBUFFER_0(45)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(46)<1> uwBUFFER_0(46)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(47)<1> uwBUFFER_0(47)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(48)<1> uwBUFFER_0(48)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(49)<1> uwBUFFER_0(49)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(52)<1> uwBUFFER_0(52)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(53)<1> uwBUFFER_0(53)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(54)<1> uwBUFFER_0(54)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(55)<1> uwBUFFER_0(55)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(56)<1> uwBUFFER_0(56)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(57)<1> uwBUFFER_0(57)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(60)<1> uwBUFFER_0(60)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(61)<1> uwBUFFER_0(61)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(62)<1> uwBUFFER_0(62)<16;16,1> 0x0080:uw
- add.sat (16) uwBUFFER_0(63)<1> uwBUFFER_0(63)<16;16,1> 0x0080:uw
-
-
-//Buffer 0
-//Move Y to msg payload
- mov (16) mubMSGPAYLOAD0(0,0)<1> r[a0.1, 1]<32;16,2>:ub { NoDDClr }
- mov (16) mubMSGPAYLOAD0(0,16)<1> r[a0.1, 33]<32;16,2>:ub { NoDDChk }
- mov (16) mubMSGPAYLOAD0(1,0)<1> r[a0.1, 65]<32;16,2>:ub { NoDDClr }
- mov (16) mubMSGPAYLOAD0(1,16)<1> r[a0.1, 97]<32;16,2>:ub { NoDDChk }
-
-//Move U to msg payload
- mov (8) mubMSGPAYLOAD1(0,0)<2> r[a0.2, 1]<32;8,4>:ub { NoDDClr }
- mov (8) mubMSGPAYLOAD1(0,16)<2> r[a0.2, 65]<32;8,4>:ub { NoDDClr, NoDDChk }
-
-//Move V to msg payload
- mov (8) mubMSGPAYLOAD1(0,1)<2> r[a0.0, 1]<32;8,4>:ub { NoDDClr, NoDDChk }
- mov (8) mubMSGPAYLOAD1(0,17)<2> r[a0.0, 65]<32;8,4>:ub { NoDDChk }
-
- add (4) a0.0:uw r22.0<4;4,1>:w 1024:uw //Update Buffer 2 pointers
-
-//Buffer 1
- mov (16) mubMSGPAYLOAD0(2,0)<1> r[a0.5, 1]<32;16,2>:ub { NoDDClr }
- mov (16) mubMSGPAYLOAD0(2,16)<1> r[a0.5, 33]<32;16,2>:ub { NoDDChk }
- mov (16) mubMSGPAYLOAD0(3,0)<1> r[a0.5, 65]<32;16,2>:ub { NoDDClr }
- mov (16) mubMSGPAYLOAD0(3,16)<1> r[a0.5, 97]<32;16,2>:ub { NoDDChk }
-
- mov (8) mubMSGPAYLOAD1(1,0)<2> r[a0.6, 1]<32;8,4>:ub { NoDDClr }
- mov (8) mubMSGPAYLOAD1(1,16)<2> r[a0.6, 65]<32;8,4>:ub { NoDDClr, NoDDChk }
-
- mov (8) mubMSGPAYLOAD1(1,1)<2> r[a0.4, 1]<32;8,4>:ub { NoDDClr, NoDDChk }
- mov (8) mubMSGPAYLOAD1(1,17)<2> r[a0.4, 65]<32;8,4>:ub { NoDDChk }
-
- add (4) a0.4:uw r22.0<4;4,1>:w 1536:uw //Update Buffer 3 pointers
-
-//Buffer 2
- mov (16) mubMSGPAYLOAD0(4,0)<1> r[a0.1, 1]<32;16,2>:ub { NoDDClr }
- mov (16) mubMSGPAYLOAD0(4,16)<1> r[a0.1, 33]<32;16,2>:ub { NoDDChk }
- mov (16) mubMSGPAYLOAD0(5,0)<1> r[a0.1, 65]<32;16,2>:ub { NoDDClr }
- mov (16) mubMSGPAYLOAD0(5,16)<1> r[a0.1, 97]<32;16,2>:ub { NoDDChk }
-
- mov (8) mubMSGPAYLOAD1(2,0)<2> r[a0.2, 1]<32;8,4>:ub { NoDDClr }
- mov (8) mubMSGPAYLOAD1(2,16)<2> r[a0.2, 65]<32;8,4>:ub { NoDDClr, NoDDChk }
-
- mov (8) mubMSGPAYLOAD1(2,1)<2> r[a0.0, 1]<32;8,4>:ub { NoDDClr, NoDDChk }
- mov (8) mubMSGPAYLOAD1(2,17)<2> r[a0.0, 65]<32;8,4>:ub { NoDDChk }
-
-//Buffer 3
- mov (16) mubMSGPAYLOAD0(6,0)<1> r[a0.5, 1]<32;16,2>:ub { NoDDClr }
- mov (16) mubMSGPAYLOAD0(6,16)<1> r[a0.5, 33]<32;16,2>:ub { NoDDChk }
- mov (16) mubMSGPAYLOAD0(7,0)<1> r[a0.5, 65]<32;16,2>:ub { NoDDClr }
- mov (16) mubMSGPAYLOAD0(7,16)<1> r[a0.5, 97]<32;16,2>:ub { NoDDChk }
-
- mov (8) mubMSGPAYLOAD1(3,0)<2> r[a0.6, 1]<32;8,4>:ub { NoDDClr }
- mov (8) mubMSGPAYLOAD1(3,16)<2> r[a0.6, 65]<32;8,4>:ub { NoDDClr, NoDDChk }
-
- mov (8) mubMSGPAYLOAD1(3,1)<2> r[a0.4, 1]<32;8,4>:ub { NoDDClr, NoDDChk }
- mov (8) mubMSGPAYLOAD1(3,17)<2> r[a0.4, 65]<32;8,4>:ub { NoDDChk }
-//===========================================================================
-
-send (1) null<1>:d r28 0x5 0x120A8018:ud
-send (1) null<1>:d r37 0x5 0xA0A8019:ud
+// 131 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+// Module name: Save_AVS_NV12.asm\r
+//\r
+// Save NV12 420 frame data block of size 16x16\r
+//\r
+// To save 16x16 block (16x16 bytes of Y and 16x8 bytes of interleaved UV), we need 2 send instructions with of size 16x16 and 16x8 each.\r
+// ---------------\r
+// | 16x16 |\r
+// | YUYV |\r
+// ---------------\r
+// | 16x8 UV |\r
+// ---------------\r
+\r
+//-----------------------------------------------------------------\r
+//The layout of data is as follows:\r
+//mMSGHDR0 : Y data header (16x16)\r
+//mubMSGPAYLOAD0 : Y data payload (8 GRFs)\r
+//mMSGHDR1 : U data header (16x8)\r
+//mubMSGPAYLOAD1 : U data payload (4 GRFs)\r
+//------------------------------------------------------------------\r
+\r
+\r
+\r
+// Module name: Save.inc\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+//Msg payload buffers; upto 4 full-size messages can be written\r
+\r
+\r
+.declare mudMSGPAYLOAD0 Base=r29.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mudMSGPAYLOAD1 Base=r38.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mudMSGPAYLOAD2 Base=r47.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mudMSGPAYLOAD3 Base=r56.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+\r
+.declare muwMSGPAYLOAD0 Base=r29.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare muwMSGPAYLOAD1 Base=r38.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare muwMSGPAYLOAD2 Base=r47.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare muwMSGPAYLOAD3 Base=r56.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+\r
+.declare mubMSGPAYLOAD0 Base=r29.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD1 Base=r38.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD2 Base=r47.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD3 Base=r56.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD4 Base=r32.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD5 Base=r41.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD6 Base=r50.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD7 Base=r59.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+\r
+\r
+ // the r17 register (nTEMP0) is originally defined from "Common.inc"\r
+ // instead of re-defining a nTEMP0 here, we use "SAVE_RGB" suffix for its naming\r
+\r
+ .declare uwTemp0 Base=r17.0 ElementSize=2 Type=uw\r
+\r
+\r
+//_SAVE_INC_\r
+\r
+\r
+ // At the save module we have all 8 address sub-registers available.\r
+ // So we will use PING-PONG type of scheme to save the data using\r
+ // pointers pBUF_CHNL_TOP_8x4 and pBUF_CHNL_BOT_8x4. This will help\r
+ // reduce dependency. - rT\r
+\r
+ //wBUFF_CHNL_PTR points to either buffer 0 or buffer 4.\r
+ //Add appropriate offsets to get pointers for all buffers (1,2,3 or 5).\r
+ //Offsets are zero for buffer 0 and buffer 4.\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 0:uw\r
+ add (4) a0.4:uw r22.0<4;4,1>:w 512:uw\r
+\r
+ //Set up header for Y,U and V data\r
+ mov (8) r28<1>:ud r27<8;8,1>:ud\r
+ mov (8) r37<1>:ud r27<8;8,1>:ud\r
+\r
+ mov (2) r28.0<1>:d r7.0<2;2,1>:w { NoDDClr } //ORI Y (LUMA) = ORI\r
+ mov (1) r37.0<1>:d r7.0<0;1,0>:w { NoDDClr } //H ORI (CHROMA) = H ORI\r
+ shr (1) r37.1<1>:d r7.1<0;1,0>:w 1:w { NoDDClr, NoDDChk } //V ORI (CHROMA) = V ORI/2\r
+\r
+ mov (1) r28.2<1>:ud 0xF000F:ud { NoDDChk } // Y Block width and height (16x16)\r
+ mov (1) r37.2<1>:ud 0x7000F:ud { NoDDChk } // UV Block width and height(16x8)\r
+\r
+// Unscramble, and pack data directly to MRFs\r
+\r
+// Data 16x16 block is divided as -\r
+// ---------\r
+// | 0 |\r
+// ---------\r
+// | 1 |\r
+// ---------\r
+// | 2 |\r
+// ---------\r
+// | 3 |\r
+// ---------\r
+// All sub-blocks are of size 16x4\r
+// 0: ubBUFFER_0\r
+// 1: ubBUFFER_1, ubBUFFER_0+16\r
+// 2: ubBUFFER_2\r
+// 3: ubBUFFER_3, ubBUFFER_2+16\r
+\r
+ //Y Rounding 16x4 top part\r
+ add.sat (16) r[a0.1,0]<1>:uw r[a0.1,0]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.1,32]<1>:uw r[a0.1,32]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.1,64]<1>:uw r[a0.1,64]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.1,96]<1>:uw r[a0.1,96]<16;16,1>:uw 0x0080:uw \r
+\r
+ // U Averaging and Rounding, 8x2 top part\r
+ shr (8) uwBUFFER_5(0,0)<2> r[a0.2,0]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(1,0)<2> r[a0.2,32]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(2,0)<2> r[a0.2,64]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(3,0)<2> r[a0.2,96]<16;8,2>:uw 1:w\r
+\r
+ add (8) uwBUFFER_5(0,0)<2> uwBUFFER_5(0,0)<16;8,2> uwBUFFER_5(1,0)<16;8,2>\r
+ add.sat (8) r[a0.2,0]<2>:uw uwBUFFER_5(0,0)<16;8,2> 0x0080:uw\r
+\r
+ add (8) uwBUFFER_5(2,0)<2> uwBUFFER_5(2,0)<16;8,2> uwBUFFER_5(3,0)<16;8,2>\r
+ add.sat (8) r[a0.2,64]<2>:uw uwBUFFER_5(2,0)<16;8,2> 0x0080:uw\r
+\r
+ // V Averaging and Rounding, 8x2 top part\r
+ shr (8) uwBUFFER_5(4,0)<2> r[a0.0,0]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(5,0)<2> r[a0.0,32]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(6,0)<2> r[a0.0,64]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(7,0)<2> r[a0.0,96]<16;8,2>:uw 1:w\r
+\r
+ add (8) uwBUFFER_5(4,0)<2> uwBUFFER_5(4,0)<16;8,2> uwBUFFER_5(5,0)<16;8,2>\r
+ add.sat (8) r[a0.0,0]<2>:uw uwBUFFER_5(4,0)<16;8,2> 0x0080:uw\r
+\r
+ add (8) uwBUFFER_5(6,0)<2> uwBUFFER_5(6,0)<16;8,2> uwBUFFER_5(7,0)<16;8,2>\r
+ add.sat (8) r[a0.0,64]<2>:uw uwBUFFER_5(6,0)<16;8,2> 0x0080:uw\r
+\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 1024:uw //Update Buffer 2 pointers\r
+\r
+ //Y Rounding, 16x4 bottom part\r
+ add.sat (16) r[a0.5,0]<1>:uw r[a0.5,0]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.5,32]<1>:uw r[a0.5,32]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.5,64]<1>:uw r[a0.5,64]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.5,96]<1>:uw r[a0.5,96]<16;16,1>:uw 0x0080:uw \r
+\r
+ // U Averaging and Rounding, 8x2 bottom part\r
+ shr (8) uwBUFFER_5(0,0)<2> r[a0.6,0]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(1,0)<2> r[a0.6,32]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(2,0)<2> r[a0.6,64]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(3,0)<2> r[a0.6,96]<16;8,2>:uw 1:w\r
+\r
+ add (8) uwBUFFER_5(0,0)<2> uwBUFFER_5(0,0)<16;8,2> uwBUFFER_5(1,0)<16;8,2>\r
+ add.sat (8) r[a0.6,0]<2>:uw uwBUFFER_5(0,0)<16;8,2> 0x0080:uw\r
+\r
+ add (8) uwBUFFER_5(2,0)<2> uwBUFFER_5(2,0)<16;8,2> uwBUFFER_5(3,0)<16;8,2>\r
+ add.sat (8) r[a0.6,64]<2>:uw uwBUFFER_5(2,0)<16;8,2> 0x0080:uw\r
+\r
+ // V Averaging and Rounding, 8x2 bottom part\r
+ shr (8) uwBUFFER_5(4,0)<2> r[a0.4,0]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(5,0)<2> r[a0.4,32]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(6,0)<2> r[a0.4,64]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(7,0)<2> r[a0.4,96]<16;8,2>:uw 1:w\r
+\r
+ add (8) uwBUFFER_5(4,0)<2> uwBUFFER_5(4,0)<16;8,2> uwBUFFER_5(5,0)<16;8,2>\r
+ add.sat (8) r[a0.4,0]<2>:uw uwBUFFER_5(4,0)<16;8,2> 0x0080:uw\r
+\r
+ add (8) uwBUFFER_5(6,0)<2> uwBUFFER_5(6,0)<16;8,2> uwBUFFER_5(7,0)<16;8,2>\r
+ add.sat (8) r[a0.4,64]<2>:uw uwBUFFER_5(6,0)<16;8,2> 0x0080:uw\r
+\r
+ add (4) a0.4:uw r22.0<4;4,1>:w 1536:uw //Update Buffer 3 pointers\r
+ //Y Rounding 16x4 top part\r
+ add.sat (16) r[a0.1,0]<1>:uw r[a0.1,0]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.1,32]<1>:uw r[a0.1,32]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.1,64]<1>:uw r[a0.1,64]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.1,96]<1>:uw r[a0.1,96]<16;16,1>:uw 0x0080:uw \r
+\r
+ // U Averaging and Rounding, 8x2 top part\r
+ shr (8) uwBUFFER_5(0,0)<2> r[a0.2,0]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(1,0)<2> r[a0.2,32]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(2,0)<2> r[a0.2,64]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(3,0)<2> r[a0.2,96]<16;8,2>:uw 1:w\r
+\r
+ add (8) uwBUFFER_5(0,0)<2> uwBUFFER_5(0,0)<16;8,2> uwBUFFER_5(1,0)<16;8,2>\r
+ add.sat (8) r[a0.2,0]<2>:uw uwBUFFER_5(0,0)<16;8,2> 0x0080:uw\r
+\r
+ add (8) uwBUFFER_5(2,0)<2> uwBUFFER_5(2,0)<16;8,2> uwBUFFER_5(3,0)<16;8,2>\r
+ add.sat (8) r[a0.2,64]<2>:uw uwBUFFER_5(2,0)<16;8,2> 0x0080:uw\r
+\r
+ // V Averaging and Rounding, 8x2 top part\r
+ shr (8) uwBUFFER_5(4,0)<2> r[a0.0,0]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(5,0)<2> r[a0.0,32]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(6,0)<2> r[a0.0,64]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(7,0)<2> r[a0.0,96]<16;8,2>:uw 1:w\r
+\r
+ add (8) uwBUFFER_5(4,0)<2> uwBUFFER_5(4,0)<16;8,2> uwBUFFER_5(5,0)<16;8,2>\r
+ add.sat (8) r[a0.0,0]<2>:uw uwBUFFER_5(4,0)<16;8,2> 0x0080:uw\r
+\r
+ add (8) uwBUFFER_5(6,0)<2> uwBUFFER_5(6,0)<16;8,2> uwBUFFER_5(7,0)<16;8,2>\r
+ add.sat (8) r[a0.0,64]<2>:uw uwBUFFER_5(6,0)<16;8,2> 0x0080:uw\r
+\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 1024:uw //Update Buffer 2 pointers\r
+\r
+ //Y Rounding, 16x4 bottom part\r
+ add.sat (16) r[a0.5,0]<1>:uw r[a0.5,0]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.5,32]<1>:uw r[a0.5,32]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.5,64]<1>:uw r[a0.5,64]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.5,96]<1>:uw r[a0.5,96]<16;16,1>:uw 0x0080:uw \r
+\r
+ // U Averaging and Rounding, 8x2 bottom part\r
+ shr (8) uwBUFFER_5(0,0)<2> r[a0.6,0]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(1,0)<2> r[a0.6,32]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(2,0)<2> r[a0.6,64]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(3,0)<2> r[a0.6,96]<16;8,2>:uw 1:w\r
+\r
+ add (8) uwBUFFER_5(0,0)<2> uwBUFFER_5(0,0)<16;8,2> uwBUFFER_5(1,0)<16;8,2>\r
+ add.sat (8) r[a0.6,0]<2>:uw uwBUFFER_5(0,0)<16;8,2> 0x0080:uw\r
+\r
+ add (8) uwBUFFER_5(2,0)<2> uwBUFFER_5(2,0)<16;8,2> uwBUFFER_5(3,0)<16;8,2>\r
+ add.sat (8) r[a0.6,64]<2>:uw uwBUFFER_5(2,0)<16;8,2> 0x0080:uw\r
+\r
+ // V Averaging and Rounding, 8x2 bottom part\r
+ shr (8) uwBUFFER_5(4,0)<2> r[a0.4,0]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(5,0)<2> r[a0.4,32]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(6,0)<2> r[a0.4,64]<16;8,2>:uw 1:w\r
+ shr (8) uwBUFFER_5(7,0)<2> r[a0.4,96]<16;8,2>:uw 1:w\r
+\r
+ add (8) uwBUFFER_5(4,0)<2> uwBUFFER_5(4,0)<16;8,2> uwBUFFER_5(5,0)<16;8,2>\r
+ add.sat (8) r[a0.4,0]<2>:uw uwBUFFER_5(4,0)<16;8,2> 0x0080:uw\r
+\r
+ add (8) uwBUFFER_5(6,0)<2> uwBUFFER_5(6,0)<16;8,2> uwBUFFER_5(7,0)<16;8,2>\r
+ add.sat (8) r[a0.4,64]<2>:uw uwBUFFER_5(6,0)<16;8,2> 0x0080:uw\r
+\r
+ add (4) a0.4:uw r22.0<4;4,1>:w 1536:uw //Update Buffer 3 pointers\r
+ // restore pBUF_CHNL_TOP_8x4 and pBUF_CHNL_BOT_8x4 registers\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 0:uw\r
+ add (4) a0.4:uw r22.0<4;4,1>:w 512:uw\r
+\r
+//Buffer 0\r
+//Move Y to msg payload\r
+ mov (16) mubMSGPAYLOAD0(0,0)<1> r[a0.1, 1]<32;16,2>:ub { NoDDClr }\r
+ mov (16) mubMSGPAYLOAD0(0,16)<1> r[a0.1, 33]<32;16,2>:ub { NoDDChk }\r
+ mov (16) mubMSGPAYLOAD0(1,0)<1> r[a0.1, 65]<32;16,2>:ub { NoDDClr }\r
+ mov (16) mubMSGPAYLOAD0(1,16)<1> r[a0.1, 97]<32;16,2>:ub { NoDDChk }\r
+\r
+//Move U to msg payload\r
+ mov (8) mubMSGPAYLOAD1(0,0)<2> r[a0.2, 1]<32;8,4>:ub { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD1(0,16)<2> r[a0.2, 65]<32;8,4>:ub { NoDDClr, NoDDChk }\r
+\r
+//Move V to msg payload\r
+ mov (8) mubMSGPAYLOAD1(0,1)<2> r[a0.0, 1]<32;8,4>:ub { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD1(0,17)<2> r[a0.0, 65]<32;8,4>:ub { NoDDChk }\r
+\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 1024:uw //Update Buffer 2 pointers\r
+\r
+//Buffer 1\r
+ mov (16) mubMSGPAYLOAD0(2,0)<1> r[a0.5, 1]<32;16,2>:ub { NoDDClr }\r
+ mov (16) mubMSGPAYLOAD0(2,16)<1> r[a0.5, 33]<32;16,2>:ub { NoDDChk }\r
+ mov (16) mubMSGPAYLOAD0(3,0)<1> r[a0.5, 65]<32;16,2>:ub { NoDDClr }\r
+ mov (16) mubMSGPAYLOAD0(3,16)<1> r[a0.5, 97]<32;16,2>:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD1(1,0)<2> r[a0.6, 1]<32;8,4>:ub { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD1(1,16)<2> r[a0.6, 65]<32;8,4>:ub { NoDDClr, NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD1(1,1)<2> r[a0.4, 1]<32;8,4>:ub { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD1(1,17)<2> r[a0.4, 65]<32;8,4>:ub { NoDDChk }\r
+\r
+ add (4) a0.4:uw r22.0<4;4,1>:w 1536:uw //Update Buffer 3 pointers\r
+\r
+//Buffer 2\r
+ mov (16) mubMSGPAYLOAD0(4,0)<1> r[a0.1, 1]<32;16,2>:ub { NoDDClr }\r
+ mov (16) mubMSGPAYLOAD0(4,16)<1> r[a0.1, 33]<32;16,2>:ub { NoDDChk }\r
+ mov (16) mubMSGPAYLOAD0(5,0)<1> r[a0.1, 65]<32;16,2>:ub { NoDDClr }\r
+ mov (16) mubMSGPAYLOAD0(5,16)<1> r[a0.1, 97]<32;16,2>:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD1(2,0)<2> r[a0.2, 1]<32;8,4>:ub { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD1(2,16)<2> r[a0.2, 65]<32;8,4>:ub { NoDDClr, NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD1(2,1)<2> r[a0.0, 1]<32;8,4>:ub { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD1(2,17)<2> r[a0.0, 65]<32;8,4>:ub { NoDDChk }\r
+\r
+//Buffer 3\r
+ mov (16) mubMSGPAYLOAD0(6,0)<1> r[a0.5, 1]<32;16,2>:ub { NoDDClr }\r
+ mov (16) mubMSGPAYLOAD0(6,16)<1> r[a0.5, 33]<32;16,2>:ub { NoDDChk }\r
+ mov (16) mubMSGPAYLOAD0(7,0)<1> r[a0.5, 65]<32;16,2>:ub { NoDDClr }\r
+ mov (16) mubMSGPAYLOAD0(7,16)<1> r[a0.5, 97]<32;16,2>:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD1(3,0)<2> r[a0.6, 1]<32;8,4>:ub { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD1(3,16)<2> r[a0.6, 65]<32;8,4>:ub { NoDDClr, NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD1(3,1)<2> r[a0.4, 1]<32;8,4>:ub { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD1(3,17)<2> r[a0.4, 65]<32;8,4>:ub { NoDDChk }\r
+//===========================================================================\r
+\r
+send (1) null<1>:d r28 0x5 0x120A8018:ud\r
+send (1) null<1>:d r37 0x5 0xA0A8019:ud\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 110 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-// Module name: Save_PA.asm
-//
-// Save PA 422 frame data block of size 16x16
-//
-// To save 16x16 block (32x16 bytes of YUYV) we need 2 send instructions with of size 16x16 each.
-// -------------------------------
-// | 16x16 | 16x16 |
-// | YUYV | YUYV |
-// -------------------------------
-
-
-// Module name: Save.inc
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
-//Msg payload buffers; upto 4 full-size messages can be written
-
-
-.declare muwMSGPAYLOAD0 Base=r29.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare muwMSGPAYLOAD1 Base=r38.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare muwMSGPAYLOAD2 Base=r47.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare muwMSGPAYLOAD3 Base=r56.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-
-.declare mubMSGPAYLOAD0 Base=r29.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare mubMSGPAYLOAD1 Base=r38.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare mubMSGPAYLOAD2 Base=r47.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare mubMSGPAYLOAD3 Base=r56.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-
-
-//_SAVE_INC_
-
-
- //wBUFF_CHNL_PTR points to buffer 0.
- //Add appropriate offsets to get pointers for all buffers (1,2,3).
- //Offset is zero for buffer 0.
- add (4) a0.0:uw r22.0<4;4,1>:w 0:uw
-
- //Set DEST pointers according to output packing i.e. YUYV, YVYU, UYVY, VYUY
- add (4) a0.4<1>:w r2.28<4;4,1>:ub 928:uw
-
- shl (1) r27.0<1>:d r7.0<0;1,0>:w 1:w { NoDDClr } // H. block origin need to be 2 times
- mov (1) r27.1<1>:d r7.1<0;1,0>:w { NoDDClr, NoDDChk } // Block origin (1st quadrant)
- mov (1) r27.2<1>:ud 0xF000F:ud { NoDDChk } // Block width and height (16x16)
-
- // 1st 16x4 block response
- // V 1st quarter left
- mov (4) r[a0.6, 0]<4>:ub r[a0.0, 1]<16;4,4>:ub { NoDDClr }
- mov (4) r[a0.6, 16]<4>:ub r[a0.0,33]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.6, 32]<4>:ub r[a0.0,65]<16;4,4>:ub { NoDDClr }
- mov (4) r[a0.6, 48]<4>:ub r[a0.0,97]<16;4,4>:ub { NoDDClr, NoDDChk }
-
- // Y 1st quarter left
- mov (8) r[a0.4, 0]<2>:ub r[a0.1, 1]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4, 16]<2>:ub r[a0.1,33]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4, 32]<2>:ub r[a0.1,65]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4, 48]<2>:ub r[a0.1,97]<16;8,2>:ub { NoDDClr, NoDDChk }
-
- // U 1st quarter left
- mov (4) r[a0.5, 0]<4>:ub r[a0.2, 1]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.5, 16]<4>:ub r[a0.2,33]<16;4,4>:ub { NoDDChk }
- mov (4) r[a0.5, 32]<4>:ub r[a0.2,65]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.5, 48]<4>:ub r[a0.2,97]<16;4,4>:ub { NoDDChk }
-
- // V 1st quarter right
- mov (4) r[a0.6,288]<4>:ub r[a0.0, 17]<16;4,4>:ub { NoDDClr }
- mov (4) r[a0.6,304]<4>:ub r[a0.0,49]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.6,320]<4>:ub r[a0.0,81]<16;4,4>:ub { NoDDClr }
- mov (4) r[a0.6,336]<4>:ub r[a0.0,113]<16;4,4>:ub { NoDDClr, NoDDChk }
-
- // Y 1st quarter right
- mov (8) r[a0.4,288]<2>:ub r[a0.1, 17]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4,304]<2>:ub r[a0.1,49]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4,320]<2>:ub r[a0.1,81]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4,336]<2>:ub r[a0.1,113]<16;8,2>:ub { NoDDClr, NoDDChk }
-
- // U 1st quarter right
- mov (4) r[a0.5,288]<4>:ub r[a0.2, 17]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.5,304]<4>:ub r[a0.2,49]<16;4,4>:ub { NoDDChk }
- mov (4) r[a0.5,320]<4>:ub r[a0.2,81]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.5,336]<4>:ub r[a0.2,113]<16;4,4>:ub { NoDDChk }
-
- // 2nd 16x4 block response
- add (4) a0.0:uw r22.0<4;4,1>:w 512:uw
-
-//-------
-mov (8) r28<1>:ud r27<8;8,1>:ud
-mov (8) r37<1>:ud r27<8;8,1>:ud
-//-------
-
- // V 2nd quarter left
- mov (4) r[a0.6, 64]<4>:ub r[a0.0, 1]<16;4,4>:ub { NoDDClr }
- mov (4) r[a0.6, 80]<4>:ub r[a0.0,33]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.6, 96]<4>:ub r[a0.0,65]<16;4,4>:ub { NoDDClr }
- mov (4) r[a0.6,112]<4>:ub r[a0.0,97]<16;4,4>:ub { NoDDClr, NoDDChk }
-
- // Y 2nd quarter left
- mov (8) r[a0.4, 64]<2>:ub r[a0.1, 1]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4, 80]<2>:ub r[a0.1,33]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4, 96]<2>:ub r[a0.1,65]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4,112]<2>:ub r[a0.1,97]<16;8,2>:ub { NoDDClr, NoDDChk }
-
- // U 2nd quarter left
- mov (4) r[a0.5, 64]<4>:ub r[a0.2, 1]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.5, 80]<4>:ub r[a0.2,33]<16;4,4>:ub { NoDDChk }
- mov (4) r[a0.5, 96]<4>:ub r[a0.2,65]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.5,112]<4>:ub r[a0.2,97]<16;4,4>:ub { NoDDChk }
-
- // V 2nd quarter right
- mov (4) r[a0.6,352]<4>:ub r[a0.0, 17]<16;4,4>:ub { NoDDClr }
- mov (4) r[a0.6,368]<4>:ub r[a0.0,49]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.6,384]<4>:ub r[a0.0,81]<16;4,4>:ub { NoDDClr }
- mov (4) r[a0.6,400]<4>:ub r[a0.0,113]<16;4,4>:ub { NoDDClr, NoDDChk }
-
- // Y 2nd quarter right
- mov (8) r[a0.4,352]<2>:ub r[a0.1, 17]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4,368]<2>:ub r[a0.1,49]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4,384]<2>:ub r[a0.1,81]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4,400]<2>:ub r[a0.1,113]<16;8,2>:ub { NoDDClr, NoDDChk }
-
- // U 2nd quarter right
- mov (4) r[a0.5,352]<4>:ub r[a0.2, 17]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.5,368]<4>:ub r[a0.2,49]<16;4,4>:ub { NoDDChk }
- mov (4) r[a0.5,384]<4>:ub r[a0.2,81]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.5,400]<4>:ub r[a0.2,113]<16;4,4>:ub { NoDDChk }
-
- // 3rd 16x4 block response
- add (4) a0.0:uw r22.0<4;4,1>:w 1024:uw
-
-//----------
-//Set DEST pointers according to output packing i.e. YUYV, YVYU, UYVY, VYUY
-add (4) a0.4<1>:w r2.28<4;4,1>:ub 1056:uw
-add (1) r37.0<1>:d r27.0<0;1,0>:d 16:d // Point to 2nd part
-//----------
-
- // V 3rd quarter left
- mov (4) r[a0.6, 0]<4>:ub r[a0.0, 1]<16;4,4>:ub { NoDDClr }
- mov (4) r[a0.6, 16]<4>:ub r[a0.0,33]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.6, 32]<4>:ub r[a0.0,65]<16;4,4>:ub { NoDDClr }
- mov (4) r[a0.6, 48]<4>:ub r[a0.0,97]<16;4,4>:ub { NoDDClr, NoDDChk }
-
- // Y 3rd quarter left
- mov (8) r[a0.4, 0]<2>:ub r[a0.1, 1]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4, 16]<2>:ub r[a0.1,33]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4, 32]<2>:ub r[a0.1,65]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4, 48]<2>:ub r[a0.1,97]<16;8,2>:ub { NoDDClr, NoDDChk }
-
- // U 3rd quarter left
- mov (4) r[a0.5, 0]<4>:ub r[a0.2, 1]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.5, 16]<4>:ub r[a0.2,33]<16;4,4>:ub { NoDDChk }
- mov (4) r[a0.5, 32]<4>:ub r[a0.2,65]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.5, 48]<4>:ub r[a0.2,97]<16;4,4>:ub { NoDDChk }
-
- // V 3rd quarter right
- mov (4) r[a0.6,288]<4>:ub r[a0.0, 17]<16;4,4>:ub { NoDDClr }
- mov (4) r[a0.6,304]<4>:ub r[a0.0,49]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.6,320]<4>:ub r[a0.0,81]<16;4,4>:ub { NoDDClr }
- mov (4) r[a0.6,336]<4>:ub r[a0.0,113]<16;4,4>:ub { NoDDClr, NoDDChk }
-
- // Y 3rd quarter right
- mov (8) r[a0.4,288]<2>:ub r[a0.1, 17]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4,304]<2>:ub r[a0.1,49]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4,320]<2>:ub r[a0.1,81]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4,336]<2>:ub r[a0.1,113]<16;8,2>:ub { NoDDClr, NoDDChk }
-
- // U 3rd quarter right
- mov (4) r[a0.5,288]<4>:ub r[a0.2, 17]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.5,304]<4>:ub r[a0.2,49]<16;4,4>:ub { NoDDChk }
- mov (4) r[a0.5,320]<4>:ub r[a0.2,81]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.5,336]<4>:ub r[a0.2,113]<16;4,4>:ub { NoDDChk }
-
- // 4th 16x4 block response
- add (4) a0.0:uw r22.0<4;4,1>:w 1536:uw
-
- // V 4th quarter left
- mov (4) r[a0.6, 64]<4>:ub r[a0.0, 1]<16;4,4>:ub { NoDDClr }
- mov (4) r[a0.6, 80]<4>:ub r[a0.0,33]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.6, 96]<4>:ub r[a0.0,65]<16;4,4>:ub { NoDDClr }
- mov (4) r[a0.6,112]<4>:ub r[a0.0,97]<16;4,4>:ub { NoDDClr, NoDDChk }
-
- // Y 4th quarter left
- mov (8) r[a0.4, 64]<2>:ub r[a0.1, 1]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4, 80]<2>:ub r[a0.1,33]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4, 96]<2>:ub r[a0.1,65]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4,112]<2>:ub r[a0.1,97]<16;8,2>:ub { NoDDClr, NoDDChk }
-
- // U 4th quarter left
- mov (4) r[a0.5, 64]<4>:ub r[a0.2, 1]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.5, 80]<4>:ub r[a0.2,33]<16;4,4>:ub { NoDDChk }
- mov (4) r[a0.5, 96]<4>:ub r[a0.2,65]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.5,112]<4>:ub r[a0.2,97]<16;4,4>:ub { NoDDChk }
-
- // V 4th quarter right
- mov (4) r[a0.6,352]<4>:ub r[a0.0, 17]<16;4,4>:ub { NoDDClr }
- mov (4) r[a0.6,368]<4>:ub r[a0.0,49]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.6,384]<4>:ub r[a0.0,81]<16;4,4>:ub { NoDDClr }
- mov (4) r[a0.6,400]<4>:ub r[a0.0,113]<16;4,4>:ub { NoDDClr, NoDDChk }
-
- // Y 4th quarter right
- mov (8) r[a0.4,352]<2>:ub r[a0.1, 17]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4,368]<2>:ub r[a0.1,49]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4,384]<2>:ub r[a0.1,81]<16;8,2>:ub { NoDDClr, NoDDChk }
- mov (8) r[a0.4,400]<2>:ub r[a0.1,113]<16;8,2>:ub { NoDDClr, NoDDChk }
-
- // U 4th quarter right
- mov (4) r[a0.5,352]<4>:ub r[a0.2, 17]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.5,368]<4>:ub r[a0.2,49]<16;4,4>:ub { NoDDChk }
- mov (4) r[a0.5,384]<4>:ub r[a0.2,81]<16;4,4>:ub { NoDDClr, NoDDChk }
- mov (4) r[a0.5,400]<4>:ub r[a0.2,113]<16;4,4>:ub { NoDDChk }
-
- send (1) null<1>:d r28 0x5 0x120A8018:ud
- send (1) null<1>:d r37 0x5 0x120A8018:ud
+// 174 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+// Module name: Save_AVS_PA.asm\r
+//\r
+// Save PA 422 frame data block of size 16x16\r
+//\r
+// To save 16x16 block (32x16 bytes of YUYV) we need 2 send instructions with of size 16x16 each.\r
+// -------------------------------\r
+// | 16x16 | 16x16 |\r
+// | YUYV | YUYV |\r
+// -------------------------------\r
+// these 2 sends are replaced by 8 32x2 sends to improve performance\r
+\r
+\r
+\r
+// Module name: Save.inc\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+//Msg payload buffers; upto 4 full-size messages can be written\r
+\r
+\r
+.declare mudMSGPAYLOAD0 Base=r29.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mudMSGPAYLOAD1 Base=r38.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mudMSGPAYLOAD2 Base=r47.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mudMSGPAYLOAD3 Base=r56.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+\r
+.declare muwMSGPAYLOAD0 Base=r29.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare muwMSGPAYLOAD1 Base=r38.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare muwMSGPAYLOAD2 Base=r47.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare muwMSGPAYLOAD3 Base=r56.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+\r
+.declare mubMSGPAYLOAD0 Base=r29.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD1 Base=r38.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD2 Base=r47.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD3 Base=r56.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD4 Base=r32.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD5 Base=r41.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD6 Base=r50.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD7 Base=r59.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+\r
+\r
+ // the r17 register (nTEMP0) is originally defined from "Common.inc"\r
+ // instead of re-defining a nTEMP0 here, we use "SAVE_RGB" suffix for its naming\r
+\r
+ .declare uwTemp0 Base=r17.0 ElementSize=2 Type=uw\r
+\r
+\r
+//_SAVE_INC_\r
+\r
+\r
+ //wBUFF_CHNL_PTR points to buffer 0.\r
+ //Add appropriate offsets to get pointers for all buffers (1,2,3).\r
+ //Offset is zero for buffer 0.\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 0:uw \r
+\r
+ //Set DEST pointers according to output packing i.e. YUYV, YVYU, UYVY, VYUY\r
+ add (4) a0.4<1>:w r2.28<4;4,1>:ub 928:uw\r
+\r
+ shl (1) r27.0<1>:d r7.0<0;1,0>:w 1:w { NoDDClr } // H. block origin need to be 2 times\r
+ mov (1) r27.1<1>:d r7.1<0;1,0>:w { NoDDClr, NoDDChk } // Block origin (1st quadrant)\r
+ mov (1) r27.2<1>:ud 0x1001F:ud { NoDDChk } // Block width and height (32x2)\r
+\r
+// Rounding\r
+ // left\r
+ add.sat (4) r[a0.0, 0]<2>:uw r[a0.0, 0]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,32]<2>:uw r[a0.0, 32]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,64]<2>:uw r[a0.0, 64]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,96]<2>:uw r[a0.0, 96]<8;4,2>:uw 0x0080:uw \r
+\r
+ add.sat (8) r[a0.1, 0]<1>:uw r[a0.1, 0]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,32]<1>:uw r[a0.1, 32]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,64]<1>:uw r[a0.1, 64]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,96]<1>:uw r[a0.1, 96]<8;8,1>:uw 0x0080:uw \r
+\r
+ add.sat (4) r[a0.2, 0]<2>:uw r[a0.2, 0]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,32]<2>:uw r[a0.2, 32]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,64]<2>:uw r[a0.2, 64]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,96]<2>:uw r[a0.2, 96]<8;4,2>:uw 0x0080:uw \r
+\r
+ // right\r
+ add.sat (4) r[a0.0,16]<2>:uw r[a0.0, 16]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,48]<2>:uw r[a0.0, 48]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,80]<2>:uw r[a0.0, 80]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,112]<2>:uw r[a0.0, 112]<8;4,2>:uw 0x0080:uw \r
+\r
+ add.sat (8) r[a0.1, 16]<1>:uw r[a0.1, 16]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,48]<1>:uw r[a0.1, 48]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,80]<1>:uw r[a0.1, 80]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,112]<1>:uw r[a0.1, 112]<8;8,1>:uw 0x0080:uw \r
+\r
+ add.sat (4) r[a0.2, 16]<2>:uw r[a0.2, 16]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,48]<2>:uw r[a0.2, 48]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,80]<2>:uw r[a0.2, 80]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,112]<2>:uw r[a0.2, 112]<8;4,2>:uw 0x0080:uw \r
+\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 512:uw\r
+ // left\r
+ add.sat (4) r[a0.0, 0]<2>:uw r[a0.0, 0]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,32]<2>:uw r[a0.0, 32]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,64]<2>:uw r[a0.0, 64]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,96]<2>:uw r[a0.0, 96]<8;4,2>:uw 0x0080:uw \r
+\r
+ add.sat (8) r[a0.1, 0]<1>:uw r[a0.1, 0]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,32]<1>:uw r[a0.1, 32]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,64]<1>:uw r[a0.1, 64]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,96]<1>:uw r[a0.1, 96]<8;8,1>:uw 0x0080:uw \r
+\r
+ add.sat (4) r[a0.2, 0]<2>:uw r[a0.2, 0]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,32]<2>:uw r[a0.2, 32]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,64]<2>:uw r[a0.2, 64]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,96]<2>:uw r[a0.2, 96]<8;4,2>:uw 0x0080:uw \r
+\r
+ // right\r
+ add.sat (4) r[a0.0,16]<2>:uw r[a0.0, 16]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,48]<2>:uw r[a0.0, 48]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,80]<2>:uw r[a0.0, 80]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,112]<2>:uw r[a0.0, 112]<8;4,2>:uw 0x0080:uw \r
+\r
+ add.sat (8) r[a0.1, 16]<1>:uw r[a0.1, 16]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,48]<1>:uw r[a0.1, 48]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,80]<1>:uw r[a0.1, 80]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,112]<1>:uw r[a0.1, 112]<8;8,1>:uw 0x0080:uw \r
+\r
+ add.sat (4) r[a0.2, 16]<2>:uw r[a0.2, 16]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,48]<2>:uw r[a0.2, 48]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,80]<2>:uw r[a0.2, 80]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,112]<2>:uw r[a0.2, 112]<8;4,2>:uw 0x0080:uw \r
+\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 1024:uw\r
+ // left\r
+ add.sat (4) r[a0.0, 0]<2>:uw r[a0.0, 0]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,32]<2>:uw r[a0.0, 32]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,64]<2>:uw r[a0.0, 64]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,96]<2>:uw r[a0.0, 96]<8;4,2>:uw 0x0080:uw \r
+\r
+ add.sat (8) r[a0.1, 0]<1>:uw r[a0.1, 0]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,32]<1>:uw r[a0.1, 32]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,64]<1>:uw r[a0.1, 64]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,96]<1>:uw r[a0.1, 96]<8;8,1>:uw 0x0080:uw \r
+\r
+ add.sat (4) r[a0.2, 0]<2>:uw r[a0.2, 0]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,32]<2>:uw r[a0.2, 32]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,64]<2>:uw r[a0.2, 64]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,96]<2>:uw r[a0.2, 96]<8;4,2>:uw 0x0080:uw \r
+\r
+ // right\r
+ add.sat (4) r[a0.0,16]<2>:uw r[a0.0, 16]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,48]<2>:uw r[a0.0, 48]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,80]<2>:uw r[a0.0, 80]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,112]<2>:uw r[a0.0, 112]<8;4,2>:uw 0x0080:uw \r
+\r
+ add.sat (8) r[a0.1, 16]<1>:uw r[a0.1, 16]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,48]<1>:uw r[a0.1, 48]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,80]<1>:uw r[a0.1, 80]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,112]<1>:uw r[a0.1, 112]<8;8,1>:uw 0x0080:uw \r
+\r
+ add.sat (4) r[a0.2, 16]<2>:uw r[a0.2, 16]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,48]<2>:uw r[a0.2, 48]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,80]<2>:uw r[a0.2, 80]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,112]<2>:uw r[a0.2, 112]<8;4,2>:uw 0x0080:uw \r
+\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 1536:uw\r
+ // left\r
+ add.sat (4) r[a0.0, 0]<2>:uw r[a0.0, 0]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,32]<2>:uw r[a0.0, 32]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,64]<2>:uw r[a0.0, 64]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,96]<2>:uw r[a0.0, 96]<8;4,2>:uw 0x0080:uw \r
+\r
+ add.sat (8) r[a0.1, 0]<1>:uw r[a0.1, 0]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,32]<1>:uw r[a0.1, 32]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,64]<1>:uw r[a0.1, 64]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,96]<1>:uw r[a0.1, 96]<8;8,1>:uw 0x0080:uw \r
+\r
+ add.sat (4) r[a0.2, 0]<2>:uw r[a0.2, 0]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,32]<2>:uw r[a0.2, 32]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,64]<2>:uw r[a0.2, 64]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,96]<2>:uw r[a0.2, 96]<8;4,2>:uw 0x0080:uw \r
+\r
+ // right\r
+ add.sat (4) r[a0.0,16]<2>:uw r[a0.0, 16]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,48]<2>:uw r[a0.0, 48]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,80]<2>:uw r[a0.0, 80]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.0,112]<2>:uw r[a0.0, 112]<8;4,2>:uw 0x0080:uw \r
+\r
+ add.sat (8) r[a0.1, 16]<1>:uw r[a0.1, 16]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,48]<1>:uw r[a0.1, 48]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,80]<1>:uw r[a0.1, 80]<8;8,1>:uw 0x0080:uw \r
+ add.sat (8) r[a0.1,112]<1>:uw r[a0.1, 112]<8;8,1>:uw 0x0080:uw \r
+\r
+ add.sat (4) r[a0.2, 16]<2>:uw r[a0.2, 16]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,48]<2>:uw r[a0.2, 48]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,80]<2>:uw r[a0.2, 80]<8;4,2>:uw 0x0080:uw \r
+ add.sat (4) r[a0.2,112]<2>:uw r[a0.2, 112]<8;4,2>:uw 0x0080:uw \r
+\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 2048:uw\r
+ // restore pointer\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 0:uw\r
+\r
+ mov (8) r28<1>:ud r27<8;8,1>:ud\r
+ mov (8) r37<1>:ud r27<8;8,1>:ud\r
+ add (1) r37.1<1>:d r27.1<0;1,0>:d 2:d // Point to 2nd part\r
+\r
+\r
+ mov (8) r[a0.6, 0]<4>:ub r[a0.0, 1]<32;8,4>:ub { NoDDClr }\r
+ mov (8) r[a0.6, 32]<4>:ub r[a0.0,33]<32;8,4>:ub { NoDDClr } \r
+ mov (16) r[a0.4, 0]<2>:ub r[a0.1, 1]<32;16,2>:ub { NoDDClr, NoDDChk }\r
+ mov (16) r[a0.4, 32]<2>:ub r[a0.1,33]<32;16,2>:ub { NoDDClr, NoDDChk }\r
+ mov (8) r[a0.5, 0]<4>:ub r[a0.2, 1]<32;8,4>:ub { NoDDChk }\r
+ mov (8) r[a0.5, 32]<4>:ub r[a0.2,33]<32;8,4>:ub { NoDDChk }\r
+\r
+ mov (8) r[a0.6, 288]<4>:ub r[a0.0,65]<32;8,4>:ub { NoDDClr }\r
+ mov (8) r[a0.6, 320]<4>:ub r[a0.0,97]<32;8,4>:ub { NoDDClr }\r
+ mov (16) r[a0.4,288]<2>:ub r[a0.1,65]<32;16,2>:ub { NoDDClr, NoDDChk }\r
+ mov (16) r[a0.4,320]<2>:ub r[a0.1,97]<32;16,2>:ub { NoDDClr, NoDDChk }\r
+ mov (8) r[a0.5,288]<4>:ub r[a0.2,65]<32;8,4>:ub { NoDDChk }\r
+ mov (8) r[a0.5,320]<4>:ub r[a0.2,97]<32;8,4>:ub { NoDDChk }\r
+\r
+ send (1) null<1>:d r28 0x5 0x60A8018:ud\r
+ send (1) null<1>:d r37 0x5 0x60A8018:ud\r
+\r
+ // restore pointer\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 512:uw\r
+\r
+ add (1) r28.1<1>:d r27.1<0;1,0>:d 4:d // Point to 2nd part\r
+ add (1) r37.1<1>:d r27.1<0;1,0>:d 6:d // Point to 2nd part\r
+\r
+\r
+ mov (8) r[a0.6, 0]<4>:ub r[a0.0, 1]<32;8,4>:ub { NoDDClr }\r
+ mov (8) r[a0.6, 32]<4>:ub r[a0.0,33]<32;8,4>:ub { NoDDClr } \r
+ mov (16) r[a0.4, 0]<2>:ub r[a0.1, 1]<32;16,2>:ub { NoDDClr, NoDDChk }\r
+ mov (16) r[a0.4, 32]<2>:ub r[a0.1,33]<32;16,2>:ub { NoDDClr, NoDDChk } \r
+ mov (8) r[a0.5, 0]<4>:ub r[a0.2, 1]<32;8,4>:ub { NoDDChk }\r
+ mov (8) r[a0.5, 32]<4>:ub r[a0.2,33]<32;8,4>:ub { NoDDChk }\r
+\r
+ mov (8) r[a0.6, 288]<4>:ub r[a0.0,65]<32;8,4>:ub { NoDDClr }\r
+ mov (8) r[a0.6, 320]<4>:ub r[a0.0,97]<32;8,4>:ub { NoDDClr }\r
+ mov (16) r[a0.4,288]<2>:ub r[a0.1,65]<32;16,2>:ub { NoDDClr, NoDDChk }\r
+ mov (16) r[a0.4,320]<2>:ub r[a0.1,97]<32;16,2>:ub { NoDDClr, NoDDChk }\r
+ mov (8) r[a0.5,288]<4>:ub r[a0.2,65]<32;8,4>:ub { NoDDChk }\r
+ mov (8) r[a0.5,320]<4>:ub r[a0.2,97]<32;8,4>:ub { NoDDChk }\r
+\r
+ send (1) null<1>:d r28 0x5 0x60A8018:ud\r
+ send (1) null<1>:d r37 0x5 0x60A8018:ud\r
+\r
+ // restore pointer\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 1024:uw\r
+\r
+ add (1) r28.1<1>:d r27.1<0;1,0>:d 8:d // Point to 2nd part\r
+ add (1) r37.1<1>:d r27.1<0;1,0>:d 10:d // Point to 2nd part\r
+\r
+\r
+ mov (8) r[a0.6, 0]<4>:ub r[a0.0, 1]<32;8,4>:ub { NoDDClr }\r
+ mov (8) r[a0.6, 32]<4>:ub r[a0.0,33]<32;8,4>:ub { NoDDClr } \r
+ mov (16) r[a0.4, 0]<2>:ub r[a0.1, 1]<32;16,2>:ub { NoDDClr, NoDDChk }\r
+ mov (16) r[a0.4, 32]<2>:ub r[a0.1,33]<32;16,2>:ub { NoDDClr, NoDDChk }\r
+ mov (8) r[a0.5, 0]<4>:ub r[a0.2, 1]<32;8,4>:ub { NoDDChk }\r
+ mov (8) r[a0.5, 32]<4>:ub r[a0.2,33]<32;8,4>:ub { NoDDChk }\r
+\r
+ mov (8) r[a0.6, 288]<4>:ub r[a0.0,65]<32;8,4>:ub { NoDDClr }\r
+ mov (8) r[a0.6, 320]<4>:ub r[a0.0,97]<32;8,4>:ub { NoDDClr } \r
+ mov (16) r[a0.4,288]<2>:ub r[a0.1,65]<32;16,2>:ub { NoDDClr, NoDDChk }\r
+ mov (16) r[a0.4,320]<2>:ub r[a0.1,97]<32;16,2>:ub { NoDDClr, NoDDChk }\r
+ mov (8) r[a0.5,288]<4>:ub r[a0.2,65]<32;8,4>:ub { NoDDChk }\r
+ mov (8) r[a0.5,320]<4>:ub r[a0.2,97]<32;8,4>:ub { NoDDChk }\r
+\r
+ send (1) null<1>:d r28 0x5 0x60A8018:ud\r
+ send (1) null<1>:d r37 0x5 0x60A8018:ud\r
+\r
+ // restore pointer\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 1536:uw\r
+\r
+ add (1) r28.1<1>:d r27.1<0;1,0>:d 12:d // Point to 2nd part\r
+ add (1) r37.1<1>:d r27.1<0;1,0>:d 14:d // Point to 2nd part\r
+\r
+ mov (8) r[a0.6, 0]<4>:ub r[a0.0, 1]<32;8,4>:ub { NoDDClr }\r
+ mov (8) r[a0.6, 32]<4>:ub r[a0.0,33]<32;8,4>:ub { NoDDClr } \r
+ mov (16) r[a0.4, 0]<2>:ub r[a0.1, 1]<32;16,2>:ub { NoDDClr, NoDDChk }\r
+ mov (16) r[a0.4, 32]<2>:ub r[a0.1,33]<32;16,2>:ub { NoDDClr, NoDDChk }\r
+ mov (8) r[a0.5, 0]<4>:ub r[a0.2, 1]<32;8,4>:ub { NoDDChk }\r
+ mov (8) r[a0.5, 32]<4>:ub r[a0.2,33]<32;8,4>:ub { NoDDChk }\r
+\r
+ mov (8) r[a0.6, 288]<4>:ub r[a0.0,65]<32;8,4>:ub { NoDDClr }\r
+ mov (8) r[a0.6, 320]<4>:ub r[a0.0,97]<32;8,4>:ub { NoDDClr }\r
+ mov (16) r[a0.4,288]<2>:ub r[a0.1,65]<32;16,2>:ub { NoDDClr, NoDDChk }\r
+ mov (16) r[a0.4,320]<2>:ub r[a0.1,97]<32;16,2>:ub { NoDDClr, NoDDChk }\r
+ mov (8) r[a0.5,288]<4>:ub r[a0.2,65]<32;8,4>:ub { NoDDChk }\r
+ mov (8) r[a0.5,320]<4>:ub r[a0.2,97]<32;8,4>:ub { NoDDChk }\r
+\r
+ send (1) null<1>:d r28 0x5 0x60A8018:ud\r
+ send (1) null<1>:d r37 0x5 0x60A8018:ud\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 48 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-// Module name: Save_AVS_PL3.asm
-//
-// Save PL3 420 frame data block of size 16x16
-//
-// To save 16x16 block (16x16 byte of Y and 8x8 byte of U and V each) we need 3 send instructions with one of size 16x16 and two of size 8x8.
-// -----------------
-// | 16x16 Y |
-// | |
-// -----------------
-// | 8x8 U |
-// ---------
-// | 8x8 V |
-// ---------
-
-//-----------------------------------------------------------------
-//The layout of data is as follows:
-//mMSGHDR0 : Y data header (16x16)
-//mubMSGPAYLOAD0 : Y data payload (8 GRFs)
-//mMSGHDR1 : U data header (8x8)
-//mubMSGPAYLOAD1 : U data payload (2 GRFs)
-//mMSGHDR2 : V data header (8x8)
-//mubMSGPAYLOAD2 : V data payload (2 GRFs)
-//------------------------------------------------------------------
-
-
-// Module name: Save.inc
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
-//Msg payload buffers; upto 4 full-size messages can be written
-
-
-.declare muwMSGPAYLOAD0 Base=r29.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare muwMSGPAYLOAD1 Base=r38.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare muwMSGPAYLOAD2 Base=r47.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare muwMSGPAYLOAD3 Base=r56.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-
-.declare mubMSGPAYLOAD0 Base=r29.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare mubMSGPAYLOAD1 Base=r38.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare mubMSGPAYLOAD2 Base=r47.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare mubMSGPAYLOAD3 Base=r56.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-
-
-//_SAVE_INC_
-
-
- // At the save module we have all 8 address sub-registers available.
- // So we will use PING-PONG type of scheme to save the data using
- // pointers pBUF_CHNL_TOP_8x4 and pBUF_CHNL_BOT_8x4. This will help
- // reduce dependency. - rT
-
- //wBUFF_CHNL_PTR points to either buffer 0 or buffer 4.
- //Add appropriate offsets to get pointers for all buffers (1,2,3 or 5).
- //Offsets are zero for buffer 0 and buffer 4.
- add (4) a0.0:uw r22.0<4;4,1>:w 0:uw
- add (4) a0.4:uw r22.0<4;4,1>:w 512:uw
-
- //Set up header for Y,U and V data
- mov (8) r28<1>:ud r27<8;8,1>:ud
- mov (8) r37<1>:ud r27<8;8,1>:ud
- mov (8) r46<1>:ud r27<8;8,1>:ud
-
- mov (2) r28.0<1>:d r7.0<2;2,1>:w { NoDDClr } //ORI Y (LUMA) = ORI
- shr (2) r37.0<1>:d r7.0<2;2,1>:w 1:w { NoDDClr } //H/V ORI U = H/V ORI/2
- shr (2) r46.0<1>:d r7.0<2;2,1>:w 1:w { NoDDClr } //H/V ORI V = H/V ORI/2
-
- mov (1) r28.2<1>:ud 0xF000F:ud { NoDDChk } // Y Block width and height (16x16)
- mov (1)r37.2<1>:ud 0x70007:ud { NoDDChk } // U Block width and height (8x8)
- mov (1)r46.2<1>:ud 0x70007:ud { NoDDChk } // V Block width and height (8x8)
-
-// Unscramble, and pack data directly to MRFs
-
-// Data 16x16 block is divided as -
-// ---------
-// | 0 |
-// ---------
-// | 1 |
-// ---------
-// | 2 |
-// ---------
-// | 3 |
-// ---------
-// All sub-blocks are of size 16x4
-// 0: ubBUFFER_0
-// 1: ubBUFFER_1, ubBUFFER_0+16
-// 2: ubBUFFER_2
-// 3: ubBUFFER_3, ubBUFFER_2+16
-
-//Buffer 0
-//Move Y to msg payload
- mov (16) mubMSGPAYLOAD0(0,0)<1> r[a0.1, 1]<32;16,2>:ub { NoDDClr }
- mov (16) mubMSGPAYLOAD0(0,16)<1> r[a0.1, 33]<32;16,2>:ub { NoDDChk }
- mov (16) mubMSGPAYLOAD0(1,0)<1> r[a0.1, 65]<32;16,2>:ub { NoDDClr }
- mov (16) mubMSGPAYLOAD0(1,16)<1> r[a0.1, 97]<32;16,2>:ub { NoDDChk }
-
-//Move U to msg payload
- mov (8) mubMSGPAYLOAD1(0,0)<1> r[a0.2, 1]<32;8,4>:ub { NoDDClr }
- mov (8) mubMSGPAYLOAD1(0,8)<1> r[a0.2, 65]<32;8,4>:ub { NoDDClr, NoDDChk }
-
-//Move V to msg payload
- mov (8) mubMSGPAYLOAD2(0,0)<1> r[a0.0, 1]<32;8,4>:ub { NoDDClr }
- mov (8) mubMSGPAYLOAD2(0,8)<1> r[a0.0, 65]<32;8,4>:ub { NoDDClr, NoDDChk }
-
- add (4) a0.0:uw r22.0<4;4,1>:w 1024:uw //Update Buffer 2 pointers
-
-//Buffer 1
- mov (16) mubMSGPAYLOAD0(2,0)<1> r[a0.5, 1]<32;16,2>:ub { NoDDClr }
- mov (16) mubMSGPAYLOAD0(2,16)<1> r[a0.5, 33]<32;16,2>:ub { NoDDChk }
- mov (16) mubMSGPAYLOAD0(3,0)<1> r[a0.5, 65]<32;16,2>:ub { NoDDClr }
- mov (16) mubMSGPAYLOAD0(3,16)<1> r[a0.5, 97]<32;16,2>:ub { NoDDChk }
-
- mov (8) mubMSGPAYLOAD1(0,16)<1> r[a0.6, 1]<32;8,4>:ub { NoDDClr, NoDDChk }
- mov (8) mubMSGPAYLOAD1(0,24)<1> r[a0.6, 65]<32;8,4>:ub { NoDDChk }
-
- mov (8) mubMSGPAYLOAD2(0,16)<1> r[a0.4, 1]<32;8,4>:ub { NoDDClr, NoDDChk }
- mov (8) mubMSGPAYLOAD2(0,24)<1> r[a0.4, 65]<32;8,4>:ub { NoDDChk }
-
- add (4) a0.4:uw r22.0<4;4,1>:w 1536:uw //Update Buffer 3 pointers
-
-//Buffer 2
- mov (16) mubMSGPAYLOAD0(4,0)<1> r[a0.1, 1]<32;16,2>:ub { NoDDClr }
- mov (16) mubMSGPAYLOAD0(4,16)<1> r[a0.1, 33]<32;16,2>:ub { NoDDChk }
- mov (16) mubMSGPAYLOAD0(5,0)<1> r[a0.1, 65]<32;16,2>:ub { NoDDClr }
- mov (16) mubMSGPAYLOAD0(5,16)<1> r[a0.1, 97]<32;16,2>:ub { NoDDChk }
-
- mov (8) mubMSGPAYLOAD1(1,0)<1> r[a0.2, 1]<32;8,4>:ub { NoDDClr }
- mov (8) mubMSGPAYLOAD1(1,8)<1> r[a0.2, 65]<32;8,4>:ub { NoDDClr, NoDDChk }
-
- mov (8) mubMSGPAYLOAD2(1,0)<1> r[a0.0, 1]<32;8,4>:ub { NoDDClr }
- mov (8) mubMSGPAYLOAD2(1,8)<1> r[a0.0, 65]<32;8,4>:ub { NoDDClr, NoDDChk }
-
-//Buffer 3
- mov (16) mubMSGPAYLOAD0(6,0)<1> r[a0.5, 1]<32;16,2>:ub { NoDDClr }
- mov (16) mubMSGPAYLOAD0(6,16)<1> r[a0.5, 33]<32;16,2>:ub { NoDDChk }
- mov (16) mubMSGPAYLOAD0(7,0)<1> r[a0.5, 65]<32;16,2>:ub { NoDDClr }
- mov (16) mubMSGPAYLOAD0(7,16)<1> r[a0.5, 97]<32;16,2>:ub { NoDDChk }
-
- mov (8) mubMSGPAYLOAD1(1,16)<1> r[a0.6, 1]<32;8,4>:ub { NoDDClr, NoDDChk }
- mov (8) mubMSGPAYLOAD1(1,24)<1> r[a0.6, 65]<32;8,4>:ub { NoDDChk }
-
- mov (8) mubMSGPAYLOAD2(1,16)<1> r[a0.4, 1]<32;8,4>:ub { NoDDClr, NoDDChk }
- mov (8) mubMSGPAYLOAD2(1,24)<1> r[a0.4, 65]<32;8,4>:ub { NoDDChk }
-
-//===========================================================================
-
-send (1) null<1>:d r28 0x5 0x120A8018:ud
-send (1) null<1>:d r37 0x5 0x60A8019:ud
-send (1) null<1>:d r46 0x5 0x60A801A:ud
+// 84 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+// Module name: Save_AVS_PL3.asm\r
+//\r
+// Save PL3 420 frame data block of size 16x16\r
+//\r
+// To save 16x16 block (16x16 byte of Y and 8x8 byte of U and V each) we need 3 send instructions with one of size 16x16 and two of size 8x8.\r
+// -----------------\r
+// | 16x16 Y |\r
+// | |\r
+// -----------------\r
+// | 8x8 U |\r
+// ---------\r
+// | 8x8 V |\r
+// ---------\r
+\r
+//-----------------------------------------------------------------\r
+//The layout of data is as follows:\r
+//mMSGHDR0 : Y data header (16x16)\r
+//mubMSGPAYLOAD0 : Y data payload (8 GRFs)\r
+//mMSGHDR1 : U data header (8x8)\r
+//mubMSGPAYLOAD1 : U data payload (2 GRFs)\r
+//mMSGHDR2 : V data header (8x8)\r
+//mubMSGPAYLOAD2 : V data payload (2 GRFs)\r
+//------------------------------------------------------------------\r
+\r
+\r
+\r
+// Module name: Save.inc\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+//Msg payload buffers; upto 4 full-size messages can be written\r
+\r
+\r
+.declare mudMSGPAYLOAD0 Base=r29.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mudMSGPAYLOAD1 Base=r38.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mudMSGPAYLOAD2 Base=r47.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mudMSGPAYLOAD3 Base=r56.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+\r
+.declare muwMSGPAYLOAD0 Base=r29.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare muwMSGPAYLOAD1 Base=r38.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare muwMSGPAYLOAD2 Base=r47.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare muwMSGPAYLOAD3 Base=r56.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+\r
+.declare mubMSGPAYLOAD0 Base=r29.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD1 Base=r38.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD2 Base=r47.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD3 Base=r56.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD4 Base=r32.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD5 Base=r41.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD6 Base=r50.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD7 Base=r59.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+\r
+\r
+ // the r17 register (nTEMP0) is originally defined from "Common.inc"\r
+ // instead of re-defining a nTEMP0 here, we use "SAVE_RGB" suffix for its naming\r
+\r
+ .declare uwTemp0 Base=r17.0 ElementSize=2 Type=uw\r
+\r
+\r
+//_SAVE_INC_\r
+\r
+\r
+ // At the save module we have all 8 address sub-registers available.\r
+ // So we will use PING-PONG type of scheme to save the data using\r
+ // pointers pBUF_CHNL_TOP_8x4 and pBUF_CHNL_BOT_8x4. This will help\r
+ // reduce dependency. - rT\r
+\r
+ //wBUFF_CHNL_PTR points to either buffer 0 or buffer 4.\r
+ //Add appropriate offsets to get pointers for all buffers (1,2,3 or 5).\r
+ //Offsets are zero for buffer 0 and buffer 4.\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 0:uw\r
+ add (4) a0.4:uw r22.0<4;4,1>:w 512:uw\r
+\r
+ //Set up header for Y,U and V data\r
+ mov (8) r28<1>:ud r27<8;8,1>:ud\r
+ mov (8) r37<1>:ud r27<8;8,1>:ud\r
+ mov (8) r46<1>:ud r27<8;8,1>:ud\r
+\r
+ mov (2) r28.0<1>:d r7.0<2;2,1>:w { NoDDClr } //ORI Y (LUMA) = ORI\r
+ shr (2) r37.0<1>:d r7.0<2;2,1>:w 1:w { NoDDClr } //H/V ORI U = H/V ORI/2\r
+ shr (2) r46.0<1>:d r7.0<2;2,1>:w 1:w { NoDDClr } //H/V ORI V = H/V ORI/2\r
+\r
+ mov (1) r28.2<1>:ud 0xF000F:ud { NoDDChk } // Y Block width and height (16x16)\r
+ mov (1)r37.2<1>:ud 0x70007:ud { NoDDChk } // U Block width and height (8x8)\r
+ mov (1)r46.2<1>:ud 0x70007:ud { NoDDChk } // V Block width and height (8x8)\r
+\r
+// Unscramble, and pack data directly to MRFs\r
+\r
+// Data 16x16 block is divided as -\r
+// ---------\r
+// | 0 |\r
+// ---------\r
+// | 1 |\r
+// ---------\r
+// | 2 |\r
+// ---------\r
+// | 3 |\r
+// ---------\r
+// All sub-blocks are of size 16x4\r
+// 0: ubBUFFER_0\r
+// 1: ubBUFFER_1, ubBUFFER_0+16\r
+// 2: ubBUFFER_2\r
+// 3: ubBUFFER_3, ubBUFFER_2+16\r
+\r
+ //Y Rounding, first\r
+ add.sat (16) r[a0.1,0]<1>:uw r[a0.1,0]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.1,32]<1>:uw r[a0.1,32]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.1,64]<1>:uw r[a0.1,64]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.1,96]<1>:uw r[a0.1,96]<16;16,1>:uw 0x0080:uw \r
+\r
+ // U rounding\r
+ add.sat (8) r[a0.2,0]<2>:uw r[a0.2,0]<16;8,2>:uw 0x0080:uw \r
+ add.sat (8) r[a0.2,64]<2>:uw r[a0.2,64]<16;8,2>:uw 0x0080:uw \r
+\r
+ // V rounding\r
+ add.sat (8) r[a0.0,0]<2>:uw r[a0.0,0]<16;8,2>:uw 0x0080:uw \r
+ add.sat (8) r[a0.0,64]<2>:uw r[a0.0,64]<16;8,2>:uw 0x0080:uw \r
+\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 1024:uw //Update Buffer 2 pointers\r
+\r
+ //Y Rounding, second\r
+ add.sat (16) r[a0.5,0]<1>:uw r[a0.5,0]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.5,32]<1>:uw r[a0.5,32]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.5,64]<1>:uw r[a0.5,64]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.5,96]<1>:uw r[a0.5,96]<16;16,1>:uw 0x0080:uw \r
+\r
+ // U rounding\r
+ add.sat (8) r[a0.6,0]<2>:uw r[a0.6,0]<16;8,2>:uw 0x0080:uw \r
+ add.sat (8) r[a0.6,64]<2>:uw r[a0.6,64]<16;8,2>:uw 0x0080:uw \r
+\r
+ // V rounding\r
+ add.sat (8) r[a0.4,0]<2>:uw r[a0.4,0]<16;8,2>:uw 0x0080:uw \r
+ add.sat (8) r[a0.4,64]<2>:uw r[a0.4,64]<16;8,2>:uw 0x0080:uw \r
+\r
+ add (4) a0.4:uw r22.0<4;4,1>:w 1536:uw //Update Buffer 3 pointers\r
+\r
+ //Y Rounding, third\r
+ add.sat (16) r[a0.1,0]<1>:uw r[a0.1,0]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.1,32]<1>:uw r[a0.1,32]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.1,64]<1>:uw r[a0.1,64]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.1,96]<1>:uw r[a0.1,96]<16;16,1>:uw 0x0080:uw \r
+\r
+ // U rounding\r
+ add.sat (8) r[a0.2,0]<2>:uw r[a0.2,0]<16;8,2>:uw 0x0080:uw \r
+ add.sat (8) r[a0.2,64]<2>:uw r[a0.2,64]<16;8,2>:uw 0x0080:uw \r
+\r
+ // V rounding\r
+ add.sat (8) r[a0.0,0]<2>:uw r[a0.0,0]<16;8,2>:uw 0x0080:uw \r
+ add.sat (8) r[a0.0,64]<2>:uw r[a0.0,64]<16;8,2>:uw 0x0080:uw \r
+\r
+\r
+ //Y Rounding, fourth\r
+ add.sat (16) r[a0.5,0]<1>:uw r[a0.5,0]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.5,32]<1>:uw r[a0.5,32]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.5,64]<1>:uw r[a0.5,64]<16;16,1>:uw 0x0080:uw \r
+ add.sat (16) r[a0.5,96]<1>:uw r[a0.5,96]<16;16,1>:uw 0x0080:uw \r
+\r
+ // U rounding\r
+ add.sat (8) r[a0.6,0]<2>:uw r[a0.6,0]<16;8,2>:uw 0x0080:uw \r
+ add.sat (8) r[a0.6,64]<2>:uw r[a0.6,64]<16;8,2>:uw 0x0080:uw \r
+\r
+ // V rounding\r
+ add.sat (8) r[a0.4,0]<2>:uw r[a0.4,0]<16;8,2>:uw 0x0080:uw \r
+ add.sat (8) r[a0.4,64]<2>:uw r[a0.4,64]<16;8,2>:uw 0x0080:uw \r
+\r
+ // restore the TOP and BOT pointers\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 0:uw\r
+ add (4) a0.4:uw r22.0<4;4,1>:w 512:uw\r
+\r
+//Buffer 0\r
+//Move Y to msg payload\r
+ mov (16) mubMSGPAYLOAD0(0,0)<1> r[a0.1, 1]<32;16,2>:ub { NoDDClr }\r
+ mov (16) mubMSGPAYLOAD0(0,16)<1> r[a0.1, 33]<32;16,2>:ub { NoDDChk }\r
+ mov (16) mubMSGPAYLOAD0(1,0)<1> r[a0.1, 65]<32;16,2>:ub { NoDDClr }\r
+ mov (16) mubMSGPAYLOAD0(1,16)<1> r[a0.1, 97]<32;16,2>:ub { NoDDChk }\r
+\r
+//Move U to msg payload\r
+ mov (8) mubMSGPAYLOAD1(0,0)<1> r[a0.2, 1]<32;8,4>:ub { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD1(0,8)<1> r[a0.2, 65]<32;8,4>:ub { NoDDClr, NoDDChk }\r
+\r
+//Move V to msg payload\r
+ mov (8) mubMSGPAYLOAD2(0,0)<1> r[a0.0, 1]<32;8,4>:ub { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD2(0,8)<1> r[a0.0, 65]<32;8,4>:ub { NoDDClr, NoDDChk }\r
+\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 1024:uw //Update Buffer 2 pointers\r
+\r
+//Buffer 1\r
+ mov (16) mubMSGPAYLOAD0(2,0)<1> r[a0.5, 1]<32;16,2>:ub { NoDDClr }\r
+ mov (16) mubMSGPAYLOAD0(2,16)<1> r[a0.5, 33]<32;16,2>:ub { NoDDChk }\r
+ mov (16) mubMSGPAYLOAD0(3,0)<1> r[a0.5, 65]<32;16,2>:ub { NoDDClr }\r
+ mov (16) mubMSGPAYLOAD0(3,16)<1> r[a0.5, 97]<32;16,2>:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD1(0,16)<1> r[a0.6, 1]<32;8,4>:ub { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD1(0,24)<1> r[a0.6, 65]<32;8,4>:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD2(0,16)<1> r[a0.4, 1]<32;8,4>:ub { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD2(0,24)<1> r[a0.4, 65]<32;8,4>:ub { NoDDChk }\r
+\r
+ add (4) a0.4:uw r22.0<4;4,1>:w 1536:uw //Update Buffer 3 pointers\r
+\r
+//Buffer 2\r
+ mov (16) mubMSGPAYLOAD0(4,0)<1> r[a0.1, 1]<32;16,2>:ub { NoDDClr }\r
+ mov (16) mubMSGPAYLOAD0(4,16)<1> r[a0.1, 33]<32;16,2>:ub { NoDDChk }\r
+ mov (16) mubMSGPAYLOAD0(5,0)<1> r[a0.1, 65]<32;16,2>:ub { NoDDClr }\r
+ mov (16) mubMSGPAYLOAD0(5,16)<1> r[a0.1, 97]<32;16,2>:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD1(1,0)<1> r[a0.2, 1]<32;8,4>:ub { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD1(1,8)<1> r[a0.2, 65]<32;8,4>:ub { NoDDClr, NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD2(1,0)<1> r[a0.0, 1]<32;8,4>:ub { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD2(1,8)<1> r[a0.0, 65]<32;8,4>:ub { NoDDClr, NoDDChk }\r
+\r
+//Buffer 3\r
+ mov (16) mubMSGPAYLOAD0(6,0)<1> r[a0.5, 1]<32;16,2>:ub { NoDDClr }\r
+ mov (16) mubMSGPAYLOAD0(6,16)<1> r[a0.5, 33]<32;16,2>:ub { NoDDChk }\r
+ mov (16) mubMSGPAYLOAD0(7,0)<1> r[a0.5, 65]<32;16,2>:ub { NoDDClr }\r
+ mov (16) mubMSGPAYLOAD0(7,16)<1> r[a0.5, 97]<32;16,2>:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD1(1,16)<1> r[a0.6, 1]<32;8,4>:ub { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD1(1,24)<1> r[a0.6, 65]<32;8,4>:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD2(1,16)<1> r[a0.4, 1]<32;8,4>:ub { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD2(1,24)<1> r[a0.4, 65]<32;8,4>:ub { NoDDChk }\r
+\r
+//===========================================================================\r
+\r
+send (1) null<1>:d r28 0x5 0x120A8018:ud\r
+send (1) null<1>:d r37 0x5 0x60A8019:ud\r
+send (1) null<1>:d r46 0x5 0x60A801A:ud\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 278 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-// Module name: Save_AVS_RGB.asm
-//
-// Save packed ARGB 444 frame data block of size 16x16
-//
-// To save 16x16 block (64x16 byte layout for ARGB8888) we need 4 send instructions with 16x16 in each
-// -----------------
-// | 0 | 1 | 2 | 3 |
-// -----------------
-
-
-// Module name: Save.inc
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
-//Msg payload buffers; upto 4 full-size messages can be written
-
-
-.declare muwMSGPAYLOAD0 Base=r29.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare muwMSGPAYLOAD1 Base=r38.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare muwMSGPAYLOAD2 Base=r47.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare muwMSGPAYLOAD3 Base=r56.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-
-.declare mubMSGPAYLOAD0 Base=r29.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare mubMSGPAYLOAD1 Base=r38.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare mubMSGPAYLOAD2 Base=r47.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare mubMSGPAYLOAD3 Base=r56.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-
-
-//_SAVE_INC_
-
-
-// At the save module we have all 8 address sub-registers available.
-// So we will use PING-PONG type of scheme to save the data using
-// pointers pBUF_CHNL_TOP_8x4 and pBUF_CHNL_BOT_8x4. This will help
-// reduce dependency. - rT
-
-//wBUFF_CHNL_PTR points to either buffer 0 or buffer 4.
-//Add appropriate offsets to get pointers for all buffers (1,2,3 or 5).
-//Offsets are zero for buffer 0 and buffer 4.
- add (4) a0.0:uw r22.0<4;4,1>:w 0:uw
-
- shl (1) r27.0<1>:d r7.0<0;1,0>:w 2:w { NoDDClr } // H. block origin need to be quadrupled
- mov (1) r27.1<1>:d r7.1<0;1,0>:w { NoDDClr, NoDDChk } // Block origin (1st quadrant)
- mov (1) r27.2<1>:ud 0xF000F:ud { NoDDChk } // Block width and height (16x16)
-
- add (4) a0.4:uw a0.0<4;4,1>:w r22.8<0;2,1>:w
-
- mov (8) r28<1>:ud r27<8;8,1>:ud
- mov (8) r37<1>:ud r27<8;8,1>:ud
- mov (8) r46<1>:ud r27<8;8,1>:ud
- mov (8) r55<1>:ud r27<8;8,1>:ud
-
- add (1) r37.0<1>:d r27.0<0;1,0>:d 16:d // Point to 2nd part
- add (1) r46.0<1>:d r27.0<0;1,0>:d 32:d // Point to 3rd part
- add (1) r55.0<1>:d r27.0<0;1,0>:d 48:d // Point to 4th part
-
- // write Buf_0 to 1st quarter of four horizontal output blocks
-
-// Please note the scattered order of NODDCLR, NODDCHK flags. Since the sub-registers
-// of destination reg are not updated at one place and hence even flags are scattered. -rT
-
- mov (4) mubMSGPAYLOAD0(0, 0)<4> r[a0.2, 1]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD0(0,16)<4> r[a0.2,33]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(1, 0)<4> r[a0.6, 1]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD0(1,16)<4> r[a0.6,33]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD1(0, 0)<4> r[a0.2, 9]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD1(0,16)<4> r[a0.2,41]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(1, 0)<4> r[a0.6, 9]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD1(1,16)<4> r[a0.6,41]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD2(0, 0)<4> r[a0.2, 17]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD2(0,16)<4> r[a0.2,49]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(1, 0)<4> r[a0.6, 17]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD2(1,16)<4> r[a0.6,49]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD3(0, 0)<4> r[a0.2, 25]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD3(0,16)<4> r[a0.2,57]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(1, 0)<4> r[a0.6, 25]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD3(1,16)<4> r[a0.6,57]<8;4,2> { NoDDClr, NoDDChk }
-
-
- mov (4) mubMSGPAYLOAD0(0, 1)<4> r[a0.1, 1]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(0,17)<4> r[a0.1,33]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(1, 1)<4> r[a0.5, 1]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(1,17)<4> r[a0.5,33]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD1(0, 1)<4> r[a0.1, 9]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(0,17)<4> r[a0.1,41]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(1, 1)<4> r[a0.5, 9]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(1,17)<4> r[a0.5,41]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD2(0, 1)<4> r[a0.1, 17]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(0,17)<4> r[a0.1,49]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(1, 1)<4> r[a0.5, 17]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(1,17)<4> r[a0.5,49]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD3(0, 1)<4> r[a0.1, 25]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(0,17)<4> r[a0.1,57]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(1, 1)<4> r[a0.5, 25]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(1,17)<4> r[a0.5,57]<8;4,2> { NoDDClr, NoDDChk }
-
-
- mov (4) mubMSGPAYLOAD0(0, 2)<4> r[a0.0, 1]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(0,18)<4> r[a0.0,33]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(1, 2)<4> r[a0.4, 1]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(1,18)<4> r[a0.4,33]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD1(0, 2)<4> r[a0.0, 9]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(0,18)<4> r[a0.0,41]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(1, 2)<4> r[a0.4, 9]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(1,18)<4> r[a0.4,41]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD2(0, 2)<4> r[a0.0, 17]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(0,18)<4> r[a0.0,49]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(1, 2)<4> r[a0.4, 17]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(1,18)<4> r[a0.4,49]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD3(0, 2)<4> r[a0.0, 25]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(0,18)<4> r[a0.0,57]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(1, 2)<4> r[a0.4, 25]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(1,18)<4> r[a0.4,57]<8;4,2> { NoDDClr, NoDDChk }
-
-
- mov (4) mubMSGPAYLOAD0(0, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(0,19)<4> r2.31:ub { NoDDChk }
- mov (4) mubMSGPAYLOAD0(1, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(1,19)<4> r2.31:ub { NoDDChk }
-
- mov (4) mubMSGPAYLOAD1(0, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(0,19)<4> r2.31:ub { NoDDChk }
- mov (4) mubMSGPAYLOAD1(1, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(1,19)<4> r2.31:ub { NoDDChk }
-
- mov (4) mubMSGPAYLOAD2(0, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(0,19)<4> r2.31:ub { NoDDChk }
- mov (4) mubMSGPAYLOAD2(1, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(1,19)<4> r2.31:ub { NoDDChk }
-
- mov (4) mubMSGPAYLOAD3(0, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(0,19)<4> r2.31:ub { NoDDChk }
- mov (4) mubMSGPAYLOAD3(1, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(1,19)<4> r2.31:ub { NoDDChk }
-
- // write Buf_1 to 2nd quarter of four horizontal output blocks
- add (4) a0.0:uw r22.0<4;4,1>:w 512:uw
- add (4) a0.4:uw a0.0<4;4,1>:w r22.8<0;2,1>:w
-
- mov (4) mubMSGPAYLOAD0(2, 0)<4> r[a0.2, 1]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD0(2,16)<4> r[a0.2,33]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(3, 0)<4> r[a0.6, 1]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD0(3,16)<4> r[a0.6,33]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD1(2, 0)<4> r[a0.2, 9]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD1(2,16)<4> r[a0.2,41]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(3, 0)<4> r[a0.6, 9]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD1(3,16)<4> r[a0.6,41]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD2(2, 0)<4> r[a0.2, 17]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD2(2,16)<4> r[a0.2,49]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(3, 0)<4> r[a0.6, 17]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD2(3,16)<4> r[a0.6,49]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD3(2, 0)<4> r[a0.2, 25]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD3(2,16)<4> r[a0.2,57]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(3, 0)<4> r[a0.6, 25]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD3(3,16)<4> r[a0.6,57]<8;4,2> { NoDDClr, NoDDChk }
-
-
- mov (4) mubMSGPAYLOAD0(2, 1)<4> r[a0.1, 1]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(2,17)<4> r[a0.1,33]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(3, 1)<4> r[a0.5, 1]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(3,17)<4> r[a0.5,33]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD1(2, 1)<4> r[a0.1, 9]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(2,17)<4> r[a0.1,41]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(3, 1)<4> r[a0.5, 9]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(3,17)<4> r[a0.5,41]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD2(2, 1)<4> r[a0.1, 17]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(2,17)<4> r[a0.1,49]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(3, 1)<4> r[a0.5, 17]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(3,17)<4> r[a0.5,49]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD3(2, 1)<4> r[a0.1, 25]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(2,17)<4> r[a0.1,57]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(3, 1)<4> r[a0.5, 25]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(3,17)<4> r[a0.5,57]<8;4,2> { NoDDClr, NoDDChk }
-
-
- mov (4) mubMSGPAYLOAD0(2, 2)<4> r[a0.0, 1]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(2,18)<4> r[a0.0,33]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(3, 2)<4> r[a0.4, 1]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(3,18)<4> r[a0.4,33]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD1(2, 2)<4> r[a0.0, 9]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(2,18)<4> r[a0.0,41]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(3, 2)<4> r[a0.4, 9]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(3,18)<4> r[a0.4,41]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD2(2, 2)<4> r[a0.0, 17]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(2,18)<4> r[a0.0,49]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(3, 2)<4> r[a0.4, 17]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(3,18)<4> r[a0.4,49]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD3(2, 2)<4> r[a0.0, 25]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(2,18)<4> r[a0.0,57]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(3, 2)<4> r[a0.4, 25]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(3,18)<4> r[a0.4,57]<8;4,2> { NoDDClr, NoDDChk }
-
-
- mov (4) mubMSGPAYLOAD0(2, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(2,19)<4> r2.31:ub { NoDDChk }
- mov (4) mubMSGPAYLOAD0(3, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(3,19)<4> r2.31:ub { NoDDChk }
-
- mov (4) mubMSGPAYLOAD1(2, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(2,19)<4> r2.31:ub { NoDDChk }
- mov (4) mubMSGPAYLOAD1(3, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(3,19)<4> r2.31:ub { NoDDChk }
-
- mov (4) mubMSGPAYLOAD2(2, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(2,19)<4> r2.31:ub { NoDDChk }
- mov (4) mubMSGPAYLOAD2(3, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(3,19)<4> r2.31:ub { NoDDChk }
-
- mov (4) mubMSGPAYLOAD3(2, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(2,19)<4> r2.31:ub { NoDDChk }
- mov (4) mubMSGPAYLOAD3(3, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(3,19)<4> r2.31:ub { NoDDChk }
-
-
- // write Buf_2 to 3rd quarter of four horizontal output blocks
- add (4) a0.0:uw r22.0<4;4,1>:w 1024:uw
- add (4) a0.4:uw a0.0<4;4,1>:w r22.8<0;2,1>:w
-
- mov (4) mubMSGPAYLOAD0(4, 0)<4> r[a0.2, 1]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD0(4,16)<4> r[a0.2,33]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(5, 0)<4> r[a0.6, 1]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD0(5,16)<4> r[a0.6,33]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD1(4, 0)<4> r[a0.2, 9]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD1(4,16)<4> r[a0.2,41]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(5, 0)<4> r[a0.6, 9]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD1(5,16)<4> r[a0.6,41]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD2(4, 0)<4> r[a0.2, 17]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD2(4,16)<4> r[a0.2,49]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(5, 0)<4> r[a0.6, 17]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD2(5,16)<4> r[a0.6,49]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD3(4, 0)<4> r[a0.2, 25]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD3(4,16)<4> r[a0.2,57]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(5, 0)<4> r[a0.6, 25]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD3(5,16)<4> r[a0.6,57]<8;4,2> { NoDDClr, NoDDChk }
-
-
- mov (4) mubMSGPAYLOAD0(4, 1)<4> r[a0.1, 1]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(4,17)<4> r[a0.1,33]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(5, 1)<4> r[a0.5, 1]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(5,17)<4> r[a0.5,33]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD1(4, 1)<4> r[a0.1, 9]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(4,17)<4> r[a0.1,41]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(5, 1)<4> r[a0.5, 9]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(5,17)<4> r[a0.5,41]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD2(4, 1)<4> r[a0.1, 17]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(4,17)<4> r[a0.1,49]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(5, 1)<4> r[a0.5, 17]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(5,17)<4> r[a0.5,49]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD3(4, 1)<4> r[a0.1, 25]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(4,17)<4> r[a0.1,57]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(5, 1)<4> r[a0.5, 25]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(5,17)<4> r[a0.5,57]<8;4,2> { NoDDClr, NoDDChk }
-
-
- mov (4) mubMSGPAYLOAD0(4, 2)<4> r[a0.0, 1]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(4,18)<4> r[a0.0,33]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(5, 2)<4> r[a0.4, 1]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(5,18)<4> r[a0.4,33]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD1(4, 2)<4> r[a0.0, 9]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(4,18)<4> r[a0.0,41]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(5, 2)<4> r[a0.4, 9]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(5,18)<4> r[a0.4,41]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD2(4, 2)<4> r[a0.0, 17]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(4,18)<4> r[a0.0,49]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(5, 2)<4> r[a0.4, 17]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(5,18)<4> r[a0.4,49]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD3(4, 2)<4> r[a0.0, 25]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(4,18)<4> r[a0.0,57]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(5, 2)<4> r[a0.4, 25]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(5,18)<4> r[a0.4,57]<8;4,2> { NoDDClr, NoDDChk }
-
-
- mov (4) mubMSGPAYLOAD0(4, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(4,19)<4> r2.31:ub { NoDDChk }
- mov (4) mubMSGPAYLOAD0(5, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(5,19)<4> r2.31:ub { NoDDChk }
-
- mov (4) mubMSGPAYLOAD1(4, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(4,19)<4> r2.31:ub { NoDDChk }
- mov (4) mubMSGPAYLOAD1(5, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(5,19)<4> r2.31:ub { NoDDChk }
-
- mov (4) mubMSGPAYLOAD2(4, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(4,19)<4> r2.31:ub { NoDDChk }
- mov (4) mubMSGPAYLOAD2(5, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(5,19)<4> r2.31:ub { NoDDChk }
-
- mov (4) mubMSGPAYLOAD3(4, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(4,19)<4> r2.31:ub { NoDDChk }
- mov (4) mubMSGPAYLOAD3(5, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(5,19)<4> r2.31:ub { NoDDChk }
-
- // write Buf_3 to 4th quarter of four horizontal output blocks
- add (4) a0.0:uw r22.0<4;4,1>:w 1536:uw
- add (4) a0.4:uw a0.0<4;4,1>:w r22.8<0;2,1>:w
-
- mov (4) mubMSGPAYLOAD0(6, 0)<4> r[a0.2, 1]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD0(6,16)<4> r[a0.2,33]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(7, 0)<4> r[a0.6, 1]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD0(7,16)<4> r[a0.6,33]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD1(6, 0)<4> r[a0.2, 9]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD1(6,16)<4> r[a0.2,41]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(7, 0)<4> r[a0.6, 9]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD1(7,16)<4> r[a0.6,41]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD2(6, 0)<4> r[a0.2, 17]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD2(6,16)<4> r[a0.2,49]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(7, 0)<4> r[a0.6, 17]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD2(7,16)<4> r[a0.6,49]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD3(6, 0)<4> r[a0.2, 25]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD3(6,16)<4> r[a0.2,57]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(7, 0)<4> r[a0.6, 25]<8;4,2> { NoDDClr }
- mov (4) mubMSGPAYLOAD3(7,16)<4> r[a0.6,57]<8;4,2> { NoDDClr, NoDDChk }
-
-
- mov (4) mubMSGPAYLOAD0(6, 1)<4> r[a0.1, 1]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(6,17)<4> r[a0.1,33]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(7, 1)<4> r[a0.5, 1]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(7,17)<4> r[a0.5,33]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD1(6, 1)<4> r[a0.1, 9]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(6,17)<4> r[a0.1,41]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(7, 1)<4> r[a0.5, 9]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(7,17)<4> r[a0.5,41]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD2(6, 1)<4> r[a0.1, 17]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(6,17)<4> r[a0.1,49]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(7, 1)<4> r[a0.5, 17]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(7,17)<4> r[a0.5,49]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD3(6, 1)<4> r[a0.1, 25]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(6,17)<4> r[a0.1,57]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(7, 1)<4> r[a0.5, 25]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(7,17)<4> r[a0.5,57]<8;4,2> { NoDDClr, NoDDChk }
-
-
- mov (4) mubMSGPAYLOAD0(6, 2)<4> r[a0.0, 1]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(6,18)<4> r[a0.0,33]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(7, 2)<4> r[a0.4, 1]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(7,18)<4> r[a0.4,33]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD1(6, 2)<4> r[a0.0, 9]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(6,18)<4> r[a0.0,41]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(7, 2)<4> r[a0.4, 9]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(7,18)<4> r[a0.4,41]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD2(6, 2)<4> r[a0.0, 17]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(6,18)<4> r[a0.0,49]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(7, 2)<4> r[a0.4, 17]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(7,18)<4> r[a0.4,49]<8;4,2> { NoDDClr, NoDDChk }
-
- mov (4) mubMSGPAYLOAD3(6, 2)<4> r[a0.0, 25]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(6,18)<4> r[a0.0,57]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(7, 2)<4> r[a0.4, 25]<8;4,2> { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(7,18)<4> r[a0.4,57]<8;4,2> { NoDDClr, NoDDChk }
-
-
- mov (4) mubMSGPAYLOAD0(6, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(6,19)<4> r2.31:ub { NoDDChk }
- mov (4) mubMSGPAYLOAD0(7, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD0(7,19)<4> r2.31:ub { NoDDChk }
-
- mov (4) mubMSGPAYLOAD1(6, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(6,19)<4> r2.31:ub { NoDDChk }
- mov (4) mubMSGPAYLOAD1(7, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD1(7,19)<4> r2.31:ub { NoDDChk }
-
- mov (4) mubMSGPAYLOAD2(6, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(6,19)<4> r2.31:ub { NoDDChk }
- mov (4) mubMSGPAYLOAD2(7, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD2(7,19)<4> r2.31:ub { NoDDChk }
-
- mov (4) mubMSGPAYLOAD3(6, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(6,19)<4> r2.31:ub { NoDDChk }
- mov (4) mubMSGPAYLOAD3(7, 3)<4> r2.31:ub { NoDDClr, NoDDChk }
- mov (4) mubMSGPAYLOAD3(7,19)<4> r2.31:ub { NoDDChk }
-
-
- send (8) null<1>:d r28 0x5 0x120A8018:ud
- send (8) null<1>:d r37 0x5 0x120A8018:ud
- send (8) null<1>:d r46 0x5 0x120A8018:ud
- send (8) null<1>:d r55 0x5 0x120A8018:ud
+// 198 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+// Module name: Save_AVS_RGB.asm\r
+//\r
+// Save packed ARGB 444 frame data block of size 16x16\r
+//\r
+// To save 16x16 block (64x16 byte layout for ARGB8888) we need 4 send instructions with 16x16 in each\r
+// -----------------\r
+// | 0 | 1 | 2 | 3 |\r
+// -----------------\r
+// the 4 16x16 block send has been replaced by 16 32x2 sends to get better performance\r
+\r
+\r
+\r
+// Module name: Save.inc\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+//Msg payload buffers; upto 4 full-size messages can be written\r
+\r
+\r
+.declare mudMSGPAYLOAD0 Base=r29.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mudMSGPAYLOAD1 Base=r38.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mudMSGPAYLOAD2 Base=r47.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mudMSGPAYLOAD3 Base=r56.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+\r
+.declare muwMSGPAYLOAD0 Base=r29.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare muwMSGPAYLOAD1 Base=r38.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare muwMSGPAYLOAD2 Base=r47.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare muwMSGPAYLOAD3 Base=r56.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+\r
+.declare mubMSGPAYLOAD0 Base=r29.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD1 Base=r38.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD2 Base=r47.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD3 Base=r56.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD4 Base=r32.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD5 Base=r41.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD6 Base=r50.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare mubMSGPAYLOAD7 Base=r59.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+\r
+\r
+ // the r17 register (nTEMP0) is originally defined from "Common.inc"\r
+ // instead of re-defining a nTEMP0 here, we use "SAVE_RGB" suffix for its naming\r
+\r
+ .declare uwTemp0 Base=r17.0 ElementSize=2 Type=uw\r
+\r
+\r
+//_SAVE_INC_\r
+\r
+\r
+// At the save module we have all 8 address sub-registers available.\r
+// So we will use PING-PONG type of scheme to save the data using\r
+// pointers pBUF_CHNL_TOP_8x4 and pBUF_CHNL_BOT_8x4. This will help\r
+// reduce dependency. - rT\r
+\r
+// channel switching based on bit 0 of uWRGB_BGR_CH_SWITCH\r
+\r
+ // if channel swap?\r
+ and.nz.f0.0 null<1>:w r2.3<0;1,0>:uw 0x01:w\r
+\r
+//wBUFF_CHNL_PTR points to either buffer 0 or buffer 4.\r
+//Add appropriate offsets to get pointers for all buffers (1,2,3 or 5).\r
+//Offsets are zero for buffer 0 and buffer 4.\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 0:uw\r
+\r
+ // pointer swap\r
+ (f0.0) mov (1) uwTemp0<1> a0.0:uw\r
+ (f0.0) mov (1) a0.0:uw a0.2:uw\r
+ (f0.0) mov (1) a0.2:uw uwTemp0<0;1,0>\r
+\r
+ shl (1) r27.0<1>:d r7.0<0;1,0>:w 2:w { NoDDClr } // H. block origin need to be quadrupled\r
+ mov (1) r27.1<1>:d r7.1<0;1,0>:w { NoDDClr, NoDDChk } // Block origin (1st quadrant)\r
+ mov (1) r27.2<1>:ud 0x1001F:ud { NoDDChk } // Block width and height (32x2)\r
+\r
+ add (4) a0.4:uw a0.0<4;4,1>:w r22.8<0;2,1>:w\r
+\r
+ mov (8) r28<1>:ud r27<8;8,1>:ud\r
+ mov (8) r37<1>:ud r27<8;8,1>:ud\r
+ mov (8) r46<1>:ud r27<8;8,1>:ud\r
+ mov (8) r55<1>:ud r27<8;8,1>:ud\r
+\r
+ mov (8) r31<1>:ud r27<8;8,1>:ud\r
+ mov (8) r40<1>:ud r27<8;8,1>:ud\r
+ mov (8) r49<1>:ud r27<8;8,1>:ud\r
+ mov (8) r58<1>:ud r27<8;8,1>:ud\r
+\r
+\r
+//for BUFFER 0\r
+ add (1) r37.1<1>:d r27.1<0;1,0>:d 2:d \r
+ add (1) r46.0<1>:d r27.0<0;1,0>:d 32:d \r
+ add (1) r55.0<1>:d r27.0<0;1,0>:d 32:d \r
+ add (1) r55.1<1>:d r27.1<0;1,0>:d 2:d \r
+\r
+// for BUFFER 1\r
+ add (1) r31.1<1>:d r27.1<0;1,0>:d 4:d \r
+ add (1) r40.1<1>:d r27.1<0;1,0>:d 6:d \r
+ add (1) r49.0<1>:d r27.0<0;1,0>:d 32:d \r
+ add (1) r49.1<1>:d r27.1<0;1,0>:d 4:d \r
+ add (1) r58.0<1>:d r27.0<0;1,0>:d 32:d \r
+ add (1) r58.1<1>:d r27.1<0;1,0>:d 6:d \r
+ // write Buf_0 to 1st quarter of four horizontal output blocks\r
+\r
+// Please note the scattered order of NODDCLR, NODDCHK flags. Since the sub-registers\r
+// of destination reg are not updated at one place and hence even flags are scattered. -rT\r
+\r
+ mov (8) mubMSGPAYLOAD0(0, 0)<4> r[a0.2, 1]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD0(0, 1)<4> r[a0.1, 1]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD0(0, 2)<4> r[a0.0, 1]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD0(0, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD0(1, 0)<4> r[a0.2, 33]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD0(1, 1)<4> r[a0.1, 33]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD0(1, 2)<4> r[a0.0, 33]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD0(1, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD1(0, 0)<4> r[a0.6, 1]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD1(0, 1)<4> r[a0.5, 1]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD1(0, 2)<4> r[a0.4, 1]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD1(0, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD1(1, 0)<4> r[a0.6, 33]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD1(1, 1)<4> r[a0.5, 33]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD1(1, 2)<4> r[a0.4, 33]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD1(1, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD2(0, 0)<4> r[a0.2, 17]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD2(0, 1)<4> r[a0.1, 17]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD2(0, 2)<4> r[a0.0, 17]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD2(0, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD2(1, 0)<4> r[a0.2, 49]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD2(1, 1)<4> r[a0.1, 49]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD2(1, 2)<4> r[a0.0, 49]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD2(1, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD3(0, 0)<4> r[a0.6, 17]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD3(0, 1)<4> r[a0.5, 17]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD3(0, 2)<4> r[a0.4, 17]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD3(0, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD3(1, 0)<4> r[a0.6, 49]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD3(1, 1)<4> r[a0.5, 49]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD3(1, 2)<4> r[a0.4, 49]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD3(1, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ // write Buf_1 to 2nd quarter of four horizontal output blocks\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 512:uw\r
+\r
+ // pointer swap\r
+ (f0.0) mov (1) uwTemp0<1> a0.0:uw\r
+ (f0.0) mov (1) a0.0:uw a0.2:uw\r
+ (f0.0) mov (1) a0.2:uw uwTemp0<0;1,0>\r
+\r
+ add (4) a0.4:uw a0.0<4;4,1>:w r22.8<0;2,1>:w\r
+\r
+ mov (8) mubMSGPAYLOAD4(0, 0)<4> r[a0.2, 1]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD4(0, 1)<4> r[a0.1, 1]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD4(0, 2)<4> r[a0.0, 1]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD4(0, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD4(1, 0)<4> r[a0.2, 33]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD4(1, 1)<4> r[a0.1, 33]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD4(1, 2)<4> r[a0.0, 33]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD4(1, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD5(0, 0)<4> r[a0.6, 1]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD5(0, 1)<4> r[a0.5, 1]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD5(0, 2)<4> r[a0.4, 1]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD5(0, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD5(1, 0)<4> r[a0.6, 33]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD5(1, 1)<4> r[a0.5, 33]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD5(1, 2)<4> r[a0.4, 33]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD5(1, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD6(0, 0)<4> r[a0.2, 17]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD6(0, 1)<4> r[a0.1, 17]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD6(0, 2)<4> r[a0.0, 17]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD6(0, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD6(1, 0)<4> r[a0.2, 49]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD6(1, 1)<4> r[a0.1, 49]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD6(1, 2)<4> r[a0.0, 49]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD6(1, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD7(0, 0)<4> r[a0.6, 17]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD7(0, 1)<4> r[a0.5, 17]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD7(0, 2)<4> r[a0.4, 17]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD7(0, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD7(1, 0)<4> r[a0.6, 49]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD7(1, 1)<4> r[a0.5, 49]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD7(1, 2)<4> r[a0.4, 49]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD7(1, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ // send buffer 0 and buffer 1 \r
+ send (1) null<1>:d r28 0x5 0x60A8018:ud\r
+ send (1) null<1>:d r37 0x5 0x60A8018:ud\r
+ send (1) null<1>:d r46 0x5 0x60A8018:ud\r
+ send (1) null<1>:d r55 0x5 0x60A8018:ud\r
+\r
+ send (1) null<1>:d r31 0x5 0x60A8018:ud\r
+ send (1) null<1>:d r40 0x5 0x60A8018:ud\r
+ send (1) null<1>:d r49 0x5 0x60A8018:ud\r
+ send (1) null<1>:d r58 0x5 0x60A8018:ud\r
+\r
+//==========\r
+//prepare headers \r
+//for BUFFER 2\r
+ add (1) r28.1<1>:d r27.1<0;1,0>:d 8:d \r
+ add (1) r37.1<1>:d r27.1<0;1,0>:d 10:d \r
+ add (1) r46.0<1>:d r27.0<0;1,0>:d 32:d \r
+ add (1) r46.1<1>:d r27.1<0;1,0>:d 8:d \r
+ add (1) r55.0<1>:d r27.0<0;1,0>:d 32:d \r
+ add (1) r55.1<1>:d r27.1<0;1,0>:d 10:d \r
+// for BUFFER 3\r
+ add (1) r31.1<1>:d r27.1<0;1,0>:d 12:d \r
+ add (1) r40.1<1>:d r27.1<0;1,0>:d 14:d \r
+ add (1) r49.0<1>:d r27.0<0;1,0>:d 32:d \r
+ add (1) r49.1<1>:d r27.1<0;1,0>:d 12:d \r
+ add (1) r58.0<1>:d r27.0<0;1,0>:d 32:d \r
+ add (1) r58.1<1>:d r27.1<0;1,0>:d 14:d \r
+\r
+//===========\r
+\r
+ // write Buf_2 to 3rd quarter of four horizontal output blocks\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 1024:uw\r
+\r
+ // pointer swap\r
+ (f0.0) mov (1) uwTemp0<1> a0.0:uw\r
+ (f0.0) mov (1) a0.0:uw a0.2:uw\r
+ (f0.0) mov (1) a0.2:uw uwTemp0<0;1,0>\r
+\r
+ add (4) a0.4:uw a0.0<4;4,1>:w r22.8<0;2,1>:w\r
+\r
+ mov (8) mubMSGPAYLOAD0(0, 0)<4> r[a0.2, 1]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD0(0, 1)<4> r[a0.1, 1]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD0(0, 2)<4> r[a0.0, 1]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD0(0, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD0(1, 0)<4> r[a0.2, 33]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD0(1, 1)<4> r[a0.1, 33]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD0(1, 2)<4> r[a0.0, 33]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD0(1, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD1(0, 0)<4> r[a0.6, 1]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD1(0, 1)<4> r[a0.5, 1]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD1(0, 2)<4> r[a0.4, 1]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD1(0, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD1(1, 0)<4> r[a0.6, 33]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD1(1, 1)<4> r[a0.5, 33]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD1(1, 2)<4> r[a0.4, 33]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD1(1, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD2(0, 0)<4> r[a0.2, 17]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD2(0, 1)<4> r[a0.1, 17]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD2(0, 2)<4> r[a0.0, 17]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD2(0, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD2(1, 0)<4> r[a0.2, 49]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD2(1, 1)<4> r[a0.1, 49]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD2(1, 2)<4> r[a0.0, 49]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD2(1, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD3(0, 0)<4> r[a0.6, 17]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD3(0, 1)<4> r[a0.5, 17]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD3(0, 2)<4> r[a0.4, 17]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD3(0, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD3(1, 0)<4> r[a0.6, 49]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD3(1, 1)<4> r[a0.5, 49]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD3(1, 2)<4> r[a0.4, 49]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD3(1, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ // write Buf_3 to 4th quarter of four horizontal output blocks\r
+ add (4) a0.0:uw r22.0<4;4,1>:w 1536:uw\r
+\r
+ // pointer swap\r
+ (f0.0) mov (1) uwTemp0<1> a0.0:uw\r
+ (f0.0) mov (1) a0.0:uw a0.2:uw\r
+ (f0.0) mov (1) a0.2:uw uwTemp0<0;1,0>\r
+\r
+ add (4) a0.4:uw a0.0<4;4,1>:w r22.8<0;2,1>:w\r
+\r
+ mov (8) mubMSGPAYLOAD4(0, 0)<4> r[a0.2, 1]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD4(0, 1)<4> r[a0.1, 1]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD4(0, 2)<4> r[a0.0, 1]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD4(0, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD4(1, 0)<4> r[a0.2, 33]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD4(1, 1)<4> r[a0.1, 33]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD4(1, 2)<4> r[a0.0, 33]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD4(1, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD5(0, 0)<4> r[a0.6, 1]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD5(0, 1)<4> r[a0.5, 1]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD5(0, 2)<4> r[a0.4, 1]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD5(0, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD5(1, 0)<4> r[a0.6, 33]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD5(1, 1)<4> r[a0.5, 33]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD5(1, 2)<4> r[a0.4, 33]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD5(1, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD6(0, 0)<4> r[a0.2, 17]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD6(0, 1)<4> r[a0.1, 17]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD6(0, 2)<4> r[a0.0, 17]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD6(0, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD6(1, 0)<4> r[a0.2, 49]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD6(1, 1)<4> r[a0.1, 49]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD6(1, 2)<4> r[a0.0, 49]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD6(1, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD7(0, 0)<4> r[a0.6, 17]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD7(0, 1)<4> r[a0.5, 17]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD7(0, 2)<4> r[a0.4, 17]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD7(0, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ mov (8) mubMSGPAYLOAD7(1, 0)<4> r[a0.6, 49]<16;8,2> { NoDDClr }\r
+ mov (8) mubMSGPAYLOAD7(1, 1)<4> r[a0.5, 49]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD7(1, 2)<4> r[a0.4, 49]<16;8,2> { NoDDClr, NoDDChk }\r
+ mov (8) mubMSGPAYLOAD7(1, 3)<4> r2.31:ub { NoDDChk }\r
+\r
+ // send buffer 2 and buffer 3 \r
+ send (1) null<1>:d r28 0x5 0x60A8018:ud\r
+ send (1) null<1>:d r37 0x5 0x60A8018:ud\r
+ send (1) null<1>:d r46 0x5 0x60A8018:ud\r
+ send (1) null<1>:d r55 0x5 0x60A8018:ud\r
+\r
+ send (1) null<1>:d r31 0x5 0x60A8018:ud\r
+ send (1) null<1>:d r40 0x5 0x60A8018:ud\r
+ send (1) null<1>:d r49 0x5 0x60A8018:ud\r
+ send (1) null<1>:d r58 0x5 0x60A8018:ud\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 7 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-//Module Name: Set_AVS_Buf_0123_BGRA.asm
-
-
-//Module Name: Set_Buf_0123_BGRA
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
- //AVS LAYOUT:(UUYYVVAA)
- //Assign buffer channel order for Buffer 0123 in the order AUYV a0.3>A, a0.2>U, a0.1>Y, a0.0>V
- // V = 8, Y= 4, U = 0, A = 12.
- mov (4) acc0.0<1>:w 0x6AE2:v
- add (4) acc0.0<1>:w acc0<4;4,1>:w 70:uw
- shl (4) r22.0<1>:w acc0<4;4,1>:w 5:uw
-
- //OPT: wAVS_SU_SHUFFLE_PTR_0 and udAVS_SU_SHUFFLE_OFF_0 are sub-regs of same GRF. -rT
-
- //SU LAYOUT:(VYUAVYUA)
- //V = 4, Y = 2, U = 0, A = 6
- mov (4) acc0.0<1>:w 0x6024:v
- add (4) acc0.0<1>:w acc0<4;4,1>:w 64:uw
- shl (4) r18.0<1>:w acc0<4;4,1>:w 5:uw { NoDDClr } //Convert to BYTE address.
-
- //OFFSET:
- mov (1) r18.4<1>:ud 0x1000100:ud { NoDDChk }
-
-
+// 7 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//Module Name: Set_AVS_Buf_0123_BGRA.asm\r
+\r
+\r
+\r
+//Module Name: Set_Buf_0123_BGRA\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+ //AVS LAYOUT:(UUYYVVAA)\r
+ //Assign buffer channel order for Buffer 0123 in the order AUYV a0.3>A, a0.2>U, a0.1>Y, a0.0>V\r
+ // V = 8, Y= 4, U = 0, A = 12.\r
+ mov (4) acc0.0<1>:w 0x6AE2:v\r
+ add (4) acc0.0<1>:w acc0<4;4,1>:w 70:uw\r
+ shl (4) r22.0<1>:w acc0<4;4,1>:w 5:uw\r
+\r
+ //OPT: wAVS_SU_SHUFFLE_PTR_0 and udAVS_SU_SHUFFLE_OFF_0 are sub-regs of same GRF. -rT\r
+\r
+ //SU LAYOUT:(VYUAVYUA)\r
+ //V = 4, Y = 2, U = 0, A = 6\r
+ mov (4) acc0.0<1>:w 0x6024:v\r
+ add (4) acc0.0<1>:w acc0<4;4,1>:w 64:uw\r
+ shl (4) r18.0<1>:w acc0<4;4,1>:w 5:uw { NoDDClr } //Convert to BYTE address.\r
+\r
+ //OFFSET:\r
+ mov (1) r18.4<1>:ud 0x1000100:ud { NoDDChk }\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 7 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-//Module Name: Set_AVS_Buf_0123_PL2.asm
-
-
-//Module Name: Set_Buf_0123_PL2
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
- //AVS LAYOUT: (YYUUVVAA)
- //Assign buffer channel order for Buffer 0123 in the order AUYV a0.3>A, a0.2>U, a0.1>Y, a0.0>V
- //For PL2-AVS: V = 8, Y= 0, U = 4, A = 12.
- mov (4) acc0.0<1>:w 0x6EA2:v //Subtract 6 from 0,4,8,12
- add (4) acc0.0<1>:w acc0<4;4,1>:w 70:uw //add 6 back
- shl (4) r22.0<1>:w acc0<4;4,1>:w 5:uw //Convert to BYTE address.
-
- //OPT: wAVS_SU_SHUFFLE_PTR_0 and udAVS_SU_SHUFFLE_OFF_0 are sub-regs of same GRF. -rT
- //SU LAYOUT:(YUVAYUVA)
- //V = 4, Y = 0, U = 2, A = 6
- mov (4) acc0.0<1>:w 0x6204:v
- add (4) acc0.0<1>:w acc0<4;4,1>:w 64:uw
- shl (4) r18.0<1>:w acc0<4;4,1>:w 5:uw { NoDDClr } //Convert to BYTE address.
-
- //OFFSET:
- mov (1) r18.4<1>:ud 0x1000100:ud { NoDDChk }
-
-
+// 7 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//Module Name: Set_AVS_Buf_0123_PL2.asm\r
+\r
+\r
+\r
+//Module Name: Set_Buf_0123_PL2\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+ //AVS LAYOUT: (YYUUVVAA)\r
+ //Assign buffer channel order for Buffer 0123 in the order AUYV a0.3>A, a0.2>U, a0.1>Y, a0.0>V\r
+ //For PL2-AVS: V = 8, Y= 0, U = 4, A = 12.\r
+ mov (4) acc0.0<1>:w 0x6EA2:v //Subtract 6 from 0,4,8,12\r
+ add (4) acc0.0<1>:w acc0<4;4,1>:w 70:uw //add 6 back\r
+ shl (4) r22.0<1>:w acc0<4;4,1>:w 5:uw //Convert to BYTE address.\r
+\r
+ //OPT: wAVS_SU_SHUFFLE_PTR_0 and udAVS_SU_SHUFFLE_OFF_0 are sub-regs of same GRF. -rT\r
+ //SU LAYOUT:(YUVAYUVA)\r
+ //V = 4, Y = 0, U = 2, A = 6\r
+ mov (4) acc0.0<1>:w 0x6204:v\r
+ add (4) acc0.0<1>:w acc0<4;4,1>:w 64:uw\r
+ shl (4) r18.0<1>:w acc0<4;4,1>:w 5:uw { NoDDClr } //Convert to BYTE address.\r
+\r
+ //OFFSET:\r
+ mov (1) r18.4<1>:ud 0x1000100:ud { NoDDChk }\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 7 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-//Module Name: Set_AVS_Buf_0123_PL3.asm
-
-
-//Module Name: Set_Buf_0123_PL3
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
- //AVS LAYOUT: (YYUUVVAA)
- //Assign buffer channel order for Buffer 0123 in the order AUYV a0.3>A, a0.2>U, a0.1>Y, a0.0>V
- //For PL3-AVS: V = 8, Y= 0, U = 4, A = 12.
- mov (4) acc0.0<1>:w 0x6EA2:v //Subtract 6 from 0,4,8,12
- add (4) acc0.0<1>:w acc0<4;4,1>:w 70:uw //add 6 back
- shl (4) r22.0<1>:w acc0<4;4,1>:w 5:uw //Convert to BYTE address.
-
- //OPT: wAVS_SU_SHUFFLE_PTR_0 and udAVS_SU_SHUFFLE_OFF_0 are sub-regs of same GRF. -rT
- //SU LAYOUT:(YUVAYUVA)
- //V = 4, Y = 0, U = 2, A = 6
- mov (4) acc0.0<1>:w 0x6204:v
- add (4) acc0.0<1>:w acc0<4;4,1>:w 64:uw
- shl (4) r18.0<1>:w acc0<4;4,1>:w 5:uw { NoDDClr } //Convert to BYTE address.
-
- //OFFSET:
- mov (1) r18.4<1>:ud 0x1000100:ud { NoDDChk }
-
-
+// 7 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//Module Name: Set_AVS_Buf_0123_PL3.asm\r
+\r
+\r
+\r
+//Module Name: Set_Buf_0123_PL3\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+ //AVS LAYOUT: (YYUUVVAA)\r
+ //Assign buffer channel order for Buffer 0123 in the order AUYV a0.3>A, a0.2>U, a0.1>Y, a0.0>V\r
+ //For PL3-AVS: V = 8, Y= 0, U = 4, A = 12.\r
+ mov (4) acc0.0<1>:w 0x6EA2:v //Subtract 6 from 0,4,8,12\r
+ add (4) acc0.0<1>:w acc0<4;4,1>:w 70:uw //add 6 back\r
+ shl (4) r22.0<1>:w acc0<4;4,1>:w 5:uw //Convert to BYTE address.\r
+\r
+ //OPT: wAVS_SU_SHUFFLE_PTR_0 and udAVS_SU_SHUFFLE_OFF_0 are sub-regs of same GRF. -rT\r
+ //SU LAYOUT:(YUVAYUVA)\r
+ //V = 4, Y = 0, U = 2, A = 6\r
+ mov (4) acc0.0<1>:w 0x6204:v\r
+ add (4) acc0.0<1>:w acc0<4;4,1>:w 64:uw\r
+ shl (4) r18.0<1>:w acc0<4;4,1>:w 5:uw { NoDDClr } //Convert to BYTE address.\r
+\r
+ //OFFSET:\r
+ mov (1) r18.4<1>:ud 0x1000100:ud { NoDDChk }\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 7 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-//Module Name: Set_AVS_Buf_0123_YUVA.asm
-
-
-// Module Name : Set_Buf_0123_VUYA
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
- //For AVS: We use surface state as R8G8B8A8_UNORM and hence set pointers to VUYA.
- //AVS LAYOUT:(VVUUYYAA)
- //Assign buffer channel order for Buffer 0123 in the order AUYV a0.3>A, a0.2>U, a0.1>Y, a0.0>V
- //V = 0, Y= 8, U = 4, A = 12.
- mov (4) acc0.0<1>:w 0x6E2A:v
- add (4) acc0.0<1>:w acc0<4;4,1>:w 70:uw
- shl (4) r22.0<1>:w acc0<4;4,1>:w 5:uw
-
- //Used by Shuffle.
- //SU LAYOUT:(VUYAVUYA)
- //V = 0, Y = 4, U = 2, A = 6
- mov (4) acc0.0<1>:w 0x6240:v
- add (4) acc0.0<1>:w acc0<4;4,1>:w 64:uw
- shl (4) r18.0<1>:w acc0<4;4,1>:w 5:uw { NoDDClr } //Convert to BYTE address.
-
- //OFFSET:
- mov (1) r18.4<1>:ud 0x1000100:ud { NoDDChk }
-
-
+// 7 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//Module Name: Set_AVS_Buf_0123_YUVA.asm\r
+\r
+\r
+\r
+// Module Name : Set_Buf_0123_VUYA\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+ //For AVS: We use surface state as R8G8B8A8_UNORM and hence set pointers to VUYA.\r
+ //AVS LAYOUT:(VVUUYYAA)\r
+ //Assign buffer channel order for Buffer 0123 in the order AUYV a0.3>A, a0.2>U, a0.1>Y, a0.0>V\r
+ //V = 0, Y= 8, U = 4, A = 12.\r
+ mov (4) acc0.0<1>:w 0x6E2A:v\r
+ add (4) acc0.0<1>:w acc0<4;4,1>:w 70:uw\r
+ shl (4) r22.0<1>:w acc0<4;4,1>:w 5:uw\r
+\r
+ //Used by Shuffle.\r
+ //SU LAYOUT:(VUYAVUYA)\r
+ //V = 0, Y = 4, U = 2, A = 6\r
+ mov (4) acc0.0<1>:w 0x6240:v\r
+ add (4) acc0.0<1>:w acc0<4;4,1>:w 64:uw\r
+ shl (4) r18.0<1>:w acc0<4;4,1>:w 5:uw { NoDDClr } //Convert to BYTE address.\r
+\r
+ //OFFSET:\r
+ mov (1) r18.4<1>:ud 0x1000100:ud { NoDDChk }\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 7 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-//Module Name: Set_AVS_Buf_0123_VYUA.asm
-
-
-//Module Name: Set_Buf_0123_VYUA
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
- //AVS LAYOUT:(VVYYUUAA)
- //Assign buffer channel order for Buffer 0123 in the order AUYV a0.3>A, a0.2>U, a0.1>Y, a0.0>V
- // V = 0, Y= 4, U = 8, A = 12.
- mov (4) acc0.0<1>:w 0x62EA:v //Subtract 6 from 0,4,8,12
- add (4) acc0.0<1>:w acc0<4;4,1>:w 70:uw //add 6 back
- shl (4) r22.0<1>:w acc0<4;4,1>:w 5:uw //Convert to BYTE address.
-
- //OPT: wAVS_SU_SHUFFLE_PTR_0 and udAVS_SU_SHUFFLE_OFF_0 are sub-regs of same GRF. -rT
-
- //SU LAYOUT:(VYUAVYUA)
- //V = 0, Y = 2, U = 4, A = 6
- mov (4) acc0.0<1>:w 0x6420:v
- add (4) acc0.0<1>:w acc0<4;4,1>:w 64:uw
- shl (4) r18.0<1>:w acc0<4;4,1>:w 5:uw { NoDDClr } //Convert to BYTE address.
-
- //OFFSET:
- mov (1) r18.4<1>:ud 0x1000100:ud { NoDDChk }
-
-
+// 7 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//Module Name: Set_AVS_Buf_0123_VYUA.asm\r
+\r
+\r
+\r
+//Module Name: Set_Buf_0123_VYUA\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+ //AVS LAYOUT:(VVYYUUAA)\r
+ //Assign buffer channel order for Buffer 0123 in the order AUYV a0.3>A, a0.2>U, a0.1>Y, a0.0>V\r
+ // V = 0, Y= 4, U = 8, A = 12.\r
+ mov (4) acc0.0<1>:w 0x62EA:v //Subtract 6 from 0,4,8,12\r
+ add (4) acc0.0<1>:w acc0<4;4,1>:w 70:uw //add 6 back\r
+ shl (4) r22.0<1>:w acc0<4;4,1>:w 5:uw //Convert to BYTE address.\r
+\r
+ //OPT: wAVS_SU_SHUFFLE_PTR_0 and udAVS_SU_SHUFFLE_OFF_0 are sub-regs of same GRF. -rT\r
+\r
+ //SU LAYOUT:(VYUAVYUA)\r
+ //V = 0, Y = 2, U = 4, A = 6\r
+ mov (4) acc0.0<1>:w 0x6420:v\r
+ add (4) acc0.0<1>:w acc0<4;4,1>:w 64:uw\r
+ shl (4) r18.0<1>:w acc0<4;4,1>:w 5:uw { NoDDClr } //Convert to BYTE address.\r
+\r
+ //OFFSET:\r
+ mov (1) r18.4<1>:ud 0x1000100:ud { NoDDChk }\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 17 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-
-//Module name: Set_Layer_N.inc
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
-//Used to generate LABELS at compile time.
-
-
-//definitions for Expand Mask
-.declare uwMask_Temp1 Base=r17.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-.declare ubMask_Temp1 Base=r17.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub // 1 GRF
-.declare udMask_Temp1 Base=r17.0 ElementSize=4 Type=ud // 1 GRF
-.declare uwMask_Temp2 Base=r16.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-.declare ubMask_Temp2 Base=r16.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub // 1 GRF
-.declare udMask_Temp2 Base=r16.0 ElementSize=4 Type=ud // 1 GRF
-
-.declare uwMask_Temp3 Base=r15.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-.declare ubMask_Temp3 Base=r15.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub // 1 GRF
-
-.declare udALPHA_MASK_REG Base=r21.0 ElementSize=4 Type=ud // 1 GRF
-.declare udALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//Initialize mask reg to FFFF
-
- mov (16) uwALPHA_MASK_REG(0)<1> 0xFFFF:uw
-
-
-//Fast jump for -
-//LAYER0: we determine whether layer 0 is to be loaded and processed or not based
-// on block mask in module "Set_Layer_0" and store result in f0.1.
-// This flag is then directly used to while loading buf0-3 and colorfill.
-// (So flag f0.1 should not be changed from Set_Layer_0 till Colorfill)
-//
-//LAYER1-7: For all other layers, we compute whether layer is to be loaded and processed
-// based on block mask in module "Set_Layer_1-7" and store result in SKIP_LAYER
-// variable.
-// While Loading buf 4 and 5, we move SKIP_LAYER to f0.0 every time and use it
-// for Loading.
-// For processing though, we move SKIP_LAYER only once to f0.1 in module
-// "Set_Buf0_Buf4" and use f0.1 for deciding whether layer 1-7 (all 4 sub blocks)
-// is to be processed or not.
-// (So flag f0.1) should not be modififed from module "Set_Buf0_Buf4" till module
-// that processess sub-block 3).
-//
-//None of the above fast jumps, apply to CSC modules. We always perform CSC irrespective of mask.
-//
-//Example: (Without going into finer details)
-// Typical Combined kernel:
-//
-// (let var = decision whether to load/process that layer)
-//
-// Set_Layer_0 //f0.1 <- var
-// ..
-// Set_Layer_1 //f0.1 <- var, SKIP_LAYER <- var
-// ..
-// Load buf 0 //use f0.1
-// Load buf 4 //f0.0 <- SKIP_LAYER
-// Load buf 1 //use f0.1
-// Load buf 5 //f0.0 <- SKIP_LAYER
-// Load buf 2 //use f0.1
-// Load buf 3 //use f0.1
-// ..
-// ..
-// Colorfill
-// ..
-// Set_Buf0_Buf4 //f0.1 <- SKIP_LAYER
-// process0-4 //Use f0.1
-// Load buf 4
-// Set_Buf1_Buf5
-// process1-5
-// Load buf 5
-// ..
-// Set_Layer_2 //f0.1 <-var, SKIP_LAYER <- var
-// ..
-// Set_Buf2_Buf4
-// process2-4
-// Load buf 4
-// Set_Buf3_Buf5
-// process3-5
-// Load buf 5
-// ..
-
-
- //For layer 0, use f0.1 directly
- cmp.ne.f0.1 (1) null<1>:d r7.2:uw 0:uw
- (f0.1)cmp.ne.f0.1 (1) null<1>:d r7.3:uw 0:uw
- (-f0.1) jmpi (1) SKIP_LAYER_L0
-
-
- //Copy all AVS Payload data
- // Setup Message Payload Header for 1st block of Media Sampler 8x8 (16x4 for IVB+)
- mov (1) r25.6:f r7.5:f { NoDDClr } //NLAS dx
- mov (1) r25.4:f r3.0:f { NoDDClr, NoDDChk } //Step X
- mov (1) r25.5:f r4.0:f { NoDDClr, NoDDChk } //Step Y
- mov (1) r25.2:f r6.0<0;1,0>:f { NoDDClr, NoDDChk } //Orig X
- mov (1) r25.3:f r5.0<0;1,0>:f { NoDDChk } //Orig Y
-
- //NLAS calculations for 2nd half of blocks of Media Sampler 8x8:
- // X(i) = X0 + dx*i + ddx*i*(i-1)/2 ==> X(8) = X0 + dx*8 +ddx*28
- // dx(i)= dx(0) + ddx*i ==> dx(8)= dx + ddx*8
-
- //OPTIMIZATION: fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY - are sub registers of same GRF. Use NODDCLR NODDCHK. -rT
-
- // Calculating X(8)
- mov (1) acc0.2:f r6.0:f
- mac (1) acc0.2:f r3.0:f 8.0:f
- mac (1) r23.2:f r7.5:f 28.0:f { NoDDClr }
-
- // Calculating Y(4)
- mul (1) r23.1<1>:f r4.0:f 4.0:f { NoDDClr, NoDDChk } //dY*4
-
- // Calculating dx(8)
- mov (1) acc0.4:f r3.0:f
- mac (1) r23.4:f r7.5:f 8.0:f { NoDDClr, NoDDChk }
-
- // Binding Index
- mov (1) r23.5:ud 0:ud { NoDDChk }
-
-
-SKIP_LAYER_L0:
- nop
-
-
+// 18 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+\r
+\r
+\r
+\r
+//Module name: Set_Layer_N.inc\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+//Used to generate LABELS at compile time.\r
+\r
+\r
+//definitions for Expand Mask\r
+.declare uwMask_Temp1 Base=r17.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+.declare ubMask_Temp1 Base=r17.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub // 1 GRF\r
+.declare udMask_Temp1 Base=r17.0 ElementSize=4 Type=ud // 1 GRF\r
+.declare uwMask_Temp2 Base=r16.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+.declare ubMask_Temp2 Base=r16.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub // 1 GRF\r
+.declare udMask_Temp2 Base=r16.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+.declare uwMask_Temp3 Base=r15.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+.declare ubMask_Temp3 Base=r15.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub // 1 GRF\r
+\r
+.declare udALPHA_MASK_REG Base=r21.0 ElementSize=4 Type=ud // 1 GRF\r
+.declare udALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//Initialize mask reg to FFFF\r
+\r
+ mov (16) uwALPHA_MASK_REG(0)<1> 0xFFFF:uw\r
+\r
+\r
+//Fast jump for -\r
+//LAYER0: we determine whether layer 0 is to be loaded and processed or not based\r
+// on block mask in module "Set_Layer_0" and store result in f0.1.\r
+// This flag is then directly used to while loading buf0-3 and colorfill.\r
+// (So flag f0.1 should not be changed from Set_Layer_0 till Colorfill)\r
+//\r
+//LAYER1-7: For all other layers, we compute whether layer is to be loaded and processed\r
+// based on block mask in module "Set_Layer_1-7" and store result in SKIP_LAYER\r
+// variable.\r
+// While Loading buf 4 and 5, we move SKIP_LAYER to f0.0 every time and use it\r
+// for Loading.\r
+// For processing though, we move SKIP_LAYER only once to f0.1 in module\r
+// "Set_Buf0_Buf4" and use f0.1 for deciding whether layer 1-7 (all 4 sub blocks)\r
+// is to be processed or not.\r
+// (So flag f0.1) should not be modififed from module "Set_Buf0_Buf4" till module\r
+// that processess sub-block 3).\r
+//\r
+//None of the above fast jumps, apply to CSC modules. We always perform CSC irrespective of mask.\r
+//\r
+//Example: (Without going into finer details)\r
+// Typical Combined kernel:\r
+//\r
+// (let var = decision whether to load/process that layer)\r
+//\r
+// Set_Layer_0 //f0.1 <- var\r
+// ..\r
+// Set_Layer_1 //f0.1 <- var, SKIP_LAYER <- var\r
+// ..\r
+// Load buf 0 //use f0.1\r
+// Load buf 4 //f0.0 <- SKIP_LAYER\r
+// Load buf 1 //use f0.1\r
+// Load buf 5 //f0.0 <- SKIP_LAYER\r
+// Load buf 2 //use f0.1\r
+// Load buf 3 //use f0.1\r
+// ..\r
+// ..\r
+// Colorfill\r
+// ..\r
+// Set_Buf0_Buf4 //f0.1 <- SKIP_LAYER\r
+// process0-4 //Use f0.1\r
+// Load buf 4\r
+// Set_Buf1_Buf5\r
+// process1-5\r
+// Load buf 5\r
+// ..\r
+// Set_Layer_2 //f0.1 <-var, SKIP_LAYER <- var\r
+// ..\r
+// Set_Buf2_Buf4\r
+// process2-4\r
+// Load buf 4\r
+// Set_Buf3_Buf5\r
+// process3-5\r
+// Load buf 5\r
+// ..\r
+\r
+\r
+ //For layer 0, use f0.1 directly\r
+ cmp.ne.f0.1 (1) null<1>:d r7.2:uw 0:uw\r
+ (f0.1)cmp.ne.f0.1 (1) null<1>:d r7.3:uw 0:uw\r
+ (-f0.1) jmpi (1) SKIP_LAYER_L0\r
+\r
+\r
+ and (1) r24.2:ub r2.2<0;1,0>:uw 3:uw \r
+\r
+\r
+ //Copy all AVS Payload data\r
+ // Setup Message Payload Header for 1st block of Media Sampler 8x8 (16x4 for IVB+)\r
+ mov (1) r25.6:f r7.5:f { NoDDClr } //NLAS dx\r
+ mov (1) r25.4:f r3.0:f { NoDDClr, NoDDChk } //Step X\r
+ mov (1) r25.5:f r4.0:f { NoDDClr, NoDDChk } //Step Y\r
+\r
+\r
+ mov (1) r25.2:f r6.0<0;1,0>:f { NoDDClr, NoDDChk } //Orig X\r
+ mov (1) r25.3:f r5.0<0;1,0>:f { NoDDChk } //Orig Y\r
+\r
+ //NLAS calculations for 2nd half of blocks of Media Sampler 8x8:\r
+ // X(i) = X0 + dx*i + ddx*i*(i-1)/2 ==> X(8) = X0 + dx*8 +ddx*28\r
+ // dx(i)= dx(0) + ddx*i ==> dx(8)= dx + ddx*8\r
+\r
+ //OPTIMIZATION: fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY - are sub registers of same GRF. Use NODDCLR NODDCHK. -rT\r
+\r
+ // Calculating X(8)\r
+ mov (1) acc0.2:f r6.0:f\r
+ mac (1) acc0.2:f r3.0:f 8.0:f\r
+ mac (1) r23.2:f r7.5:f 28.0:f { NoDDClr }\r
+\r
+ // Calculating Y(4)\r
+ mul (1) r23.1<1>:f r4.0:f 4.0:f { NoDDClr, NoDDChk } //dY*4\r
+\r
+ // Calculating dx(8)\r
+ mov (1) acc0.4:f r3.0:f\r
+ mac (1) r23.4:f r7.5:f 8.0:f { NoDDClr, NoDDChk }\r
+\r
+ // Binding Index\r
+ mov (1) r23.5:ud 0:ud { NoDDChk }\r
+\r
+\r
+SKIP_LAYER_L0:\r
+ nop\r
+\r
+\r
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// 10 // Total instruction count
-// 1 // Total kernel count
-
-
-// Module name: common.inc
-//
-// Common header file for all Video-Processing kernels
-//
-
-.default_execution_size (16)
-.default_register_type :ub
-
-.reg_count_total 128
-.reg_count_payload 7
-
-//========== Common constants ==========
-
-
-//========== Macros ==========
-
-
-//Fast Jump, For more details see "Set_Layer_N.asm"
-
-
-//========== Defines ====================
-
-//========== Static Parameters (Common To All) ==========
-//r1
-
-
-//r2
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-//Color Pipe (IECP) parameters
-
-
-//r4
-
- // e.g. byte0 byte1 byte2
- // YUYV 0 1 3
- // YVYU 0 3 1
-
-
-//========== Inline parameters (Common To All) ===========
-
-
-//============== Binding Index Table===========
-//Common between DNDI and DNUV
-
-
-//================= Common Message Descriptor =====
-// Message descriptor for thread spawning
-// Message Descriptors
-// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)
-// 0000,0000,0000
-// 0001(Spawn a root thread),0001 (Root thread spawn thread)
-// = 0x02000011
-// Thread Spawner Message Descriptor
-
-
-// Message descriptor for atomic operation add
-// Message Descriptors
-// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)
-// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
-// 0000,0000 (Binding table index, added later)
-// = 0x02000011
-
-// Atomic Operation Add Message Descriptor
-
-
-// Message descriptor for dataport media write
- // Message Descriptors
- // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
- // 1 (header present 1) 0 1010 (media block write) 000000
- // 00000000 (binding table index - set later)
- // = 0x020A8000
-
-
-// Message Length defines
-
-
-// Response Length defines
-
-
-// Block Width and Height Size defines
-
-
-// Extended Message Descriptors
-
-
-// Common message descriptors:
-
-
-//===================== Math Function Control ===================================
-
-
-//============ Message Registers ===============
- // buf4 starts from r28
-
-
-//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT
-
-
-.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
-.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
-.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
-.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
-
-//=================== End of thread instruction ===========================
-
-
-//=====================Pointers Used=====================================
-
-
-//=======================================================================
-
-
-//r9-r17
-// Define temp space for any usages
-
-
-// Common Buffers
-
-
-// End of common.inc
-
-// FileName: VP_Setup.asm
-// Author: Vivek Kumar
-// Description: Sets up all parameters for the Video Processing Kernel
-
-
-// Description: Includes all definitions explicit to Fast Composite.
-
-
-// End of common.inc
-
-
-//========== GRF partition ==========
- // r0 header : r0 (1 GRF)
- // Static parameters : r1 - r6 (6 GRFS)
- // Inline parameters : r7 - r8 (2 GRFs)
- // MSGSRC : r27 (1 GRF)
-//===================================
-
-//Interface:
-//========== Static Parameters (Explicit To Fast Composite) ==========
-//r1
-//CSC Set 0
-
-
-.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud
-
-//Constant alpha
-
-
-//r2
-
-
-// WiDi Definitions
-
-
-//Colorfill
-
-
-.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub
-
-//r3
-//Normalised Ratio of Horizontal step size with main video for all layers
-
-
- //Normalised Ratio of Horizontal step size with main video for all layers becomes
- //Normalised Horizontal step size for all layers in VP_Setup.asm
-
-
-//r4
-//Normalised Vertical step size for all layers
-
-
-//r5
-//Normalised Vertical Frame Origin for all layers
-
-
-//r6
-//Normalised Horizontal Frame Origin for all layers
-
-
-//========== Inline Parameters (Explicit To Fast Composite) ==========
-
-
-//Main video Step X
-
-
-//====================== Binding table (Explicit To Fast Composite)=========================================
-
-
-//Used by Interlaced Scaling Kernels
-
-
-//========== Sampler State Table Index (Explicit To Fast Composite)==========
-//Sampler Index for AVS/IEF messages
-
-
-//Sampler Index for SIMD16 sampler messages
-
-
-//=============================================================================
-
-.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f
-
-.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud
-
-.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw
-
-.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub
-
-.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub
-
-//Pointer to mask reg
-
-
-//r18
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF
-
-//r19
-
-
-.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF
-
-
-//r20
-
-.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r21
-
-.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF
-
-//r22
-
-
-//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
-// NODDCLR, NODDCHK flags. -rT
-
-
-//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
-//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
-
-//r23
-
-
-//Lumakey
-
-
-//r24
-
-
-//r25
-
-
-//r26
-
-
-//defines to generate LABELS during compile time.
-
-
-//Setup pointer to the inline parameter
-
-// Copy MSG HDR
- mov (8) r27.0<1>:ud r0.0<8;8,1>:ud // Initialize message payload header with R0
-
-
-//temp; remove it once unread msg warnings are resolved -vK
-mov (8) r25:ud r0.0<8;8,1>:ud
-mov (8) r26:ud r0.0<8;8,1>:ud
-
-// Calculate StepX for all layers and overwrite it on the ratio
- mul (8) r3.0<1>:f r3.0<8;8,1>:f r7.4<0;1,0>:f //StepX_ratio = StepX / VideoStepX
-
- //Normalised Ratio of Horizontal step size with main video for all layers now becomes
- //Normalised Horizontal step size for all layers
-
-// Calculate block origin for all layers and overwrite it on the frame origin
- mov (2) r8.5<1>:f r7.0<2;2,1>:w //Convert origin from word to float
-
- cmp.e.f0.0 (8) null<1>:d r2.26:ub 1:uw
-
- (-f0.0)mov (8) acc0:f r6.0<8;8,1>:f
- (-f0.0)mac (8) r6.0<1>:f r3.0<8;8,1>:f r8.5<0;1,0>:f
-
- mov (8) acc0:f r5.0<8;8,1>:f
- mac (8) r5.0<1>:f r4.0<8;8,1>:f r8.6<0;1,0>:f
-
-// Calculate X(8) and Y(4), Y(8), Y(12) -vK
+/*\r
+ * Copyright 2000-2011 Intel Corporation All Rights Reserved\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+\r
+// 326 // Total instruction count\r
+// 1 // Total kernel count\r
+\r
+\r
+\r
+// Module name: common.inc\r
+//\r
+// Common header file for all Video-Processing kernels\r
+//\r
+\r
+.default_execution_size (16)\r
+.default_register_type :ub\r
+\r
+.reg_count_total 128\r
+.reg_count_payload 7\r
+\r
+//========== Common constants ==========\r
+\r
+\r
+//========== Macros ==========\r
+\r
+\r
+//Fast Jump, For more details see "Set_Layer_N.asm"\r
+\r
+\r
+//========== Defines ====================\r
+\r
+//========== Static Parameters (Common To All) ==========\r
+//r1\r
+\r
+\r
+//r2\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+//Color Pipe (IECP) parameters\r
+\r
+\r
+//ByteCopy\r
+\r
+\r
+//r4\r
+\r
+ // e.g. byte0 byte1 byte2\r
+ // YUYV 0 1 3\r
+ // YVYU 0 3 1\r
+\r
+\r
+//========== Inline parameters (Common To All) ===========\r
+\r
+\r
+//============== Binding Index Table===========\r
+//Common between DNDI and DNUV\r
+\r
+\r
+//================= Common Message Descriptor =====\r
+// Message descriptor for thread spawning\r
+// Message Descriptors\r
+// = 000 0001 (min message len 1 ) 0,0000 (resp len 0 -add later)\r
+// 0000,0000,0000\r
+// 0001(Spawn a root thread),0001 (Root thread spawn thread)\r
+// = 0x02000011\r
+// Thread Spawner Message Descriptor\r
+\r
+\r
+// Message descriptor for atomic operation add\r
+// Message Descriptors\r
+// = 000 0110 (min message len 6 ) 0,0000 (resp len 0 -add later)\r
+// 1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)\r
+// 0000,0000 (Binding table index, added later)\r
+// = 0x02000011\r
+\r
+// Atomic Operation Add Message Descriptor\r
+\r
+\r
+// Message descriptor for dataport media write\r
+ // Message Descriptors\r
+ // = 000 0001 (min message len 1 - add later) 00000 (resp len 0)\r
+ // 1 (header present 1) 0 1010 (media block write) 000000\r
+ // 00000000 (binding table index - set later)\r
+ // = 0x020A8000\r
+\r
+\r
+// Message Length defines\r
+\r
+\r
+// Response Length defines\r
+\r
+\r
+// Block Width and Height Size defines\r
+\r
+\r
+// Extended Message Descriptors\r
+\r
+\r
+// Common message descriptors:\r
+\r
+\r
+//===================== Math Function Control ===================================\r
+\r
+\r
+//============ Message Registers ===============\r
+ // buf4 starts from r28\r
+\r
+\r
+//#define mMSGHDR_EOT r43 // Dummy Message Register for EOT\r
+\r
+\r
+.declare mubMSGPAYLOAD Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub\r
+.declare muwMSGPAYLOAD Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw\r
+.declare mudMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud\r
+.declare mfMSGPAYLOAD Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f\r
+\r
+//=================== End of thread instruction ===========================\r
+\r
+\r
+//=====================Pointers Used=====================================\r
+\r
+\r
+//=======================================================================\r
+\r
+\r
+//r9-r17\r
+// Define temp space for any usages\r
+\r
+\r
+// Common Buffers\r
+\r
+\r
+// temp space for rotation\r
+\r
+.declare fROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udROBUF Base=r9.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwROBUF Base=r9.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubROBUF Base=r9.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4ROBUF Base=r9.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+// FileName: VP_Setup.asm\r
+// Author: Vivek Kumar\r
+// Description: Sets up all parameters for the Video Processing Kernel\r
+\r
+\r
+\r
+\r
+// Description: Includes all definitions explicit to Fast Composite.\r
+\r
+\r
+\r
+\r
+// End of common.inc\r
+\r
+\r
+//========== GRF partition ==========\r
+ // r0 header : r0 (1 GRF)\r
+ // Static parameters : r1 - r6 (6 GRFS)\r
+ // Inline parameters : r7 - r8 (2 GRFs)\r
+ // MSGSRC : r27 (1 GRF)\r
+//===================================\r
+\r
+//Interface:\r
+//========== Static Parameters (Explicit To Fast Composite) ==========\r
+//r1\r
+//CSC Set 0\r
+\r
+\r
+.declare udCSC_CURBE Base=r1.0 ElementSize=4 Type=ud\r
+\r
+//Constant alpha\r
+\r
+\r
+//r2\r
+\r
+\r
+// Gen7 AVS WA\r
+\r
+\r
+// WiDi Definitions\r
+\r
+\r
+//Colorfill\r
+\r
+\r
+ // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise. \r
+\r
+.declare ubCOLOR_PIXEL_VAL Base=r2.20 ElementSize=1 SrcRegion=<0;1,0> DstRegion=<1> Type=ub\r
+\r
+//r3\r
+//Normalised Ratio of Horizontal step size with main video for all layers\r
+\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers becomes\r
+ //Normalised Horizontal step size for all layers in VP_Setup.asm\r
+\r
+\r
+//r4\r
+//Normalised Vertical step size for all layers\r
+\r
+\r
+//r5\r
+//Normalised Vertical Frame Origin for all layers\r
+\r
+\r
+//r6\r
+//Normalised Horizontal Frame Origin for all layers\r
+\r
+\r
+//========== Inline Parameters (Explicit To Fast Composite) ==========\r
+\r
+\r
+//Main video Step X\r
+\r
+\r
+//====================== Binding table (Explicit To Fast Composite)=========================================\r
+\r
+\r
+//Used by Interlaced Scaling Kernels\r
+\r
+\r
+//========== Sampler State Table Index (Explicit To Fast Composite)==========\r
+//Sampler Index for AVS/IEF messages\r
+\r
+\r
+//Sampler Index for SIMD16 sampler messages\r
+\r
+\r
+//=============================================================================\r
+\r
+.declare fBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+.declare fBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=f\r
+\r
+.declare udBUFFER_0 Base=r64.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_1 Base=r80.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_2 Base=r96.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_3 Base=r112.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_4 Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+.declare udBUFFER_5 Base=r46.0 ElementSize=4 SrcRegion=<8;8,1> DstRegion=<1> Type=ud\r
+\r
+.declare uwBUFFER_0 Base=r64.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_1 Base=r80.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_2 Base=r96.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_3 Base=r112.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_4 Base=r28.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+.declare uwBUFFER_5 Base=r46.0 ElementSize=2 SrcRegion=<16;16,1> DstRegion=<1> Type=uw\r
+\r
+.declare ubBUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+.declare ubBUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<16;16,1> DstRegion=<1> Type=ub\r
+\r
+.declare ub4BUFFER_0 Base=r64.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_1 Base=r80.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_2 Base=r96.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_3 Base=r112.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_4 Base=r28.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+.declare ub4BUFFER_5 Base=r46.0 ElementSize=1 SrcRegion=<32;8,4> DstRegion=<4> Type=ub\r
+\r
+//Pointer to mask reg\r
+\r
+\r
+//r18\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+.declare udCSC_COEFF_0 Base=r18.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+//r19\r
+\r
+\r
+.declare udCSC_COEFF_1 Base=r19.0 ElementSize=4 Type=ud // 1 GRF\r
+\r
+\r
+//r20\r
+\r
+.declare uwALPHA_MASK_REG_TEMP Base=r20.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r21\r
+\r
+.declare uwALPHA_MASK_REG Base=r21.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw // 1 GRF\r
+\r
+//r22\r
+\r
+\r
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use\r
+// NODDCLR, NODDCHK flags. -rT\r
+\r
+\r
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as\r
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT\r
+\r
+//r23\r
+\r
+\r
+//Lumakey\r
+\r
+\r
+//r24\r
+\r
+\r
+//r25\r
+\r
+\r
+//r26\r
+\r
+\r
+//defines to generate LABELS during compile time.\r
+\r
+\r
+//Setup pointer to the inline parameter\r
+\r
+// Copy MSG HDR\r
+ mov (8) r27.0<1>:ud r0.0<8;8,1>:ud // Initialize message payload header with R0\r
+\r
+\r
+//temp; remove it once unread msg warnings are resolved -vK\r
+mov (8) r25:ud r0.0<8;8,1>:ud\r
+mov (8) r26:ud r0.0<8;8,1>:ud\r
+\r
+// Calculate StepX for all layers and overwrite it on the ratio\r
+ mul (8) r3.0<1>:f r3.0<8;8,1>:f r7.4<0;1,0>:f //StepX_ratio = StepX / VideoStepX\r
+\r
+ //Normalised Ratio of Horizontal step size with main video for all layers now becomes\r
+ //Normalised Horizontal step size for all layers\r
+\r
+// Calculate block origin for all layers and overwrite it on the frame origin\r
+ mov (2) r8.5<1>:f r7.0<2;2,1>:w //Convert origin from word to float\r
+\r
+ cmp.e.f0.0 (8) null<1>:d r2.26:ub 1:uw\r
+\r
+\r
+ shr (1) r17.0<1>:uw r2.2<0;1,0>:uw 0:uw\r
+ and (1) r17.0<1>:uw r17.0<0;1,0>:uw 3:uw\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 1:uw\r
+ (f0.1) jmpi (1) ROTATE_90_L0\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 2:uw\r
+ (f0.1) jmpi (1) ROTATE_180_L0\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 3:uw\r
+ (f0.1) jmpi (1) ROTATE_270_L0\r
+\r
+ // rotate 0 degree\r
+ROTATE_0_L0: \r
+ (-f0.0)mov (1) acc0.0:f r6.0<0;1,0>:f\r
+ (-f0.0)mac (1) r6.0<1>:f r3.0<0;1,0>:f r8.5<0;1,0>:f\r
+\r
+ mov (1) acc0.0:f r5.0<0;1,0>:f\r
+ mac (1) r5.0<1>:f r4.0<0;1,0>:f r8.6<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L0\r
+\r
+ // rotate 90 degree\r
+ROTATE_90_L0: \r
+ (-f0.0)mov (1) acc0.0:f r6.0<0;1,0>:f\r
+ (-f0.0)mac (1) r6.0<1>:f r3.0<0;1,0>:f r8.6<0;1,0>:f\r
+\r
+ mov (1) r16.0<1>:f r2.0<0;1,0>:uw\r
+ add (1) r17.0<1>:f -r8.5<0;1,0>:f r16.0<0;1,0>:f\r
+ add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+\r
+ mov (1) acc0.0:f r5.0<0;1,0>:f\r
+ mac (1) r5.0<1>:f r4.0<0;1,0>:f r17.0<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L0\r
+\r
+ // rotate 180 degree\r
+ROTATE_180_L0: \r
+ (-f0.0)mov (1) r16.0<1>:f r2.0<0;1,0>:uw\r
+ (-f0.0)add (1) r17.0<1>:f -r8.5<0;1,0>:f r16.0<0;1,0>:f\r
+ (-f0.0)add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ (-f0.0)mov (1) acc0.0:f r6.0<0;1,0>:f\r
+ (-f0.0)mac (1) r6.0<1>:f r3.0<0;1,0>:f r17.0<0;1,0>:f\r
+\r
+ mov (1) r16.0<1>:f r2.1<0;1,0>:uw \r
+ add (1) r17.0<1>:f -r8.6<0;1,0>:f r16.0<0;1,0>:f\r
+ add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ mov (1) acc0.0:f r5.0<0;1,0>:f\r
+ mac (1) r5.0<1>:f r4.0<0;1,0>:f r17.0<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L0 \r
+\r
+ // rotate 270 degree\r
+ROTATE_270_L0: \r
+ (-f0.0)mov (1) r16.0<1>:f r2.1<0;1,0>:uw \r
+ (-f0.0)add (1) r17.0<1>:f -r8.6<0;1,0>:f r16.0<0;1,0>:f\r
+ (-f0.0)add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ (-f0.0)mov (1) acc0.0:f r6.0<0;1,0>:f\r
+ (-f0.0)mac (1) r6.0<1>:f r3.0<0;1,0>:f r17.0<0;1,0>:f\r
+\r
+ mov (1) acc0.0:f r5.0<0;1,0>:f\r
+ mac (1) r5.0<1>:f r4.0<0;1,0>:f r8.5<0;1,0>:f\r
+\r
+END_SRC_BLOCK_ORIG_COMP_L0: \r
+ nop \r
+ shr (1) r17.0<1>:uw r2.2<0;1,0>:uw 2:uw\r
+ and (1) r17.0<1>:uw r17.0<0;1,0>:uw 3:uw\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 1:uw\r
+ (f0.1) jmpi (1) ROTATE_90_L1\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 2:uw\r
+ (f0.1) jmpi (1) ROTATE_180_L1\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 3:uw\r
+ (f0.1) jmpi (1) ROTATE_270_L1\r
+\r
+ // rotate 0 degree\r
+ROTATE_0_L1: \r
+ (-f0.0)mov (1) acc0.1:f r6.1<0;1,0>:f\r
+ (-f0.0)mac (1) r6.1<1>:f r3.1<0;1,0>:f r8.5<0;1,0>:f\r
+\r
+ mov (1) acc0.1:f r5.1<0;1,0>:f\r
+ mac (1) r5.1<1>:f r4.1<0;1,0>:f r8.6<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L1\r
+\r
+ // rotate 90 degree\r
+ROTATE_90_L1: \r
+ (-f0.0)mov (1) acc0.1:f r6.1<0;1,0>:f\r
+ (-f0.0)mac (1) r6.1<1>:f r3.1<0;1,0>:f r8.6<0;1,0>:f\r
+\r
+ mov (1) r16.0<1>:f r2.0<0;1,0>:uw\r
+ add (1) r17.0<1>:f -r8.5<0;1,0>:f r16.0<0;1,0>:f\r
+ add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+\r
+ mov (1) acc0.1:f r5.1<0;1,0>:f\r
+ mac (1) r5.1<1>:f r4.1<0;1,0>:f r17.0<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L1\r
+\r
+ // rotate 180 degree\r
+ROTATE_180_L1: \r
+ (-f0.0)mov (1) r16.0<1>:f r2.0<0;1,0>:uw\r
+ (-f0.0)add (1) r17.0<1>:f -r8.5<0;1,0>:f r16.0<0;1,0>:f\r
+ (-f0.0)add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ (-f0.0)mov (1) acc0.1:f r6.1<0;1,0>:f\r
+ (-f0.0)mac (1) r6.1<1>:f r3.1<0;1,0>:f r17.0<0;1,0>:f\r
+\r
+ mov (1) r16.0<1>:f r2.1<0;1,0>:uw \r
+ add (1) r17.0<1>:f -r8.6<0;1,0>:f r16.0<0;1,0>:f\r
+ add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ mov (1) acc0.1:f r5.1<0;1,0>:f\r
+ mac (1) r5.1<1>:f r4.1<0;1,0>:f r17.0<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L1 \r
+\r
+ // rotate 270 degree\r
+ROTATE_270_L1: \r
+ (-f0.0)mov (1) r16.0<1>:f r2.1<0;1,0>:uw \r
+ (-f0.0)add (1) r17.0<1>:f -r8.6<0;1,0>:f r16.0<0;1,0>:f\r
+ (-f0.0)add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ (-f0.0)mov (1) acc0.1:f r6.1<0;1,0>:f\r
+ (-f0.0)mac (1) r6.1<1>:f r3.1<0;1,0>:f r17.0<0;1,0>:f\r
+\r
+ mov (1) acc0.1:f r5.1<0;1,0>:f\r
+ mac (1) r5.1<1>:f r4.1<0;1,0>:f r8.5<0;1,0>:f\r
+\r
+END_SRC_BLOCK_ORIG_COMP_L1: \r
+ nop \r
+ shr (1) r17.0<1>:uw r2.2<0;1,0>:uw 4:uw\r
+ and (1) r17.0<1>:uw r17.0<0;1,0>:uw 3:uw\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 1:uw\r
+ (f0.1) jmpi (1) ROTATE_90_L2\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 2:uw\r
+ (f0.1) jmpi (1) ROTATE_180_L2\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 3:uw\r
+ (f0.1) jmpi (1) ROTATE_270_L2\r
+\r
+ // rotate 0 degree\r
+ROTATE_0_L2: \r
+ (-f0.0)mov (1) acc0.2:f r6.2<0;1,0>:f\r
+ (-f0.0)mac (1) r6.2<1>:f r3.2<0;1,0>:f r8.5<0;1,0>:f\r
+\r
+ mov (1) acc0.2:f r5.2<0;1,0>:f\r
+ mac (1) r5.2<1>:f r4.2<0;1,0>:f r8.6<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L2\r
+\r
+ // rotate 90 degree\r
+ROTATE_90_L2: \r
+ (-f0.0)mov (1) acc0.2:f r6.2<0;1,0>:f\r
+ (-f0.0)mac (1) r6.2<1>:f r3.2<0;1,0>:f r8.6<0;1,0>:f\r
+\r
+ mov (1) r16.0<1>:f r2.0<0;1,0>:uw\r
+ add (1) r17.0<1>:f -r8.5<0;1,0>:f r16.0<0;1,0>:f\r
+ add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+\r
+ mov (1) acc0.2:f r5.2<0;1,0>:f\r
+ mac (1) r5.2<1>:f r4.2<0;1,0>:f r17.0<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L2\r
+\r
+ // rotate 180 degree\r
+ROTATE_180_L2: \r
+ (-f0.0)mov (1) r16.0<1>:f r2.0<0;1,0>:uw\r
+ (-f0.0)add (1) r17.0<1>:f -r8.5<0;1,0>:f r16.0<0;1,0>:f\r
+ (-f0.0)add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ (-f0.0)mov (1) acc0.2:f r6.2<0;1,0>:f\r
+ (-f0.0)mac (1) r6.2<1>:f r3.2<0;1,0>:f r17.0<0;1,0>:f\r
+\r
+ mov (1) r16.0<1>:f r2.1<0;1,0>:uw \r
+ add (1) r17.0<1>:f -r8.6<0;1,0>:f r16.0<0;1,0>:f\r
+ add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ mov (1) acc0.2:f r5.2<0;1,0>:f\r
+ mac (1) r5.2<1>:f r4.2<0;1,0>:f r17.0<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L2 \r
+\r
+ // rotate 270 degree\r
+ROTATE_270_L2: \r
+ (-f0.0)mov (1) r16.0<1>:f r2.1<0;1,0>:uw \r
+ (-f0.0)add (1) r17.0<1>:f -r8.6<0;1,0>:f r16.0<0;1,0>:f\r
+ (-f0.0)add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ (-f0.0)mov (1) acc0.2:f r6.2<0;1,0>:f\r
+ (-f0.0)mac (1) r6.2<1>:f r3.2<0;1,0>:f r17.0<0;1,0>:f\r
+\r
+ mov (1) acc0.2:f r5.2<0;1,0>:f\r
+ mac (1) r5.2<1>:f r4.2<0;1,0>:f r8.5<0;1,0>:f\r
+\r
+END_SRC_BLOCK_ORIG_COMP_L2: \r
+ nop \r
+ shr (1) r17.0<1>:uw r2.2<0;1,0>:uw 6:uw\r
+ and (1) r17.0<1>:uw r17.0<0;1,0>:uw 3:uw\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 1:uw\r
+ (f0.1) jmpi (1) ROTATE_90_L3\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 2:uw\r
+ (f0.1) jmpi (1) ROTATE_180_L3\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 3:uw\r
+ (f0.1) jmpi (1) ROTATE_270_L3\r
+\r
+ // rotate 0 degree\r
+ROTATE_0_L3: \r
+ (-f0.0)mov (1) acc0.3:f r6.3<0;1,0>:f\r
+ (-f0.0)mac (1) r6.3<1>:f r3.3<0;1,0>:f r8.5<0;1,0>:f\r
+\r
+ mov (1) acc0.3:f r5.3<0;1,0>:f\r
+ mac (1) r5.3<1>:f r4.3<0;1,0>:f r8.6<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L3\r
+\r
+ // rotate 90 degree\r
+ROTATE_90_L3: \r
+ (-f0.0)mov (1) acc0.3:f r6.3<0;1,0>:f\r
+ (-f0.0)mac (1) r6.3<1>:f r3.3<0;1,0>:f r8.6<0;1,0>:f\r
+\r
+ mov (1) r16.0<1>:f r2.0<0;1,0>:uw\r
+ add (1) r17.0<1>:f -r8.5<0;1,0>:f r16.0<0;1,0>:f\r
+ add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+\r
+ mov (1) acc0.3:f r5.3<0;1,0>:f\r
+ mac (1) r5.3<1>:f r4.3<0;1,0>:f r17.0<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L3\r
+\r
+ // rotate 180 degree\r
+ROTATE_180_L3: \r
+ (-f0.0)mov (1) r16.0<1>:f r2.0<0;1,0>:uw\r
+ (-f0.0)add (1) r17.0<1>:f -r8.5<0;1,0>:f r16.0<0;1,0>:f\r
+ (-f0.0)add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ (-f0.0)mov (1) acc0.3:f r6.3<0;1,0>:f\r
+ (-f0.0)mac (1) r6.3<1>:f r3.3<0;1,0>:f r17.0<0;1,0>:f\r
+\r
+ mov (1) r16.0<1>:f r2.1<0;1,0>:uw \r
+ add (1) r17.0<1>:f -r8.6<0;1,0>:f r16.0<0;1,0>:f\r
+ add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ mov (1) acc0.3:f r5.3<0;1,0>:f\r
+ mac (1) r5.3<1>:f r4.3<0;1,0>:f r17.0<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L3 \r
+\r
+ // rotate 270 degree\r
+ROTATE_270_L3: \r
+ (-f0.0)mov (1) r16.0<1>:f r2.1<0;1,0>:uw \r
+ (-f0.0)add (1) r17.0<1>:f -r8.6<0;1,0>:f r16.0<0;1,0>:f\r
+ (-f0.0)add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ (-f0.0)mov (1) acc0.3:f r6.3<0;1,0>:f\r
+ (-f0.0)mac (1) r6.3<1>:f r3.3<0;1,0>:f r17.0<0;1,0>:f\r
+\r
+ mov (1) acc0.3:f r5.3<0;1,0>:f\r
+ mac (1) r5.3<1>:f r4.3<0;1,0>:f r8.5<0;1,0>:f\r
+\r
+END_SRC_BLOCK_ORIG_COMP_L3: \r
+ nop \r
+ shr (1) r17.0<1>:uw r2.2<0;1,0>:uw 8:uw\r
+ and (1) r17.0<1>:uw r17.0<0;1,0>:uw 3:uw\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 1:uw\r
+ (f0.1) jmpi (1) ROTATE_90_L4\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 2:uw\r
+ (f0.1) jmpi (1) ROTATE_180_L4\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 3:uw\r
+ (f0.1) jmpi (1) ROTATE_270_L4\r
+\r
+ // rotate 0 degree\r
+ROTATE_0_L4: \r
+ (-f0.0)mov (1) acc0.4:f r6.4<0;1,0>:f\r
+ (-f0.0)mac (1) r6.4<1>:f r3.4<0;1,0>:f r8.5<0;1,0>:f\r
+\r
+ mov (1) acc0.4:f r5.4<0;1,0>:f\r
+ mac (1) r5.4<1>:f r4.4<0;1,0>:f r8.6<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L4\r
+\r
+ // rotate 90 degree\r
+ROTATE_90_L4: \r
+ (-f0.0)mov (1) acc0.4:f r6.4<0;1,0>:f\r
+ (-f0.0)mac (1) r6.4<1>:f r3.4<0;1,0>:f r8.6<0;1,0>:f\r
+\r
+ mov (1) r16.0<1>:f r2.0<0;1,0>:uw\r
+ add (1) r17.0<1>:f -r8.5<0;1,0>:f r16.0<0;1,0>:f\r
+ add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+\r
+ mov (1) acc0.4:f r5.4<0;1,0>:f\r
+ mac (1) r5.4<1>:f r4.4<0;1,0>:f r17.0<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L4\r
+\r
+ // rotate 180 degree\r
+ROTATE_180_L4: \r
+ (-f0.0)mov (1) r16.0<1>:f r2.0<0;1,0>:uw\r
+ (-f0.0)add (1) r17.0<1>:f -r8.5<0;1,0>:f r16.0<0;1,0>:f\r
+ (-f0.0)add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ (-f0.0)mov (1) acc0.4:f r6.4<0;1,0>:f\r
+ (-f0.0)mac (1) r6.4<1>:f r3.4<0;1,0>:f r17.0<0;1,0>:f\r
+\r
+ mov (1) r16.0<1>:f r2.1<0;1,0>:uw \r
+ add (1) r17.0<1>:f -r8.6<0;1,0>:f r16.0<0;1,0>:f\r
+ add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ mov (1) acc0.4:f r5.4<0;1,0>:f\r
+ mac (1) r5.4<1>:f r4.4<0;1,0>:f r17.0<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L4 \r
+\r
+ // rotate 270 degree\r
+ROTATE_270_L4: \r
+ (-f0.0)mov (1) r16.0<1>:f r2.1<0;1,0>:uw \r
+ (-f0.0)add (1) r17.0<1>:f -r8.6<0;1,0>:f r16.0<0;1,0>:f\r
+ (-f0.0)add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ (-f0.0)mov (1) acc0.4:f r6.4<0;1,0>:f\r
+ (-f0.0)mac (1) r6.4<1>:f r3.4<0;1,0>:f r17.0<0;1,0>:f\r
+\r
+ mov (1) acc0.4:f r5.4<0;1,0>:f\r
+ mac (1) r5.4<1>:f r4.4<0;1,0>:f r8.5<0;1,0>:f\r
+\r
+END_SRC_BLOCK_ORIG_COMP_L4: \r
+ nop \r
+ shr (1) r17.0<1>:uw r2.2<0;1,0>:uw 10:uw\r
+ and (1) r17.0<1>:uw r17.0<0;1,0>:uw 3:uw\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 1:uw\r
+ (f0.1) jmpi (1) ROTATE_90_L5\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 2:uw\r
+ (f0.1) jmpi (1) ROTATE_180_L5\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 3:uw\r
+ (f0.1) jmpi (1) ROTATE_270_L5\r
+\r
+ // rotate 0 degree\r
+ROTATE_0_L5: \r
+ (-f0.0)mov (1) acc0.5:f r6.5<0;1,0>:f\r
+ (-f0.0)mac (1) r6.5<1>:f r3.5<0;1,0>:f r8.5<0;1,0>:f\r
+\r
+ mov (1) acc0.5:f r5.5<0;1,0>:f\r
+ mac (1) r5.5<1>:f r4.5<0;1,0>:f r8.6<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L5\r
+\r
+ // rotate 90 degree\r
+ROTATE_90_L5: \r
+ (-f0.0)mov (1) acc0.5:f r6.5<0;1,0>:f\r
+ (-f0.0)mac (1) r6.5<1>:f r3.5<0;1,0>:f r8.6<0;1,0>:f\r
+\r
+ mov (1) r16.0<1>:f r2.0<0;1,0>:uw\r
+ add (1) r17.0<1>:f -r8.5<0;1,0>:f r16.0<0;1,0>:f\r
+ add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+\r
+ mov (1) acc0.5:f r5.5<0;1,0>:f\r
+ mac (1) r5.5<1>:f r4.5<0;1,0>:f r17.0<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L5\r
+\r
+ // rotate 180 degree\r
+ROTATE_180_L5: \r
+ (-f0.0)mov (1) r16.0<1>:f r2.0<0;1,0>:uw\r
+ (-f0.0)add (1) r17.0<1>:f -r8.5<0;1,0>:f r16.0<0;1,0>:f\r
+ (-f0.0)add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ (-f0.0)mov (1) acc0.5:f r6.5<0;1,0>:f\r
+ (-f0.0)mac (1) r6.5<1>:f r3.5<0;1,0>:f r17.0<0;1,0>:f\r
+\r
+ mov (1) r16.0<1>:f r2.1<0;1,0>:uw \r
+ add (1) r17.0<1>:f -r8.6<0;1,0>:f r16.0<0;1,0>:f\r
+ add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ mov (1) acc0.5:f r5.5<0;1,0>:f\r
+ mac (1) r5.5<1>:f r4.5<0;1,0>:f r17.0<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L5 \r
+\r
+ // rotate 270 degree\r
+ROTATE_270_L5: \r
+ (-f0.0)mov (1) r16.0<1>:f r2.1<0;1,0>:uw \r
+ (-f0.0)add (1) r17.0<1>:f -r8.6<0;1,0>:f r16.0<0;1,0>:f\r
+ (-f0.0)add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ (-f0.0)mov (1) acc0.5:f r6.5<0;1,0>:f\r
+ (-f0.0)mac (1) r6.5<1>:f r3.5<0;1,0>:f r17.0<0;1,0>:f\r
+\r
+ mov (1) acc0.5:f r5.5<0;1,0>:f\r
+ mac (1) r5.5<1>:f r4.5<0;1,0>:f r8.5<0;1,0>:f\r
+\r
+END_SRC_BLOCK_ORIG_COMP_L5: \r
+ nop \r
+ shr (1) r17.0<1>:uw r2.2<0;1,0>:uw 12:uw\r
+ and (1) r17.0<1>:uw r17.0<0;1,0>:uw 3:uw\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 1:uw\r
+ (f0.1) jmpi (1) ROTATE_90_L6\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 2:uw\r
+ (f0.1) jmpi (1) ROTATE_180_L6\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 3:uw\r
+ (f0.1) jmpi (1) ROTATE_270_L6\r
+\r
+ // rotate 0 degree\r
+ROTATE_0_L6: \r
+ (-f0.0)mov (1) acc0.6:f r6.6<0;1,0>:f\r
+ (-f0.0)mac (1) r6.6<1>:f r3.6<0;1,0>:f r8.5<0;1,0>:f\r
+\r
+ mov (1) acc0.6:f r5.6<0;1,0>:f\r
+ mac (1) r5.6<1>:f r4.6<0;1,0>:f r8.6<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L6\r
+\r
+ // rotate 90 degree\r
+ROTATE_90_L6: \r
+ (-f0.0)mov (1) acc0.6:f r6.6<0;1,0>:f\r
+ (-f0.0)mac (1) r6.6<1>:f r3.6<0;1,0>:f r8.6<0;1,0>:f\r
+\r
+ mov (1) r16.0<1>:f r2.0<0;1,0>:uw\r
+ add (1) r17.0<1>:f -r8.5<0;1,0>:f r16.0<0;1,0>:f\r
+ add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+\r
+ mov (1) acc0.6:f r5.6<0;1,0>:f\r
+ mac (1) r5.6<1>:f r4.6<0;1,0>:f r17.0<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L6\r
+\r
+ // rotate 180 degree\r
+ROTATE_180_L6: \r
+ (-f0.0)mov (1) r16.0<1>:f r2.0<0;1,0>:uw\r
+ (-f0.0)add (1) r17.0<1>:f -r8.5<0;1,0>:f r16.0<0;1,0>:f\r
+ (-f0.0)add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ (-f0.0)mov (1) acc0.6:f r6.6<0;1,0>:f\r
+ (-f0.0)mac (1) r6.6<1>:f r3.6<0;1,0>:f r17.0<0;1,0>:f\r
+\r
+ mov (1) r16.0<1>:f r2.1<0;1,0>:uw \r
+ add (1) r17.0<1>:f -r8.6<0;1,0>:f r16.0<0;1,0>:f\r
+ add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ mov (1) acc0.6:f r5.6<0;1,0>:f\r
+ mac (1) r5.6<1>:f r4.6<0;1,0>:f r17.0<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L6 \r
+\r
+ // rotate 270 degree\r
+ROTATE_270_L6: \r
+ (-f0.0)mov (1) r16.0<1>:f r2.1<0;1,0>:uw \r
+ (-f0.0)add (1) r17.0<1>:f -r8.6<0;1,0>:f r16.0<0;1,0>:f\r
+ (-f0.0)add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ (-f0.0)mov (1) acc0.6:f r6.6<0;1,0>:f\r
+ (-f0.0)mac (1) r6.6<1>:f r3.6<0;1,0>:f r17.0<0;1,0>:f\r
+\r
+ mov (1) acc0.6:f r5.6<0;1,0>:f\r
+ mac (1) r5.6<1>:f r4.6<0;1,0>:f r8.5<0;1,0>:f\r
+\r
+END_SRC_BLOCK_ORIG_COMP_L6: \r
+ nop \r
+ shr (1) r17.0<1>:uw r2.2<0;1,0>:uw 14:uw\r
+ and (1) r17.0<1>:uw r17.0<0;1,0>:uw 3:uw\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 1:uw\r
+ (f0.1) jmpi (1) ROTATE_90_L7\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 2:uw\r
+ (f0.1) jmpi (1) ROTATE_180_L7\r
+ cmp.e.f0.1 (1) null<1>:w r17.0<0;1,0>:uw 3:uw\r
+ (f0.1) jmpi (1) ROTATE_270_L7\r
+\r
+ // rotate 0 degree\r
+ROTATE_0_L7: \r
+ (-f0.0)mov (1) acc0.7:f r6.7<0;1,0>:f\r
+ (-f0.0)mac (1) r6.7<1>:f r3.7<0;1,0>:f r8.5<0;1,0>:f\r
+\r
+ mov (1) acc0.7:f r5.7<0;1,0>:f\r
+ mac (1) r5.7<1>:f r4.7<0;1,0>:f r8.6<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L7\r
+\r
+ // rotate 90 degree\r
+ROTATE_90_L7: \r
+ (-f0.0)mov (1) acc0.7:f r6.7<0;1,0>:f\r
+ (-f0.0)mac (1) r6.7<1>:f r3.7<0;1,0>:f r8.6<0;1,0>:f\r
+\r
+ mov (1) r16.0<1>:f r2.0<0;1,0>:uw\r
+ add (1) r17.0<1>:f -r8.5<0;1,0>:f r16.0<0;1,0>:f\r
+ add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+\r
+ mov (1) acc0.7:f r5.7<0;1,0>:f\r
+ mac (1) r5.7<1>:f r4.7<0;1,0>:f r17.0<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L7\r
+\r
+ // rotate 180 degree\r
+ROTATE_180_L7: \r
+ (-f0.0)mov (1) r16.0<1>:f r2.0<0;1,0>:uw\r
+ (-f0.0)add (1) r17.0<1>:f -r8.5<0;1,0>:f r16.0<0;1,0>:f\r
+ (-f0.0)add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ (-f0.0)mov (1) acc0.7:f r6.7<0;1,0>:f\r
+ (-f0.0)mac (1) r6.7<1>:f r3.7<0;1,0>:f r17.0<0;1,0>:f\r
+\r
+ mov (1) r16.0<1>:f r2.1<0;1,0>:uw \r
+ add (1) r17.0<1>:f -r8.6<0;1,0>:f r16.0<0;1,0>:f\r
+ add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ mov (1) acc0.7:f r5.7<0;1,0>:f\r
+ mac (1) r5.7<1>:f r4.7<0;1,0>:f r17.0<0;1,0>:f\r
+ jmpi (1) END_SRC_BLOCK_ORIG_COMP_L7 \r
+\r
+ // rotate 270 degree\r
+ROTATE_270_L7: \r
+ (-f0.0)mov (1) r16.0<1>:f r2.1<0;1,0>:uw \r
+ (-f0.0)add (1) r17.0<1>:f -r8.6<0;1,0>:f r16.0<0;1,0>:f\r
+ (-f0.0)add (1) r17.0<1>:f r17.0<0;1,0>:f -16.0:f \r
+ (-f0.0)mov (1) acc0.7:f r6.7<0;1,0>:f\r
+ (-f0.0)mac (1) r6.7<1>:f r3.7<0;1,0>:f r17.0<0;1,0>:f\r
+\r
+ mov (1) acc0.7:f r5.7<0;1,0>:f\r
+ mac (1) r5.7<1>:f r4.7<0;1,0>:f r8.5<0;1,0>:f\r
+\r
+END_SRC_BLOCK_ORIG_COMP_L7: \r
+ nop \r
+\r
+\r
{ 0x00600041, 0x206077bd, 0x008d0060, 0x000000f0 },
{ 0x00200001, 0x211401bd, 0x004500e0, 0x00000000 },
{ 0x01600010, 0x20002e24, 0x0000005a, 0x00010001 },
- { 0x00710001, 0x240003bc, 0x008d00c0, 0x00000000 },
- { 0x00710048, 0x20c077bd, 0x008d0060, 0x00000114 },
- { 0x00600001, 0x240003bc, 0x008d00a0, 0x00000000 },
- { 0x00600048, 0x20a077bd, 0x008d0080, 0x00000118 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00000000 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000114 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00020002 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000114 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00040004 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000114 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00060006 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000114 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00080008 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000114 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000a000a },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000114 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000c000c },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000114 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000e000e },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000114 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
{ 0x00800001, 0x22a00169, 0x00000000, 0xffffffff },
{ 0x02000010, 0x20002d24, 0x020000e4, 0x00000000 },
{ 0x02010010, 0x20002d24, 0x020000e6, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000018 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x0000001a },
+ { 0x00000005, 0x23022d31, 0x00000044, 0x00030003 },
{ 0x00000401, 0x233803bd, 0x000000f4, 0x00000000 },
{ 0x00000c01, 0x233003bd, 0x00000060, 0x00000000 },
{ 0x00000c01, 0x233403bd, 0x00000080, 0x00000000 },
{ 0x00400409, 0x22402d8d, 0x00690400, 0x00050005 },
{ 0x00000801, 0x22500061, 0x00000000, 0x01000100 },
{ 0x00000001, 0x22d00061, 0x00000000, 0x00400040 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000052 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000401, 0x233c0021, 0x000000fc, 0x00000000 },
{ 0x00000801, 0x23240121, 0x000000f8, 0x00000000 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x28000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x048eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000a000 },
{ 0x02000031, 0x28800229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000010 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000050 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000001 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2a000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x048eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000a000 },
{ 0x02000031, 0x2a800229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000010 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000050 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000002 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2c000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x048eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000a000 },
{ 0x02000031, 0x2c800229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000010 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000050 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000003 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2e000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x048eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000a000 },
{ 0x02000031, 0x2e800229, 0x00000200, 0x00000200 },
{ 0x00000c08, 0x24a43da5, 0x000000e2, 0x00010001 },
{ 0x00000801, 0x23880061, 0x00000000, 0x000f000f },
{ 0x00000801, 0x24a80061, 0x00000000, 0x0007000f },
- { 0x80800040, 0x28002d29, 0x00b10800, 0x00800080 },
- { 0x80800040, 0x28202d29, 0x00b10820, 0x00800080 },
- { 0x80800040, 0x28802d29, 0x00b10880, 0x00800080 },
- { 0x80800040, 0x28a02d29, 0x00b108a0, 0x00800080 },
- { 0x80800040, 0x28c02d29, 0x00b108c0, 0x00800080 },
- { 0x80800040, 0x28e02d29, 0x00b108e0, 0x00800080 },
- { 0x80800040, 0x29002d29, 0x00b10900, 0x00800080 },
- { 0x80800040, 0x29202d29, 0x00b10920, 0x00800080 },
- { 0x80800040, 0x29802d29, 0x00b10980, 0x00800080 },
- { 0x80800040, 0x29a02d29, 0x00b109a0, 0x00800080 },
- { 0x80800040, 0x29c02d29, 0x00b109c0, 0x00800080 },
- { 0x80800040, 0x29e02d29, 0x00b109e0, 0x00800080 },
- { 0x80800040, 0x2a002d29, 0x00b10a00, 0x00800080 },
- { 0x80800040, 0x2a202d29, 0x00b10a20, 0x00800080 },
- { 0x80800040, 0x2a802d29, 0x00b10a80, 0x00800080 },
- { 0x80800040, 0x2aa02d29, 0x00b10aa0, 0x00800080 },
- { 0x80800040, 0x2ac02d29, 0x00b10ac0, 0x00800080 },
- { 0x80800040, 0x2ae02d29, 0x00b10ae0, 0x00800080 },
- { 0x80800040, 0x2b002d29, 0x00b10b00, 0x00800080 },
- { 0x80800040, 0x2b202d29, 0x00b10b20, 0x00800080 },
- { 0x80800040, 0x2b802d29, 0x00b10b80, 0x00800080 },
- { 0x80800040, 0x2ba02d29, 0x00b10ba0, 0x00800080 },
- { 0x80800040, 0x2bc02d29, 0x00b10bc0, 0x00800080 },
- { 0x80800040, 0x2be02d29, 0x00b10be0, 0x00800080 },
- { 0x80800040, 0x2c002d29, 0x00b10c00, 0x00800080 },
- { 0x80800040, 0x2c202d29, 0x00b10c20, 0x00800080 },
- { 0x80800040, 0x2c802d29, 0x00b10c80, 0x00800080 },
- { 0x80800040, 0x2ca02d29, 0x00b10ca0, 0x00800080 },
- { 0x80800040, 0x2cc02d29, 0x00b10cc0, 0x00800080 },
- { 0x80800040, 0x2ce02d29, 0x00b10ce0, 0x00800080 },
- { 0x80800040, 0x2d002d29, 0x00b10d00, 0x00800080 },
- { 0x80800040, 0x2d202d29, 0x00b10d20, 0x00800080 },
- { 0x80800040, 0x2d802d29, 0x00b10d80, 0x00800080 },
- { 0x80800040, 0x2da02d29, 0x00b10da0, 0x00800080 },
- { 0x80800040, 0x2dc02d29, 0x00b10dc0, 0x00800080 },
- { 0x80800040, 0x2de02d29, 0x00b10de0, 0x00800080 },
- { 0x80800040, 0x2e002d29, 0x00b10e00, 0x00800080 },
- { 0x80800040, 0x2e202d29, 0x00b10e20, 0x00800080 },
- { 0x80800040, 0x2e802d29, 0x00b10e80, 0x00800080 },
- { 0x80800040, 0x2ea02d29, 0x00b10ea0, 0x00800080 },
- { 0x80800040, 0x2ec02d29, 0x00b10ec0, 0x00800080 },
- { 0x80800040, 0x2ee02d29, 0x00b10ee0, 0x00800080 },
- { 0x80800040, 0x2f002d29, 0x00b10f00, 0x00800080 },
- { 0x80800040, 0x2f202d29, 0x00b10f20, 0x00800080 },
- { 0x80800040, 0x2f802d29, 0x00b10f80, 0x00800080 },
- { 0x80800040, 0x2fa02d29, 0x00b10fa0, 0x00800080 },
- { 0x80800040, 0x2fc02d29, 0x00b10fc0, 0x00800080 },
- { 0x80800040, 0x2fe02d29, 0x00b10fe0, 0x00800080 },
+ { 0x80800040, 0xa4002d29, 0x00b18400, 0x00800080 },
+ { 0x80800040, 0xa4202d29, 0x00b18420, 0x00800080 },
+ { 0x80800040, 0xa4402d29, 0x00b18440, 0x00800080 },
+ { 0x80800040, 0xa4602d29, 0x00b18460, 0x00800080 },
+ { 0x00600008, 0x45c03d29, 0x00ae8800, 0x00010001 },
+ { 0x00600008, 0x45e03d29, 0x00ae8820, 0x00010001 },
+ { 0x00600008, 0x46003d29, 0x00ae8840, 0x00010001 },
+ { 0x00600008, 0x46203d29, 0x00ae8860, 0x00010001 },
+ { 0x00600040, 0x45c02529, 0x00ae05c0, 0x00ae05e0 },
+ { 0x80600040, 0xc8002d29, 0x00ae05c0, 0x00800080 },
+ { 0x00600040, 0x46002529, 0x00ae0600, 0x00ae0620 },
+ { 0x80600040, 0xc8402d29, 0x00ae0600, 0x00800080 },
+ { 0x00600008, 0x46403d29, 0x00ae8000, 0x00010001 },
+ { 0x00600008, 0x46603d29, 0x00ae8020, 0x00010001 },
+ { 0x00600008, 0x46803d29, 0x00ae8040, 0x00010001 },
+ { 0x00600008, 0x46a03d29, 0x00ae8060, 0x00010001 },
+ { 0x00600040, 0x46402529, 0x00ae0640, 0x00ae0660 },
+ { 0x80600040, 0xc0002d29, 0x00ae0640, 0x00800080 },
+ { 0x00600040, 0x46802529, 0x00ae0680, 0x00ae06a0 },
+ { 0x80600040, 0xc0402d29, 0x00ae0680, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x04000400 },
+ { 0x80800040, 0xb4002d29, 0x00b19400, 0x00800080 },
+ { 0x80800040, 0xb4202d29, 0x00b19420, 0x00800080 },
+ { 0x80800040, 0xb4402d29, 0x00b19440, 0x00800080 },
+ { 0x80800040, 0xb4602d29, 0x00b19460, 0x00800080 },
+ { 0x00600008, 0x45c03d29, 0x00ae9800, 0x00010001 },
+ { 0x00600008, 0x45e03d29, 0x00ae9820, 0x00010001 },
+ { 0x00600008, 0x46003d29, 0x00ae9840, 0x00010001 },
+ { 0x00600008, 0x46203d29, 0x00ae9860, 0x00010001 },
+ { 0x00600040, 0x45c02529, 0x00ae05c0, 0x00ae05e0 },
+ { 0x80600040, 0xd8002d29, 0x00ae05c0, 0x00800080 },
+ { 0x00600040, 0x46002529, 0x00ae0600, 0x00ae0620 },
+ { 0x80600040, 0xd8402d29, 0x00ae0600, 0x00800080 },
+ { 0x00600008, 0x46403d29, 0x00ae9000, 0x00010001 },
+ { 0x00600008, 0x46603d29, 0x00ae9020, 0x00010001 },
+ { 0x00600008, 0x46803d29, 0x00ae9040, 0x00010001 },
+ { 0x00600008, 0x46a03d29, 0x00ae9060, 0x00010001 },
+ { 0x00600040, 0x46402529, 0x00ae0640, 0x00ae0660 },
+ { 0x80600040, 0xd0002d29, 0x00ae0640, 0x00800080 },
+ { 0x00600040, 0x46802529, 0x00ae0680, 0x00ae06a0 },
+ { 0x80600040, 0xd0402d29, 0x00ae0680, 0x00800080 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x06000600 },
+ { 0x80800040, 0xa4002d29, 0x00b18400, 0x00800080 },
+ { 0x80800040, 0xa4202d29, 0x00b18420, 0x00800080 },
+ { 0x80800040, 0xa4402d29, 0x00b18440, 0x00800080 },
+ { 0x80800040, 0xa4602d29, 0x00b18460, 0x00800080 },
+ { 0x00600008, 0x45c03d29, 0x00ae8800, 0x00010001 },
+ { 0x00600008, 0x45e03d29, 0x00ae8820, 0x00010001 },
+ { 0x00600008, 0x46003d29, 0x00ae8840, 0x00010001 },
+ { 0x00600008, 0x46203d29, 0x00ae8860, 0x00010001 },
+ { 0x00600040, 0x45c02529, 0x00ae05c0, 0x00ae05e0 },
+ { 0x80600040, 0xc8002d29, 0x00ae05c0, 0x00800080 },
+ { 0x00600040, 0x46002529, 0x00ae0600, 0x00ae0620 },
+ { 0x80600040, 0xc8402d29, 0x00ae0600, 0x00800080 },
+ { 0x00600008, 0x46403d29, 0x00ae8000, 0x00010001 },
+ { 0x00600008, 0x46603d29, 0x00ae8020, 0x00010001 },
+ { 0x00600008, 0x46803d29, 0x00ae8040, 0x00010001 },
+ { 0x00600008, 0x46a03d29, 0x00ae8060, 0x00010001 },
+ { 0x00600040, 0x46402529, 0x00ae0640, 0x00ae0660 },
+ { 0x80600040, 0xc0002d29, 0x00ae0640, 0x00800080 },
+ { 0x00600040, 0x46802529, 0x00ae0680, 0x00ae06a0 },
+ { 0x80600040, 0xc0402d29, 0x00ae0680, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x04000400 },
+ { 0x80800040, 0xb4002d29, 0x00b19400, 0x00800080 },
+ { 0x80800040, 0xb4202d29, 0x00b19420, 0x00800080 },
+ { 0x80800040, 0xb4402d29, 0x00b19440, 0x00800080 },
+ { 0x80800040, 0xb4602d29, 0x00b19460, 0x00800080 },
+ { 0x00600008, 0x45c03d29, 0x00ae9800, 0x00010001 },
+ { 0x00600008, 0x45e03d29, 0x00ae9820, 0x00010001 },
+ { 0x00600008, 0x46003d29, 0x00ae9840, 0x00010001 },
+ { 0x00600008, 0x46203d29, 0x00ae9860, 0x00010001 },
+ { 0x00600040, 0x45c02529, 0x00ae05c0, 0x00ae05e0 },
+ { 0x80600040, 0xd8002d29, 0x00ae05c0, 0x00800080 },
+ { 0x00600040, 0x46002529, 0x00ae0600, 0x00ae0620 },
+ { 0x80600040, 0xd8402d29, 0x00ae0600, 0x00800080 },
+ { 0x00600008, 0x46403d29, 0x00ae9000, 0x00010001 },
+ { 0x00600008, 0x46603d29, 0x00ae9020, 0x00010001 },
+ { 0x00600008, 0x46803d29, 0x00ae9040, 0x00010001 },
+ { 0x00600008, 0x46a03d29, 0x00ae9060, 0x00010001 },
+ { 0x00600040, 0x46402529, 0x00ae0640, 0x00ae0660 },
+ { 0x80600040, 0xd0002d29, 0x00ae0640, 0x00800080 },
+ { 0x00600040, 0x46802529, 0x00ae0680, 0x00ae06a0 },
+ { 0x80600040, 0xd0402d29, 0x00ae0680, 0x00800080 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x06000600 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x00000000 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x02000200 },
{ 0x00800401, 0x23a00231, 0x00d28401, 0x00000000 },
{ 0x00800801, 0x23b00231, 0x00d28421, 0x00000000 },
{ 0x00800401, 0x23c00231, 0x00d28441, 0x00000000 },
{ 0x00600041, 0x206077bd, 0x008d0060, 0x000000f0 },
{ 0x00200001, 0x211401bd, 0x004500e0, 0x00000000 },
{ 0x01600010, 0x20002e24, 0x0000005a, 0x00010001 },
- { 0x00710001, 0x240003bc, 0x008d00c0, 0x00000000 },
- { 0x00710048, 0x20c077bd, 0x008d0060, 0x00000114 },
- { 0x00600001, 0x240003bc, 0x008d00a0, 0x00000000 },
- { 0x00600048, 0x20a077bd, 0x008d0080, 0x00000118 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00000000 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000114 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00020002 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000114 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00040004 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000114 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00060006 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000114 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00080008 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000114 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000a000a },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000114 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000c000c },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000114 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000e000e },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000114 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
{ 0x00800001, 0x22a00169, 0x00000000, 0xffffffff },
{ 0x02000010, 0x20002d24, 0x020000e4, 0x00000000 },
{ 0x02010010, 0x20002d24, 0x020000e6, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000018 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x0000001a },
+ { 0x00000005, 0x23022d31, 0x00000044, 0x00030003 },
{ 0x00000401, 0x233803bd, 0x000000f4, 0x00000000 },
{ 0x00000c01, 0x233003bd, 0x00000060, 0x00000000 },
{ 0x00000c01, 0x233403bd, 0x00000080, 0x00000000 },
{ 0x00400409, 0x22402d8d, 0x00690400, 0x00050005 },
{ 0x00000801, 0x22500061, 0x00000000, 0x01000100 },
{ 0x00000001, 0x22d00061, 0x00000000, 0x00400040 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x0000000c },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000046 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x050eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x00000000 },
{ 0x00000401, 0x233c0021, 0x000000fc, 0x00000000 },
{ 0x00000801, 0x23240121, 0x000000f8, 0x00000000 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000032 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x28000229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x0000000a },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000046 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x050eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x00000000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000001 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2a000229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x0000000a },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000046 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x050eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x00000000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000002 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2c000229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x0000000a },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000046 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x050eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x00000000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000003 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2e000229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
{ 0x00400040, 0x22002da8, 0x006902c0, 0x00000000 },
{ 0x00000c08, 0x24a43da5, 0x000000e2, 0x00010001 },
{ 0x00000801, 0x23880061, 0x00000000, 0x000f000f },
{ 0x00000801, 0x24a80061, 0x00000000, 0x0007000f },
- { 0x80800040, 0x28002d29, 0x00b10800, 0x00800080 },
- { 0x80800040, 0x28202d29, 0x00b10820, 0x00800080 },
- { 0x80800040, 0x28802d29, 0x00b10880, 0x00800080 },
- { 0x80800040, 0x28a02d29, 0x00b108a0, 0x00800080 },
- { 0x80800040, 0x28c02d29, 0x00b108c0, 0x00800080 },
- { 0x80800040, 0x28e02d29, 0x00b108e0, 0x00800080 },
- { 0x80800040, 0x29002d29, 0x00b10900, 0x00800080 },
- { 0x80800040, 0x29202d29, 0x00b10920, 0x00800080 },
- { 0x80800040, 0x29802d29, 0x00b10980, 0x00800080 },
- { 0x80800040, 0x29a02d29, 0x00b109a0, 0x00800080 },
- { 0x80800040, 0x29c02d29, 0x00b109c0, 0x00800080 },
- { 0x80800040, 0x29e02d29, 0x00b109e0, 0x00800080 },
- { 0x80800040, 0x2a002d29, 0x00b10a00, 0x00800080 },
- { 0x80800040, 0x2a202d29, 0x00b10a20, 0x00800080 },
- { 0x80800040, 0x2a802d29, 0x00b10a80, 0x00800080 },
- { 0x80800040, 0x2aa02d29, 0x00b10aa0, 0x00800080 },
- { 0x80800040, 0x2ac02d29, 0x00b10ac0, 0x00800080 },
- { 0x80800040, 0x2ae02d29, 0x00b10ae0, 0x00800080 },
- { 0x80800040, 0x2b002d29, 0x00b10b00, 0x00800080 },
- { 0x80800040, 0x2b202d29, 0x00b10b20, 0x00800080 },
- { 0x80800040, 0x2b802d29, 0x00b10b80, 0x00800080 },
- { 0x80800040, 0x2ba02d29, 0x00b10ba0, 0x00800080 },
- { 0x80800040, 0x2bc02d29, 0x00b10bc0, 0x00800080 },
- { 0x80800040, 0x2be02d29, 0x00b10be0, 0x00800080 },
- { 0x80800040, 0x2c002d29, 0x00b10c00, 0x00800080 },
- { 0x80800040, 0x2c202d29, 0x00b10c20, 0x00800080 },
- { 0x80800040, 0x2c802d29, 0x00b10c80, 0x00800080 },
- { 0x80800040, 0x2ca02d29, 0x00b10ca0, 0x00800080 },
- { 0x80800040, 0x2cc02d29, 0x00b10cc0, 0x00800080 },
- { 0x80800040, 0x2ce02d29, 0x00b10ce0, 0x00800080 },
- { 0x80800040, 0x2d002d29, 0x00b10d00, 0x00800080 },
- { 0x80800040, 0x2d202d29, 0x00b10d20, 0x00800080 },
- { 0x80800040, 0x2d802d29, 0x00b10d80, 0x00800080 },
- { 0x80800040, 0x2da02d29, 0x00b10da0, 0x00800080 },
- { 0x80800040, 0x2dc02d29, 0x00b10dc0, 0x00800080 },
- { 0x80800040, 0x2de02d29, 0x00b10de0, 0x00800080 },
- { 0x80800040, 0x2e002d29, 0x00b10e00, 0x00800080 },
- { 0x80800040, 0x2e202d29, 0x00b10e20, 0x00800080 },
- { 0x80800040, 0x2e802d29, 0x00b10e80, 0x00800080 },
- { 0x80800040, 0x2ea02d29, 0x00b10ea0, 0x00800080 },
- { 0x80800040, 0x2ec02d29, 0x00b10ec0, 0x00800080 },
- { 0x80800040, 0x2ee02d29, 0x00b10ee0, 0x00800080 },
- { 0x80800040, 0x2f002d29, 0x00b10f00, 0x00800080 },
- { 0x80800040, 0x2f202d29, 0x00b10f20, 0x00800080 },
- { 0x80800040, 0x2f802d29, 0x00b10f80, 0x00800080 },
- { 0x80800040, 0x2fa02d29, 0x00b10fa0, 0x00800080 },
- { 0x80800040, 0x2fc02d29, 0x00b10fc0, 0x00800080 },
- { 0x80800040, 0x2fe02d29, 0x00b10fe0, 0x00800080 },
+ { 0x80800040, 0xa4002d29, 0x00b18400, 0x00800080 },
+ { 0x80800040, 0xa4202d29, 0x00b18420, 0x00800080 },
+ { 0x80800040, 0xa4402d29, 0x00b18440, 0x00800080 },
+ { 0x80800040, 0xa4602d29, 0x00b18460, 0x00800080 },
+ { 0x00600008, 0x45c03d29, 0x00ae8800, 0x00010001 },
+ { 0x00600008, 0x45e03d29, 0x00ae8820, 0x00010001 },
+ { 0x00600008, 0x46003d29, 0x00ae8840, 0x00010001 },
+ { 0x00600008, 0x46203d29, 0x00ae8860, 0x00010001 },
+ { 0x00600040, 0x45c02529, 0x00ae05c0, 0x00ae05e0 },
+ { 0x80600040, 0xc8002d29, 0x00ae05c0, 0x00800080 },
+ { 0x00600040, 0x46002529, 0x00ae0600, 0x00ae0620 },
+ { 0x80600040, 0xc8402d29, 0x00ae0600, 0x00800080 },
+ { 0x00600008, 0x46403d29, 0x00ae8000, 0x00010001 },
+ { 0x00600008, 0x46603d29, 0x00ae8020, 0x00010001 },
+ { 0x00600008, 0x46803d29, 0x00ae8040, 0x00010001 },
+ { 0x00600008, 0x46a03d29, 0x00ae8060, 0x00010001 },
+ { 0x00600040, 0x46402529, 0x00ae0640, 0x00ae0660 },
+ { 0x80600040, 0xc0002d29, 0x00ae0640, 0x00800080 },
+ { 0x00600040, 0x46802529, 0x00ae0680, 0x00ae06a0 },
+ { 0x80600040, 0xc0402d29, 0x00ae0680, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x04000400 },
+ { 0x80800040, 0xb4002d29, 0x00b19400, 0x00800080 },
+ { 0x80800040, 0xb4202d29, 0x00b19420, 0x00800080 },
+ { 0x80800040, 0xb4402d29, 0x00b19440, 0x00800080 },
+ { 0x80800040, 0xb4602d29, 0x00b19460, 0x00800080 },
+ { 0x00600008, 0x45c03d29, 0x00ae9800, 0x00010001 },
+ { 0x00600008, 0x45e03d29, 0x00ae9820, 0x00010001 },
+ { 0x00600008, 0x46003d29, 0x00ae9840, 0x00010001 },
+ { 0x00600008, 0x46203d29, 0x00ae9860, 0x00010001 },
+ { 0x00600040, 0x45c02529, 0x00ae05c0, 0x00ae05e0 },
+ { 0x80600040, 0xd8002d29, 0x00ae05c0, 0x00800080 },
+ { 0x00600040, 0x46002529, 0x00ae0600, 0x00ae0620 },
+ { 0x80600040, 0xd8402d29, 0x00ae0600, 0x00800080 },
+ { 0x00600008, 0x46403d29, 0x00ae9000, 0x00010001 },
+ { 0x00600008, 0x46603d29, 0x00ae9020, 0x00010001 },
+ { 0x00600008, 0x46803d29, 0x00ae9040, 0x00010001 },
+ { 0x00600008, 0x46a03d29, 0x00ae9060, 0x00010001 },
+ { 0x00600040, 0x46402529, 0x00ae0640, 0x00ae0660 },
+ { 0x80600040, 0xd0002d29, 0x00ae0640, 0x00800080 },
+ { 0x00600040, 0x46802529, 0x00ae0680, 0x00ae06a0 },
+ { 0x80600040, 0xd0402d29, 0x00ae0680, 0x00800080 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x06000600 },
+ { 0x80800040, 0xa4002d29, 0x00b18400, 0x00800080 },
+ { 0x80800040, 0xa4202d29, 0x00b18420, 0x00800080 },
+ { 0x80800040, 0xa4402d29, 0x00b18440, 0x00800080 },
+ { 0x80800040, 0xa4602d29, 0x00b18460, 0x00800080 },
+ { 0x00600008, 0x45c03d29, 0x00ae8800, 0x00010001 },
+ { 0x00600008, 0x45e03d29, 0x00ae8820, 0x00010001 },
+ { 0x00600008, 0x46003d29, 0x00ae8840, 0x00010001 },
+ { 0x00600008, 0x46203d29, 0x00ae8860, 0x00010001 },
+ { 0x00600040, 0x45c02529, 0x00ae05c0, 0x00ae05e0 },
+ { 0x80600040, 0xc8002d29, 0x00ae05c0, 0x00800080 },
+ { 0x00600040, 0x46002529, 0x00ae0600, 0x00ae0620 },
+ { 0x80600040, 0xc8402d29, 0x00ae0600, 0x00800080 },
+ { 0x00600008, 0x46403d29, 0x00ae8000, 0x00010001 },
+ { 0x00600008, 0x46603d29, 0x00ae8020, 0x00010001 },
+ { 0x00600008, 0x46803d29, 0x00ae8040, 0x00010001 },
+ { 0x00600008, 0x46a03d29, 0x00ae8060, 0x00010001 },
+ { 0x00600040, 0x46402529, 0x00ae0640, 0x00ae0660 },
+ { 0x80600040, 0xc0002d29, 0x00ae0640, 0x00800080 },
+ { 0x00600040, 0x46802529, 0x00ae0680, 0x00ae06a0 },
+ { 0x80600040, 0xc0402d29, 0x00ae0680, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x04000400 },
+ { 0x80800040, 0xb4002d29, 0x00b19400, 0x00800080 },
+ { 0x80800040, 0xb4202d29, 0x00b19420, 0x00800080 },
+ { 0x80800040, 0xb4402d29, 0x00b19440, 0x00800080 },
+ { 0x80800040, 0xb4602d29, 0x00b19460, 0x00800080 },
+ { 0x00600008, 0x45c03d29, 0x00ae9800, 0x00010001 },
+ { 0x00600008, 0x45e03d29, 0x00ae9820, 0x00010001 },
+ { 0x00600008, 0x46003d29, 0x00ae9840, 0x00010001 },
+ { 0x00600008, 0x46203d29, 0x00ae9860, 0x00010001 },
+ { 0x00600040, 0x45c02529, 0x00ae05c0, 0x00ae05e0 },
+ { 0x80600040, 0xd8002d29, 0x00ae05c0, 0x00800080 },
+ { 0x00600040, 0x46002529, 0x00ae0600, 0x00ae0620 },
+ { 0x80600040, 0xd8402d29, 0x00ae0600, 0x00800080 },
+ { 0x00600008, 0x46403d29, 0x00ae9000, 0x00010001 },
+ { 0x00600008, 0x46603d29, 0x00ae9020, 0x00010001 },
+ { 0x00600008, 0x46803d29, 0x00ae9040, 0x00010001 },
+ { 0x00600008, 0x46a03d29, 0x00ae9060, 0x00010001 },
+ { 0x00600040, 0x46402529, 0x00ae0640, 0x00ae0660 },
+ { 0x80600040, 0xd0002d29, 0x00ae0640, 0x00800080 },
+ { 0x00600040, 0x46802529, 0x00ae0680, 0x00ae06a0 },
+ { 0x80600040, 0xd0402d29, 0x00ae0680, 0x00800080 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x06000600 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x00000000 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x02000200 },
{ 0x00800401, 0x23a00231, 0x00d28401, 0x00000000 },
{ 0x00800801, 0x23b00231, 0x00d28421, 0x00000000 },
{ 0x00800401, 0x23c00231, 0x00d28441, 0x00000000 },
{ 0x00600041, 0x206077bd, 0x008d0060, 0x000000f0 },
{ 0x00200001, 0x211401bd, 0x004500e0, 0x00000000 },
{ 0x01600010, 0x20002e24, 0x0000005a, 0x00010001 },
- { 0x00710001, 0x240003bc, 0x008d00c0, 0x00000000 },
- { 0x00710048, 0x20c077bd, 0x008d0060, 0x00000114 },
- { 0x00600001, 0x240003bc, 0x008d00a0, 0x00000000 },
- { 0x00600048, 0x20a077bd, 0x008d0080, 0x00000118 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00000000 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000114 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00020002 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000114 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00040004 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000114 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00060006 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000114 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00080008 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000114 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000a000a },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000114 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000c000c },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000114 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000e000e },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000114 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
{ 0x00800001, 0x22a00169, 0x00000000, 0xffffffff },
{ 0x02000010, 0x20002d24, 0x020000e4, 0x00000000 },
{ 0x02010010, 0x20002d24, 0x020000e6, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000018 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x0000001a },
+ { 0x00000005, 0x23022d31, 0x00000044, 0x00030003 },
{ 0x00000401, 0x233803bd, 0x000000f4, 0x00000000 },
{ 0x00000c01, 0x233003bd, 0x00000060, 0x00000000 },
{ 0x00000c01, 0x233403bd, 0x00000080, 0x00000000 },
{ 0x00400409, 0x22402d8d, 0x00690400, 0x00050005 },
{ 0x00000801, 0x22500061, 0x00000000, 0x01000100 },
{ 0x00000001, 0x22d00061, 0x00000000, 0x00400040 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x0000000c },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000046 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x050eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x00000000 },
{ 0x00000401, 0x233c0021, 0x000000fc, 0x00000000 },
{ 0x00000801, 0x23240121, 0x000000f8, 0x00000000 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000032 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x28000229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x0000000a },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000046 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x050eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x00000000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000001 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2a000229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x0000000a },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000046 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x050eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x00000000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000002 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2c000229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x0000000a },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000046 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x050eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x00000000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000003 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2e000229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
{ 0x00400040, 0x22002da8, 0x006902c0, 0x00000000 },
{ 0x00000801, 0x23880061, 0x00000000, 0x000f000f },
{ 0x00000801, 0x24a80061, 0x00000000, 0x00070007 },
{ 0x00000801, 0x25c80061, 0x00000000, 0x00070007 },
+ { 0x80800040, 0xa4002d29, 0x00b18400, 0x00800080 },
+ { 0x80800040, 0xa4202d29, 0x00b18420, 0x00800080 },
+ { 0x80800040, 0xa4402d29, 0x00b18440, 0x00800080 },
+ { 0x80800040, 0xa4602d29, 0x00b18460, 0x00800080 },
+ { 0x80600040, 0xc8002d29, 0x00ae8800, 0x00800080 },
+ { 0x80600040, 0xc8402d29, 0x00ae8840, 0x00800080 },
+ { 0x80600040, 0xc0002d29, 0x00ae8000, 0x00800080 },
+ { 0x80600040, 0xc0402d29, 0x00ae8040, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x04000400 },
+ { 0x80800040, 0xb4002d29, 0x00b19400, 0x00800080 },
+ { 0x80800040, 0xb4202d29, 0x00b19420, 0x00800080 },
+ { 0x80800040, 0xb4402d29, 0x00b19440, 0x00800080 },
+ { 0x80800040, 0xb4602d29, 0x00b19460, 0x00800080 },
+ { 0x80600040, 0xd8002d29, 0x00ae9800, 0x00800080 },
+ { 0x80600040, 0xd8402d29, 0x00ae9840, 0x00800080 },
+ { 0x80600040, 0xd0002d29, 0x00ae9000, 0x00800080 },
+ { 0x80600040, 0xd0402d29, 0x00ae9040, 0x00800080 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x06000600 },
+ { 0x80800040, 0xa4002d29, 0x00b18400, 0x00800080 },
+ { 0x80800040, 0xa4202d29, 0x00b18420, 0x00800080 },
+ { 0x80800040, 0xa4402d29, 0x00b18440, 0x00800080 },
+ { 0x80800040, 0xa4602d29, 0x00b18460, 0x00800080 },
+ { 0x80600040, 0xc8002d29, 0x00ae8800, 0x00800080 },
+ { 0x80600040, 0xc8402d29, 0x00ae8840, 0x00800080 },
+ { 0x80600040, 0xc0002d29, 0x00ae8000, 0x00800080 },
+ { 0x80600040, 0xc0402d29, 0x00ae8040, 0x00800080 },
+ { 0x80800040, 0xb4002d29, 0x00b19400, 0x00800080 },
+ { 0x80800040, 0xb4202d29, 0x00b19420, 0x00800080 },
+ { 0x80800040, 0xb4402d29, 0x00b19440, 0x00800080 },
+ { 0x80800040, 0xb4602d29, 0x00b19460, 0x00800080 },
+ { 0x80600040, 0xd8002d29, 0x00ae9800, 0x00800080 },
+ { 0x80600040, 0xd8402d29, 0x00ae9840, 0x00800080 },
+ { 0x80600040, 0xd0002d29, 0x00ae9000, 0x00800080 },
+ { 0x80600040, 0xd0402d29, 0x00ae9040, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x00000000 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x02000200 },
{ 0x00800401, 0x23a00231, 0x00d28401, 0x00000000 },
{ 0x00800801, 0x23b00231, 0x00d28421, 0x00000000 },
{ 0x00800401, 0x23c00231, 0x00d28441, 0x00000000 },
{ 0x00600041, 0x206077bd, 0x008d0060, 0x000000f0 },
{ 0x00200001, 0x211401bd, 0x004500e0, 0x00000000 },
{ 0x01600010, 0x20002e24, 0x0000005a, 0x00010001 },
- { 0x00710001, 0x240003bc, 0x008d00c0, 0x00000000 },
- { 0x00710048, 0x20c077bd, 0x008d0060, 0x00000114 },
- { 0x00600001, 0x240003bc, 0x008d00a0, 0x00000000 },
- { 0x00600048, 0x20a077bd, 0x008d0080, 0x00000118 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00000000 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000114 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00020002 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000114 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00040004 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000114 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00060006 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000114 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00080008 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000114 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000a000a },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000114 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000c000c },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000114 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000e000e },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000114 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
{ 0x00800001, 0x22a00169, 0x00000000, 0xffffffff },
{ 0x02000010, 0x20002d24, 0x020000e4, 0x00000000 },
{ 0x02010010, 0x20002d24, 0x020000e6, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000018 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x0000001a },
+ { 0x00000005, 0x23022d31, 0x00000044, 0x00030003 },
{ 0x00000401, 0x233803bd, 0x000000f4, 0x00000000 },
{ 0x00000c01, 0x233003bd, 0x00000060, 0x00000000 },
{ 0x00000c01, 0x233403bd, 0x00000080, 0x00000000 },
{ 0x00400409, 0x22402d8d, 0x00690400, 0x00050005 },
{ 0x00000801, 0x22500061, 0x00000000, 0x01000100 },
{ 0x00000001, 0x22d00061, 0x00000000, 0x00400040 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000052 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000401, 0x233c0021, 0x000000fc, 0x00000000 },
{ 0x00000801, 0x23240121, 0x000000f8, 0x00000000 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x28000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x048eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000a000 },
{ 0x02000031, 0x28800229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000010 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000050 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000001 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2a000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x048eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000a000 },
{ 0x02000031, 0x2a800229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000010 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000050 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000002 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2c000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x048eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000a000 },
{ 0x02000031, 0x2c800229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000010 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000050 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000003 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2e000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x048eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000a000 },
{ 0x02000031, 0x2e800229, 0x00000200, 0x00000200 },
{ 0x00400040, 0x22082e2c, 0x0069005c, 0x03a003a0 },
{ 0x00000409, 0x23603da5, 0x000000e0, 0x00010001 },
{ 0x00000c01, 0x236401a5, 0x000000e2, 0x00000000 },
- { 0x00000801, 0x23680061, 0x00000000, 0x000f000f },
- { 0x00400401, 0xf8000231, 0x00ab8001, 0x00000000 },
- { 0x00400c01, 0xf8100231, 0x00ab8021, 0x00000000 },
- { 0x00400401, 0xf8200231, 0x00ab8041, 0x00000000 },
- { 0x00400c01, 0xf8300231, 0x00ab8061, 0x00000000 },
- { 0x00600c01, 0xd0000231, 0x00ae8401, 0x00000000 },
- { 0x00600c01, 0xd0100231, 0x00ae8421, 0x00000000 },
- { 0x00600c01, 0xd0200231, 0x00ae8441, 0x00000000 },
- { 0x00600c01, 0xd0300231, 0x00ae8461, 0x00000000 },
- { 0x00400c01, 0xf4000231, 0x00ab8801, 0x00000000 },
- { 0x00400801, 0xf4100231, 0x00ab8821, 0x00000000 },
- { 0x00400c01, 0xf4200231, 0x00ab8841, 0x00000000 },
- { 0x00400801, 0xf4300231, 0x00ab8861, 0x00000000 },
- { 0x00400401, 0xf9200231, 0x00ab8011, 0x00000000 },
- { 0x00400c01, 0xf9300231, 0x00ab8031, 0x00000000 },
- { 0x00400401, 0xf9400231, 0x00ab8051, 0x00000000 },
- { 0x00400c01, 0xf9500231, 0x00ab8071, 0x00000000 },
- { 0x00600c01, 0xd1200231, 0x00ae8411, 0x00000000 },
- { 0x00600c01, 0xd1300231, 0x00ae8431, 0x00000000 },
- { 0x00600c01, 0xd1400231, 0x00ae8451, 0x00000000 },
- { 0x00600c01, 0xd1500231, 0x00ae8471, 0x00000000 },
- { 0x00400c01, 0xf5200231, 0x00ab8811, 0x00000000 },
- { 0x00400801, 0xf5300231, 0x00ab8831, 0x00000000 },
- { 0x00400c01, 0xf5400231, 0x00ab8851, 0x00000000 },
- { 0x00400801, 0xf5500231, 0x00ab8871, 0x00000000 },
+ { 0x00000801, 0x23680061, 0x00000000, 0x0001001f },
+ { 0x80400040, 0xc0002d29, 0x008a8000, 0x00800080 },
+ { 0x80400040, 0xc0202d29, 0x008a8020, 0x00800080 },
+ { 0x80400040, 0xc0402d29, 0x008a8040, 0x00800080 },
+ { 0x80400040, 0xc0602d29, 0x008a8060, 0x00800080 },
+ { 0x80600040, 0xa4002d29, 0x008d8400, 0x00800080 },
+ { 0x80600040, 0xa4202d29, 0x008d8420, 0x00800080 },
+ { 0x80600040, 0xa4402d29, 0x008d8440, 0x00800080 },
+ { 0x80600040, 0xa4602d29, 0x008d8460, 0x00800080 },
+ { 0x80400040, 0xc8002d29, 0x008a8800, 0x00800080 },
+ { 0x80400040, 0xc8202d29, 0x008a8820, 0x00800080 },
+ { 0x80400040, 0xc8402d29, 0x008a8840, 0x00800080 },
+ { 0x80400040, 0xc8602d29, 0x008a8860, 0x00800080 },
+ { 0x80400040, 0xc0102d29, 0x008a8010, 0x00800080 },
+ { 0x80400040, 0xc0302d29, 0x008a8030, 0x00800080 },
+ { 0x80400040, 0xc0502d29, 0x008a8050, 0x00800080 },
+ { 0x80400040, 0xc0702d29, 0x008a8070, 0x00800080 },
+ { 0x80600040, 0xa4102d29, 0x008d8410, 0x00800080 },
+ { 0x80600040, 0xa4302d29, 0x008d8430, 0x00800080 },
+ { 0x80600040, 0xa4502d29, 0x008d8450, 0x00800080 },
+ { 0x80600040, 0xa4702d29, 0x008d8470, 0x00800080 },
+ { 0x80400040, 0xc8102d29, 0x008a8810, 0x00800080 },
+ { 0x80400040, 0xc8302d29, 0x008a8830, 0x00800080 },
+ { 0x80400040, 0xc8502d29, 0x008a8850, 0x00800080 },
+ { 0x80400040, 0xc8702d29, 0x008a8870, 0x00800080 },
{ 0x00400040, 0x22002da8, 0x006902c0, 0x02000200 },
+ { 0x80400040, 0xc0002d29, 0x008a8000, 0x00800080 },
+ { 0x80400040, 0xc0202d29, 0x008a8020, 0x00800080 },
+ { 0x80400040, 0xc0402d29, 0x008a8040, 0x00800080 },
+ { 0x80400040, 0xc0602d29, 0x008a8060, 0x00800080 },
+ { 0x80600040, 0xa4002d29, 0x008d8400, 0x00800080 },
+ { 0x80600040, 0xa4202d29, 0x008d8420, 0x00800080 },
+ { 0x80600040, 0xa4402d29, 0x008d8440, 0x00800080 },
+ { 0x80600040, 0xa4602d29, 0x008d8460, 0x00800080 },
+ { 0x80400040, 0xc8002d29, 0x008a8800, 0x00800080 },
+ { 0x80400040, 0xc8202d29, 0x008a8820, 0x00800080 },
+ { 0x80400040, 0xc8402d29, 0x008a8840, 0x00800080 },
+ { 0x80400040, 0xc8602d29, 0x008a8860, 0x00800080 },
+ { 0x80400040, 0xc0102d29, 0x008a8010, 0x00800080 },
+ { 0x80400040, 0xc0302d29, 0x008a8030, 0x00800080 },
+ { 0x80400040, 0xc0502d29, 0x008a8050, 0x00800080 },
+ { 0x80400040, 0xc0702d29, 0x008a8070, 0x00800080 },
+ { 0x80600040, 0xa4102d29, 0x008d8410, 0x00800080 },
+ { 0x80600040, 0xa4302d29, 0x008d8430, 0x00800080 },
+ { 0x80600040, 0xa4502d29, 0x008d8450, 0x00800080 },
+ { 0x80600040, 0xa4702d29, 0x008d8470, 0x00800080 },
+ { 0x80400040, 0xc8102d29, 0x008a8810, 0x00800080 },
+ { 0x80400040, 0xc8302d29, 0x008a8830, 0x00800080 },
+ { 0x80400040, 0xc8502d29, 0x008a8850, 0x00800080 },
+ { 0x80400040, 0xc8702d29, 0x008a8870, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x04000400 },
+ { 0x80400040, 0xc0002d29, 0x008a8000, 0x00800080 },
+ { 0x80400040, 0xc0202d29, 0x008a8020, 0x00800080 },
+ { 0x80400040, 0xc0402d29, 0x008a8040, 0x00800080 },
+ { 0x80400040, 0xc0602d29, 0x008a8060, 0x00800080 },
+ { 0x80600040, 0xa4002d29, 0x008d8400, 0x00800080 },
+ { 0x80600040, 0xa4202d29, 0x008d8420, 0x00800080 },
+ { 0x80600040, 0xa4402d29, 0x008d8440, 0x00800080 },
+ { 0x80600040, 0xa4602d29, 0x008d8460, 0x00800080 },
+ { 0x80400040, 0xc8002d29, 0x008a8800, 0x00800080 },
+ { 0x80400040, 0xc8202d29, 0x008a8820, 0x00800080 },
+ { 0x80400040, 0xc8402d29, 0x008a8840, 0x00800080 },
+ { 0x80400040, 0xc8602d29, 0x008a8860, 0x00800080 },
+ { 0x80400040, 0xc0102d29, 0x008a8010, 0x00800080 },
+ { 0x80400040, 0xc0302d29, 0x008a8030, 0x00800080 },
+ { 0x80400040, 0xc0502d29, 0x008a8050, 0x00800080 },
+ { 0x80400040, 0xc0702d29, 0x008a8070, 0x00800080 },
+ { 0x80600040, 0xa4102d29, 0x008d8410, 0x00800080 },
+ { 0x80600040, 0xa4302d29, 0x008d8430, 0x00800080 },
+ { 0x80600040, 0xa4502d29, 0x008d8450, 0x00800080 },
+ { 0x80600040, 0xa4702d29, 0x008d8470, 0x00800080 },
+ { 0x80400040, 0xc8102d29, 0x008a8810, 0x00800080 },
+ { 0x80400040, 0xc8302d29, 0x008a8830, 0x00800080 },
+ { 0x80400040, 0xc8502d29, 0x008a8850, 0x00800080 },
+ { 0x80400040, 0xc8702d29, 0x008a8870, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x06000600 },
+ { 0x80400040, 0xc0002d29, 0x008a8000, 0x00800080 },
+ { 0x80400040, 0xc0202d29, 0x008a8020, 0x00800080 },
+ { 0x80400040, 0xc0402d29, 0x008a8040, 0x00800080 },
+ { 0x80400040, 0xc0602d29, 0x008a8060, 0x00800080 },
+ { 0x80600040, 0xa4002d29, 0x008d8400, 0x00800080 },
+ { 0x80600040, 0xa4202d29, 0x008d8420, 0x00800080 },
+ { 0x80600040, 0xa4402d29, 0x008d8440, 0x00800080 },
+ { 0x80600040, 0xa4602d29, 0x008d8460, 0x00800080 },
+ { 0x80400040, 0xc8002d29, 0x008a8800, 0x00800080 },
+ { 0x80400040, 0xc8202d29, 0x008a8820, 0x00800080 },
+ { 0x80400040, 0xc8402d29, 0x008a8840, 0x00800080 },
+ { 0x80400040, 0xc8602d29, 0x008a8860, 0x00800080 },
+ { 0x80400040, 0xc0102d29, 0x008a8010, 0x00800080 },
+ { 0x80400040, 0xc0302d29, 0x008a8030, 0x00800080 },
+ { 0x80400040, 0xc0502d29, 0x008a8050, 0x00800080 },
+ { 0x80400040, 0xc0702d29, 0x008a8070, 0x00800080 },
+ { 0x80600040, 0xa4102d29, 0x008d8410, 0x00800080 },
+ { 0x80600040, 0xa4302d29, 0x008d8430, 0x00800080 },
+ { 0x80600040, 0xa4502d29, 0x008d8450, 0x00800080 },
+ { 0x80600040, 0xa4702d29, 0x008d8470, 0x00800080 },
+ { 0x80400040, 0xc8102d29, 0x008a8810, 0x00800080 },
+ { 0x80400040, 0xc8302d29, 0x008a8830, 0x00800080 },
+ { 0x80400040, 0xc8502d29, 0x008a8850, 0x00800080 },
+ { 0x80400040, 0xc8702d29, 0x008a8870, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x08000800 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x00000000 },
{ 0x00600001, 0x23800021, 0x008d0360, 0x00000000 },
{ 0x00600001, 0x24a00021, 0x008d0360, 0x00000000 },
- { 0x00400401, 0xf8400231, 0x00ab8001, 0x00000000 },
- { 0x00400c01, 0xf8500231, 0x00ab8021, 0x00000000 },
- { 0x00400401, 0xf8600231, 0x00ab8041, 0x00000000 },
- { 0x00400c01, 0xf8700231, 0x00ab8061, 0x00000000 },
- { 0x00600c01, 0xd0400231, 0x00ae8401, 0x00000000 },
- { 0x00600c01, 0xd0500231, 0x00ae8421, 0x00000000 },
- { 0x00600c01, 0xd0600231, 0x00ae8441, 0x00000000 },
- { 0x00600c01, 0xd0700231, 0x00ae8461, 0x00000000 },
- { 0x00400c01, 0xf4400231, 0x00ab8801, 0x00000000 },
- { 0x00400801, 0xf4500231, 0x00ab8821, 0x00000000 },
- { 0x00400c01, 0xf4600231, 0x00ab8841, 0x00000000 },
- { 0x00400801, 0xf4700231, 0x00ab8861, 0x00000000 },
- { 0x00400401, 0xf9600231, 0x00ab8011, 0x00000000 },
- { 0x00400c01, 0xf9700231, 0x00ab8031, 0x00000000 },
- { 0x00400401, 0xf9800231, 0x00ab8051, 0x00000000 },
- { 0x00400c01, 0xf9900231, 0x00ab8071, 0x00000000 },
- { 0x00600c01, 0xd1600231, 0x00ae8411, 0x00000000 },
- { 0x00600c01, 0xd1700231, 0x00ae8431, 0x00000000 },
- { 0x00600c01, 0xd1800231, 0x00ae8451, 0x00000000 },
- { 0x00600c01, 0xd1900231, 0x00ae8471, 0x00000000 },
- { 0x00400c01, 0xf5600231, 0x00ab8811, 0x00000000 },
- { 0x00400801, 0xf5700231, 0x00ab8831, 0x00000000 },
- { 0x00400c01, 0xf5800231, 0x00ab8851, 0x00000000 },
- { 0x00400801, 0xf5900231, 0x00ab8871, 0x00000000 },
+ { 0x00000040, 0x24a41ca5, 0x00000364, 0x00000002 },
+ { 0x00600401, 0xf8000231, 0x00cf8001, 0x00000000 },
+ { 0x00600401, 0xf8200231, 0x00cf8021, 0x00000000 },
+ { 0x00800c01, 0xd0000231, 0x00d28401, 0x00000000 },
+ { 0x00800c01, 0xd0200231, 0x00d28421, 0x00000000 },
+ { 0x00600801, 0xf4000231, 0x00cf8801, 0x00000000 },
+ { 0x00600801, 0xf4200231, 0x00cf8821, 0x00000000 },
+ { 0x00600401, 0xf9200231, 0x00cf8041, 0x00000000 },
+ { 0x00600401, 0xf9400231, 0x00cf8061, 0x00000000 },
+ { 0x00800c01, 0xd1200231, 0x00d28441, 0x00000000 },
+ { 0x00800c01, 0xd1400231, 0x00d28461, 0x00000000 },
+ { 0x00600801, 0xf5200231, 0x00cf8841, 0x00000000 },
+ { 0x00600801, 0xf5400231, 0x00cf8861, 0x00000000 },
+ { 0x05000031, 0x20000e24, 0x00000380, 0x060a8018 },
+ { 0x05000031, 0x20000e24, 0x000004a0, 0x060a8018 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x02000200 },
+ { 0x00000040, 0x23841ca5, 0x00000364, 0x00000004 },
+ { 0x00000040, 0x24a41ca5, 0x00000364, 0x00000006 },
+ { 0x00600401, 0xf8000231, 0x00cf8001, 0x00000000 },
+ { 0x00600401, 0xf8200231, 0x00cf8021, 0x00000000 },
+ { 0x00800c01, 0xd0000231, 0x00d28401, 0x00000000 },
+ { 0x00800c01, 0xd0200231, 0x00d28421, 0x00000000 },
+ { 0x00600801, 0xf4000231, 0x00cf8801, 0x00000000 },
+ { 0x00600801, 0xf4200231, 0x00cf8821, 0x00000000 },
+ { 0x00600401, 0xf9200231, 0x00cf8041, 0x00000000 },
+ { 0x00600401, 0xf9400231, 0x00cf8061, 0x00000000 },
+ { 0x00800c01, 0xd1200231, 0x00d28441, 0x00000000 },
+ { 0x00800c01, 0xd1400231, 0x00d28461, 0x00000000 },
+ { 0x00600801, 0xf5200231, 0x00cf8841, 0x00000000 },
+ { 0x00600801, 0xf5400231, 0x00cf8861, 0x00000000 },
+ { 0x05000031, 0x20000e24, 0x00000380, 0x060a8018 },
+ { 0x05000031, 0x20000e24, 0x000004a0, 0x060a8018 },
{ 0x00400040, 0x22002da8, 0x006902c0, 0x04000400 },
- { 0x00400040, 0x22082e2c, 0x0069005c, 0x04200420 },
- { 0x00000040, 0x24a01ca5, 0x00000360, 0x00000010 },
- { 0x00400401, 0xf8000231, 0x00ab8001, 0x00000000 },
- { 0x00400c01, 0xf8100231, 0x00ab8021, 0x00000000 },
- { 0x00400401, 0xf8200231, 0x00ab8041, 0x00000000 },
- { 0x00400c01, 0xf8300231, 0x00ab8061, 0x00000000 },
- { 0x00600c01, 0xd0000231, 0x00ae8401, 0x00000000 },
- { 0x00600c01, 0xd0100231, 0x00ae8421, 0x00000000 },
- { 0x00600c01, 0xd0200231, 0x00ae8441, 0x00000000 },
- { 0x00600c01, 0xd0300231, 0x00ae8461, 0x00000000 },
- { 0x00400c01, 0xf4000231, 0x00ab8801, 0x00000000 },
- { 0x00400801, 0xf4100231, 0x00ab8821, 0x00000000 },
- { 0x00400c01, 0xf4200231, 0x00ab8841, 0x00000000 },
- { 0x00400801, 0xf4300231, 0x00ab8861, 0x00000000 },
- { 0x00400401, 0xf9200231, 0x00ab8011, 0x00000000 },
- { 0x00400c01, 0xf9300231, 0x00ab8031, 0x00000000 },
- { 0x00400401, 0xf9400231, 0x00ab8051, 0x00000000 },
- { 0x00400c01, 0xf9500231, 0x00ab8071, 0x00000000 },
- { 0x00600c01, 0xd1200231, 0x00ae8411, 0x00000000 },
- { 0x00600c01, 0xd1300231, 0x00ae8431, 0x00000000 },
- { 0x00600c01, 0xd1400231, 0x00ae8451, 0x00000000 },
- { 0x00600c01, 0xd1500231, 0x00ae8471, 0x00000000 },
- { 0x00400c01, 0xf5200231, 0x00ab8811, 0x00000000 },
- { 0x00400801, 0xf5300231, 0x00ab8831, 0x00000000 },
- { 0x00400c01, 0xf5400231, 0x00ab8851, 0x00000000 },
- { 0x00400801, 0xf5500231, 0x00ab8871, 0x00000000 },
+ { 0x00000040, 0x23841ca5, 0x00000364, 0x00000008 },
+ { 0x00000040, 0x24a41ca5, 0x00000364, 0x0000000a },
+ { 0x00600401, 0xf8000231, 0x00cf8001, 0x00000000 },
+ { 0x00600401, 0xf8200231, 0x00cf8021, 0x00000000 },
+ { 0x00800c01, 0xd0000231, 0x00d28401, 0x00000000 },
+ { 0x00800c01, 0xd0200231, 0x00d28421, 0x00000000 },
+ { 0x00600801, 0xf4000231, 0x00cf8801, 0x00000000 },
+ { 0x00600801, 0xf4200231, 0x00cf8821, 0x00000000 },
+ { 0x00600401, 0xf9200231, 0x00cf8041, 0x00000000 },
+ { 0x00600401, 0xf9400231, 0x00cf8061, 0x00000000 },
+ { 0x00800c01, 0xd1200231, 0x00d28441, 0x00000000 },
+ { 0x00800c01, 0xd1400231, 0x00d28461, 0x00000000 },
+ { 0x00600801, 0xf5200231, 0x00cf8841, 0x00000000 },
+ { 0x00600801, 0xf5400231, 0x00cf8861, 0x00000000 },
+ { 0x05000031, 0x20000e24, 0x00000380, 0x060a8018 },
+ { 0x05000031, 0x20000e24, 0x000004a0, 0x060a8018 },
{ 0x00400040, 0x22002da8, 0x006902c0, 0x06000600 },
- { 0x00400401, 0xf8400231, 0x00ab8001, 0x00000000 },
- { 0x00400c01, 0xf8500231, 0x00ab8021, 0x00000000 },
- { 0x00400401, 0xf8600231, 0x00ab8041, 0x00000000 },
- { 0x00400c01, 0xf8700231, 0x00ab8061, 0x00000000 },
- { 0x00600c01, 0xd0400231, 0x00ae8401, 0x00000000 },
- { 0x00600c01, 0xd0500231, 0x00ae8421, 0x00000000 },
- { 0x00600c01, 0xd0600231, 0x00ae8441, 0x00000000 },
- { 0x00600c01, 0xd0700231, 0x00ae8461, 0x00000000 },
- { 0x00400c01, 0xf4400231, 0x00ab8801, 0x00000000 },
- { 0x00400801, 0xf4500231, 0x00ab8821, 0x00000000 },
- { 0x00400c01, 0xf4600231, 0x00ab8841, 0x00000000 },
- { 0x00400801, 0xf4700231, 0x00ab8861, 0x00000000 },
- { 0x00400401, 0xf9600231, 0x00ab8011, 0x00000000 },
- { 0x00400c01, 0xf9700231, 0x00ab8031, 0x00000000 },
- { 0x00400401, 0xf9800231, 0x00ab8051, 0x00000000 },
- { 0x00400c01, 0xf9900231, 0x00ab8071, 0x00000000 },
- { 0x00600c01, 0xd1600231, 0x00ae8411, 0x00000000 },
- { 0x00600c01, 0xd1700231, 0x00ae8431, 0x00000000 },
- { 0x00600c01, 0xd1800231, 0x00ae8451, 0x00000000 },
- { 0x00600c01, 0xd1900231, 0x00ae8471, 0x00000000 },
- { 0x00400c01, 0xf5600231, 0x00ab8811, 0x00000000 },
- { 0x00400801, 0xf5700231, 0x00ab8831, 0x00000000 },
- { 0x00400c01, 0xf5800231, 0x00ab8851, 0x00000000 },
- { 0x00400801, 0xf5900231, 0x00ab8871, 0x00000000 },
- { 0x05000031, 0x20000e24, 0x00000380, 0x120a8018 },
- { 0x05000031, 0x20000e24, 0x000004a0, 0x120a8018 },
+ { 0x00000040, 0x23841ca5, 0x00000364, 0x0000000c },
+ { 0x00000040, 0x24a41ca5, 0x00000364, 0x0000000e },
+ { 0x00600401, 0xf8000231, 0x00cf8001, 0x00000000 },
+ { 0x00600401, 0xf8200231, 0x00cf8021, 0x00000000 },
+ { 0x00800c01, 0xd0000231, 0x00d28401, 0x00000000 },
+ { 0x00800c01, 0xd0200231, 0x00d28421, 0x00000000 },
+ { 0x00600801, 0xf4000231, 0x00cf8801, 0x00000000 },
+ { 0x00600801, 0xf4200231, 0x00cf8821, 0x00000000 },
+ { 0x00600401, 0xf9200231, 0x00cf8041, 0x00000000 },
+ { 0x00600401, 0xf9400231, 0x00cf8061, 0x00000000 },
+ { 0x00800c01, 0xd1200231, 0x00d28441, 0x00000000 },
+ { 0x00800c01, 0xd1400231, 0x00d28461, 0x00000000 },
+ { 0x00600801, 0xf5200231, 0x00cf8841, 0x00000000 },
+ { 0x00600801, 0xf5400231, 0x00cf8861, 0x00000000 },
+ { 0x05000031, 0x20000e24, 0x00000380, 0x060a8018 },
+ { 0x05000031, 0x20000e24, 0x000004a0, 0x060a8018 },
{ 0x00600001, 0x2fe00021, 0x008d0000, 0x00000000 },
{ 0x07000031, 0x20001e24, 0x00000fe0, 0x82000010 },
{ 0x00600041, 0x206077bd, 0x008d0060, 0x000000f0 },
{ 0x00200001, 0x211401bd, 0x004500e0, 0x00000000 },
{ 0x01600010, 0x20002e24, 0x0000005a, 0x00010001 },
- { 0x00710001, 0x240003bc, 0x008d00c0, 0x00000000 },
- { 0x00710048, 0x20c077bd, 0x008d0060, 0x00000114 },
- { 0x00600001, 0x240003bc, 0x008d00a0, 0x00000000 },
- { 0x00600048, 0x20a077bd, 0x008d0080, 0x00000118 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00000000 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000114 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00020002 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000114 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00040004 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000114 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00060006 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000114 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00080008 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000114 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000a000a },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000114 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000c000c },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000114 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000e000e },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000114 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
{ 0x00800001, 0x22a00169, 0x00000000, 0xffffffff },
{ 0x02000010, 0x20002d24, 0x020000e4, 0x00000000 },
{ 0x02010010, 0x20002d24, 0x020000e6, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000018 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x0000001a },
+ { 0x00000005, 0x23022d31, 0x00000044, 0x00030003 },
{ 0x00000401, 0x233803bd, 0x000000f4, 0x00000000 },
{ 0x00000c01, 0x233003bd, 0x00000060, 0x00000000 },
{ 0x00000c01, 0x233403bd, 0x00000080, 0x00000000 },
{ 0x00400409, 0x22402d8d, 0x00690400, 0x00050005 },
{ 0x00000801, 0x22500061, 0x00000000, 0x01000100 },
{ 0x00000001, 0x22d00061, 0x00000000, 0x00400040 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000052 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000401, 0x233c0021, 0x000000fc, 0x00000000 },
{ 0x00000801, 0x23240121, 0x000000f8, 0x00000000 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x28000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x048eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000a000 },
{ 0x02000031, 0x28800229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000010 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000050 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000001 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2a000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x048eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000a000 },
{ 0x02000031, 0x2a800229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000010 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000050 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000002 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2c000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x048eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000a000 },
{ 0x02000031, 0x2c800229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000010 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000050 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000003 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2e000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x048eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000a000 },
{ 0x02000031, 0x2e800229, 0x00000200, 0x00000200 },
{ 0x00000c08, 0x24a43da5, 0x000000e2, 0x00010001 },
{ 0x00000801, 0x23880061, 0x00000000, 0x000f000f },
{ 0x00000801, 0x24a80061, 0x00000000, 0x0007000f },
- { 0x80800040, 0x28002d29, 0x00b10800, 0x00800080 },
- { 0x80800040, 0x28202d29, 0x00b10820, 0x00800080 },
- { 0x80800040, 0x28802d29, 0x00b10880, 0x00800080 },
- { 0x80800040, 0x28a02d29, 0x00b108a0, 0x00800080 },
- { 0x80800040, 0x28c02d29, 0x00b108c0, 0x00800080 },
- { 0x80800040, 0x28e02d29, 0x00b108e0, 0x00800080 },
- { 0x80800040, 0x29002d29, 0x00b10900, 0x00800080 },
- { 0x80800040, 0x29202d29, 0x00b10920, 0x00800080 },
- { 0x80800040, 0x29802d29, 0x00b10980, 0x00800080 },
- { 0x80800040, 0x29a02d29, 0x00b109a0, 0x00800080 },
- { 0x80800040, 0x29c02d29, 0x00b109c0, 0x00800080 },
- { 0x80800040, 0x29e02d29, 0x00b109e0, 0x00800080 },
- { 0x80800040, 0x2a002d29, 0x00b10a00, 0x00800080 },
- { 0x80800040, 0x2a202d29, 0x00b10a20, 0x00800080 },
- { 0x80800040, 0x2a802d29, 0x00b10a80, 0x00800080 },
- { 0x80800040, 0x2aa02d29, 0x00b10aa0, 0x00800080 },
- { 0x80800040, 0x2ac02d29, 0x00b10ac0, 0x00800080 },
- { 0x80800040, 0x2ae02d29, 0x00b10ae0, 0x00800080 },
- { 0x80800040, 0x2b002d29, 0x00b10b00, 0x00800080 },
- { 0x80800040, 0x2b202d29, 0x00b10b20, 0x00800080 },
- { 0x80800040, 0x2b802d29, 0x00b10b80, 0x00800080 },
- { 0x80800040, 0x2ba02d29, 0x00b10ba0, 0x00800080 },
- { 0x80800040, 0x2bc02d29, 0x00b10bc0, 0x00800080 },
- { 0x80800040, 0x2be02d29, 0x00b10be0, 0x00800080 },
- { 0x80800040, 0x2c002d29, 0x00b10c00, 0x00800080 },
- { 0x80800040, 0x2c202d29, 0x00b10c20, 0x00800080 },
- { 0x80800040, 0x2c802d29, 0x00b10c80, 0x00800080 },
- { 0x80800040, 0x2ca02d29, 0x00b10ca0, 0x00800080 },
- { 0x80800040, 0x2cc02d29, 0x00b10cc0, 0x00800080 },
- { 0x80800040, 0x2ce02d29, 0x00b10ce0, 0x00800080 },
- { 0x80800040, 0x2d002d29, 0x00b10d00, 0x00800080 },
- { 0x80800040, 0x2d202d29, 0x00b10d20, 0x00800080 },
- { 0x80800040, 0x2d802d29, 0x00b10d80, 0x00800080 },
- { 0x80800040, 0x2da02d29, 0x00b10da0, 0x00800080 },
- { 0x80800040, 0x2dc02d29, 0x00b10dc0, 0x00800080 },
- { 0x80800040, 0x2de02d29, 0x00b10de0, 0x00800080 },
- { 0x80800040, 0x2e002d29, 0x00b10e00, 0x00800080 },
- { 0x80800040, 0x2e202d29, 0x00b10e20, 0x00800080 },
- { 0x80800040, 0x2e802d29, 0x00b10e80, 0x00800080 },
- { 0x80800040, 0x2ea02d29, 0x00b10ea0, 0x00800080 },
- { 0x80800040, 0x2ec02d29, 0x00b10ec0, 0x00800080 },
- { 0x80800040, 0x2ee02d29, 0x00b10ee0, 0x00800080 },
- { 0x80800040, 0x2f002d29, 0x00b10f00, 0x00800080 },
- { 0x80800040, 0x2f202d29, 0x00b10f20, 0x00800080 },
- { 0x80800040, 0x2f802d29, 0x00b10f80, 0x00800080 },
- { 0x80800040, 0x2fa02d29, 0x00b10fa0, 0x00800080 },
- { 0x80800040, 0x2fc02d29, 0x00b10fc0, 0x00800080 },
- { 0x80800040, 0x2fe02d29, 0x00b10fe0, 0x00800080 },
+ { 0x80800040, 0xa4002d29, 0x00b18400, 0x00800080 },
+ { 0x80800040, 0xa4202d29, 0x00b18420, 0x00800080 },
+ { 0x80800040, 0xa4402d29, 0x00b18440, 0x00800080 },
+ { 0x80800040, 0xa4602d29, 0x00b18460, 0x00800080 },
+ { 0x00600008, 0x45c03d29, 0x00ae8800, 0x00010001 },
+ { 0x00600008, 0x45e03d29, 0x00ae8820, 0x00010001 },
+ { 0x00600008, 0x46003d29, 0x00ae8840, 0x00010001 },
+ { 0x00600008, 0x46203d29, 0x00ae8860, 0x00010001 },
+ { 0x00600040, 0x45c02529, 0x00ae05c0, 0x00ae05e0 },
+ { 0x80600040, 0xc8002d29, 0x00ae05c0, 0x00800080 },
+ { 0x00600040, 0x46002529, 0x00ae0600, 0x00ae0620 },
+ { 0x80600040, 0xc8402d29, 0x00ae0600, 0x00800080 },
+ { 0x00600008, 0x46403d29, 0x00ae8000, 0x00010001 },
+ { 0x00600008, 0x46603d29, 0x00ae8020, 0x00010001 },
+ { 0x00600008, 0x46803d29, 0x00ae8040, 0x00010001 },
+ { 0x00600008, 0x46a03d29, 0x00ae8060, 0x00010001 },
+ { 0x00600040, 0x46402529, 0x00ae0640, 0x00ae0660 },
+ { 0x80600040, 0xc0002d29, 0x00ae0640, 0x00800080 },
+ { 0x00600040, 0x46802529, 0x00ae0680, 0x00ae06a0 },
+ { 0x80600040, 0xc0402d29, 0x00ae0680, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x04000400 },
+ { 0x80800040, 0xb4002d29, 0x00b19400, 0x00800080 },
+ { 0x80800040, 0xb4202d29, 0x00b19420, 0x00800080 },
+ { 0x80800040, 0xb4402d29, 0x00b19440, 0x00800080 },
+ { 0x80800040, 0xb4602d29, 0x00b19460, 0x00800080 },
+ { 0x00600008, 0x45c03d29, 0x00ae9800, 0x00010001 },
+ { 0x00600008, 0x45e03d29, 0x00ae9820, 0x00010001 },
+ { 0x00600008, 0x46003d29, 0x00ae9840, 0x00010001 },
+ { 0x00600008, 0x46203d29, 0x00ae9860, 0x00010001 },
+ { 0x00600040, 0x45c02529, 0x00ae05c0, 0x00ae05e0 },
+ { 0x80600040, 0xd8002d29, 0x00ae05c0, 0x00800080 },
+ { 0x00600040, 0x46002529, 0x00ae0600, 0x00ae0620 },
+ { 0x80600040, 0xd8402d29, 0x00ae0600, 0x00800080 },
+ { 0x00600008, 0x46403d29, 0x00ae9000, 0x00010001 },
+ { 0x00600008, 0x46603d29, 0x00ae9020, 0x00010001 },
+ { 0x00600008, 0x46803d29, 0x00ae9040, 0x00010001 },
+ { 0x00600008, 0x46a03d29, 0x00ae9060, 0x00010001 },
+ { 0x00600040, 0x46402529, 0x00ae0640, 0x00ae0660 },
+ { 0x80600040, 0xd0002d29, 0x00ae0640, 0x00800080 },
+ { 0x00600040, 0x46802529, 0x00ae0680, 0x00ae06a0 },
+ { 0x80600040, 0xd0402d29, 0x00ae0680, 0x00800080 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x06000600 },
+ { 0x80800040, 0xa4002d29, 0x00b18400, 0x00800080 },
+ { 0x80800040, 0xa4202d29, 0x00b18420, 0x00800080 },
+ { 0x80800040, 0xa4402d29, 0x00b18440, 0x00800080 },
+ { 0x80800040, 0xa4602d29, 0x00b18460, 0x00800080 },
+ { 0x00600008, 0x45c03d29, 0x00ae8800, 0x00010001 },
+ { 0x00600008, 0x45e03d29, 0x00ae8820, 0x00010001 },
+ { 0x00600008, 0x46003d29, 0x00ae8840, 0x00010001 },
+ { 0x00600008, 0x46203d29, 0x00ae8860, 0x00010001 },
+ { 0x00600040, 0x45c02529, 0x00ae05c0, 0x00ae05e0 },
+ { 0x80600040, 0xc8002d29, 0x00ae05c0, 0x00800080 },
+ { 0x00600040, 0x46002529, 0x00ae0600, 0x00ae0620 },
+ { 0x80600040, 0xc8402d29, 0x00ae0600, 0x00800080 },
+ { 0x00600008, 0x46403d29, 0x00ae8000, 0x00010001 },
+ { 0x00600008, 0x46603d29, 0x00ae8020, 0x00010001 },
+ { 0x00600008, 0x46803d29, 0x00ae8040, 0x00010001 },
+ { 0x00600008, 0x46a03d29, 0x00ae8060, 0x00010001 },
+ { 0x00600040, 0x46402529, 0x00ae0640, 0x00ae0660 },
+ { 0x80600040, 0xc0002d29, 0x00ae0640, 0x00800080 },
+ { 0x00600040, 0x46802529, 0x00ae0680, 0x00ae06a0 },
+ { 0x80600040, 0xc0402d29, 0x00ae0680, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x04000400 },
+ { 0x80800040, 0xb4002d29, 0x00b19400, 0x00800080 },
+ { 0x80800040, 0xb4202d29, 0x00b19420, 0x00800080 },
+ { 0x80800040, 0xb4402d29, 0x00b19440, 0x00800080 },
+ { 0x80800040, 0xb4602d29, 0x00b19460, 0x00800080 },
+ { 0x00600008, 0x45c03d29, 0x00ae9800, 0x00010001 },
+ { 0x00600008, 0x45e03d29, 0x00ae9820, 0x00010001 },
+ { 0x00600008, 0x46003d29, 0x00ae9840, 0x00010001 },
+ { 0x00600008, 0x46203d29, 0x00ae9860, 0x00010001 },
+ { 0x00600040, 0x45c02529, 0x00ae05c0, 0x00ae05e0 },
+ { 0x80600040, 0xd8002d29, 0x00ae05c0, 0x00800080 },
+ { 0x00600040, 0x46002529, 0x00ae0600, 0x00ae0620 },
+ { 0x80600040, 0xd8402d29, 0x00ae0600, 0x00800080 },
+ { 0x00600008, 0x46403d29, 0x00ae9000, 0x00010001 },
+ { 0x00600008, 0x46603d29, 0x00ae9020, 0x00010001 },
+ { 0x00600008, 0x46803d29, 0x00ae9040, 0x00010001 },
+ { 0x00600008, 0x46a03d29, 0x00ae9060, 0x00010001 },
+ { 0x00600040, 0x46402529, 0x00ae0640, 0x00ae0660 },
+ { 0x80600040, 0xd0002d29, 0x00ae0640, 0x00800080 },
+ { 0x00600040, 0x46802529, 0x00ae0680, 0x00ae06a0 },
+ { 0x80600040, 0xd0402d29, 0x00ae0680, 0x00800080 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x06000600 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x00000000 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x02000200 },
{ 0x00800401, 0x23a00231, 0x00d28401, 0x00000000 },
{ 0x00800801, 0x23b00231, 0x00d28421, 0x00000000 },
{ 0x00800401, 0x23c00231, 0x00d28441, 0x00000000 },
{ 0x00600041, 0x206077bd, 0x008d0060, 0x000000f0 },
{ 0x00200001, 0x211401bd, 0x004500e0, 0x00000000 },
{ 0x01600010, 0x20002e24, 0x0000005a, 0x00010001 },
- { 0x00710001, 0x240003bc, 0x008d00c0, 0x00000000 },
- { 0x00710048, 0x20c077bd, 0x008d0060, 0x00000114 },
- { 0x00600001, 0x240003bc, 0x008d00a0, 0x00000000 },
- { 0x00600048, 0x20a077bd, 0x008d0080, 0x00000118 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00000000 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000114 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00020002 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000114 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00040004 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000114 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00060006 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000114 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00080008 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000114 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000a000a },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000114 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000c000c },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000114 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000e000e },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000114 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
{ 0x00800001, 0x22a00169, 0x00000000, 0xffffffff },
{ 0x02000010, 0x20002d24, 0x020000e4, 0x00000000 },
{ 0x02010010, 0x20002d24, 0x020000e6, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000018 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x0000001a },
+ { 0x00000005, 0x23022d31, 0x00000044, 0x00030003 },
{ 0x00000401, 0x233803bd, 0x000000f4, 0x00000000 },
{ 0x00000c01, 0x233003bd, 0x00000060, 0x00000000 },
{ 0x00000c01, 0x233403bd, 0x00000080, 0x00000000 },
{ 0x00400409, 0x22402d8d, 0x00690400, 0x00050005 },
{ 0x00000801, 0x22500061, 0x00000000, 0x01000100 },
{ 0x00000001, 0x22d00061, 0x00000000, 0x00400040 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000052 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000401, 0x233c0021, 0x000000fc, 0x00000000 },
{ 0x00000801, 0x23240121, 0x000000f8, 0x00000000 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x28000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x048eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000a000 },
{ 0x02000031, 0x28800229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000010 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000050 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000001 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2a000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x048eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000a000 },
{ 0x02000031, 0x2a800229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000010 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000050 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000002 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2c000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x048eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000a000 },
{ 0x02000031, 0x2c800229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000010 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000050 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000003 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2e000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x048eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000a000 },
{ 0x02000031, 0x2e800229, 0x00000200, 0x00000200 },
{ 0x00000801, 0x23880061, 0x00000000, 0x000f000f },
{ 0x00000801, 0x24a80061, 0x00000000, 0x00070007 },
{ 0x00000801, 0x25c80061, 0x00000000, 0x00070007 },
+ { 0x80800040, 0xa4002d29, 0x00b18400, 0x00800080 },
+ { 0x80800040, 0xa4202d29, 0x00b18420, 0x00800080 },
+ { 0x80800040, 0xa4402d29, 0x00b18440, 0x00800080 },
+ { 0x80800040, 0xa4602d29, 0x00b18460, 0x00800080 },
+ { 0x80600040, 0xc8002d29, 0x00ae8800, 0x00800080 },
+ { 0x80600040, 0xc8402d29, 0x00ae8840, 0x00800080 },
+ { 0x80600040, 0xc0002d29, 0x00ae8000, 0x00800080 },
+ { 0x80600040, 0xc0402d29, 0x00ae8040, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x04000400 },
+ { 0x80800040, 0xb4002d29, 0x00b19400, 0x00800080 },
+ { 0x80800040, 0xb4202d29, 0x00b19420, 0x00800080 },
+ { 0x80800040, 0xb4402d29, 0x00b19440, 0x00800080 },
+ { 0x80800040, 0xb4602d29, 0x00b19460, 0x00800080 },
+ { 0x80600040, 0xd8002d29, 0x00ae9800, 0x00800080 },
+ { 0x80600040, 0xd8402d29, 0x00ae9840, 0x00800080 },
+ { 0x80600040, 0xd0002d29, 0x00ae9000, 0x00800080 },
+ { 0x80600040, 0xd0402d29, 0x00ae9040, 0x00800080 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x06000600 },
+ { 0x80800040, 0xa4002d29, 0x00b18400, 0x00800080 },
+ { 0x80800040, 0xa4202d29, 0x00b18420, 0x00800080 },
+ { 0x80800040, 0xa4402d29, 0x00b18440, 0x00800080 },
+ { 0x80800040, 0xa4602d29, 0x00b18460, 0x00800080 },
+ { 0x80600040, 0xc8002d29, 0x00ae8800, 0x00800080 },
+ { 0x80600040, 0xc8402d29, 0x00ae8840, 0x00800080 },
+ { 0x80600040, 0xc0002d29, 0x00ae8000, 0x00800080 },
+ { 0x80600040, 0xc0402d29, 0x00ae8040, 0x00800080 },
+ { 0x80800040, 0xb4002d29, 0x00b19400, 0x00800080 },
+ { 0x80800040, 0xb4202d29, 0x00b19420, 0x00800080 },
+ { 0x80800040, 0xb4402d29, 0x00b19440, 0x00800080 },
+ { 0x80800040, 0xb4602d29, 0x00b19460, 0x00800080 },
+ { 0x80600040, 0xd8002d29, 0x00ae9800, 0x00800080 },
+ { 0x80600040, 0xd8402d29, 0x00ae9840, 0x00800080 },
+ { 0x80600040, 0xd0002d29, 0x00ae9000, 0x00800080 },
+ { 0x80600040, 0xd0402d29, 0x00ae9040, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x00000000 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x02000200 },
{ 0x00800401, 0x23a00231, 0x00d28401, 0x00000000 },
{ 0x00800801, 0x23b00231, 0x00d28421, 0x00000000 },
{ 0x00800401, 0x23c00231, 0x00d28441, 0x00000000 },
{ 0x00600041, 0x206077bd, 0x008d0060, 0x000000f0 },
{ 0x00200001, 0x211401bd, 0x004500e0, 0x00000000 },
{ 0x01600010, 0x20002e24, 0x0000005a, 0x00010001 },
- { 0x00710001, 0x240003bc, 0x008d00c0, 0x00000000 },
- { 0x00710048, 0x20c077bd, 0x008d0060, 0x00000114 },
- { 0x00600001, 0x240003bc, 0x008d00a0, 0x00000000 },
- { 0x00600048, 0x20a077bd, 0x008d0080, 0x00000118 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00000000 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000114 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00020002 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000114 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00040004 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000114 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00060006 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000114 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00080008 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000114 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000a000a },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000114 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000c000c },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000114 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000e000e },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000114 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
{ 0x00800001, 0x22a00169, 0x00000000, 0xffffffff },
{ 0x02000010, 0x20002d24, 0x020000e4, 0x00000000 },
{ 0x02010010, 0x20002d24, 0x020000e6, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000018 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x0000001a },
+ { 0x00000005, 0x23022d31, 0x00000044, 0x00030003 },
{ 0x00000401, 0x233803bd, 0x000000f4, 0x00000000 },
{ 0x00000c01, 0x233003bd, 0x00000060, 0x00000000 },
{ 0x00000c01, 0x233403bd, 0x00000080, 0x00000000 },
{ 0x00400409, 0x22402d8d, 0x00690400, 0x00050005 },
{ 0x00000801, 0x22500061, 0x00000000, 0x01000100 },
{ 0x00000001, 0x22d00061, 0x00000000, 0x00400040 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000018 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000058 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000401, 0x233c0021, 0x000000fc, 0x00000000 },
{ 0x00000801, 0x23240121, 0x000000f8, 0x00000000 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x28000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x28800229, 0x00000200, 0x00000200 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x29000229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000016 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000056 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000001 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2a000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x2a800229, 0x00000200, 0x00000200 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x2b000229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000016 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000056 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000002 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2c000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x2c800229, 0x00000200, 0x00000200 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x2d000229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000016 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000056 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000003 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2e000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x2e800229, 0x00000200, 0x00000200 },
{ 0x00400040, 0x22082e2c, 0x0069005c, 0x03a003a0 },
{ 0x00000409, 0x23603da5, 0x000000e0, 0x00010001 },
{ 0x00000c01, 0x236401a5, 0x000000e2, 0x00000000 },
- { 0x00000801, 0x23680061, 0x00000000, 0x000f000f },
- { 0x00400401, 0xf8000231, 0x00ab8001, 0x00000000 },
- { 0x00400c01, 0xf8100231, 0x00ab8021, 0x00000000 },
- { 0x00400401, 0xf8200231, 0x00ab8041, 0x00000000 },
- { 0x00400c01, 0xf8300231, 0x00ab8061, 0x00000000 },
- { 0x00600c01, 0xd0000231, 0x00ae8401, 0x00000000 },
- { 0x00600c01, 0xd0100231, 0x00ae8421, 0x00000000 },
- { 0x00600c01, 0xd0200231, 0x00ae8441, 0x00000000 },
- { 0x00600c01, 0xd0300231, 0x00ae8461, 0x00000000 },
- { 0x00400c01, 0xf4000231, 0x00ab8801, 0x00000000 },
- { 0x00400801, 0xf4100231, 0x00ab8821, 0x00000000 },
- { 0x00400c01, 0xf4200231, 0x00ab8841, 0x00000000 },
- { 0x00400801, 0xf4300231, 0x00ab8861, 0x00000000 },
- { 0x00400401, 0xf9200231, 0x00ab8011, 0x00000000 },
- { 0x00400c01, 0xf9300231, 0x00ab8031, 0x00000000 },
- { 0x00400401, 0xf9400231, 0x00ab8051, 0x00000000 },
- { 0x00400c01, 0xf9500231, 0x00ab8071, 0x00000000 },
- { 0x00600c01, 0xd1200231, 0x00ae8411, 0x00000000 },
- { 0x00600c01, 0xd1300231, 0x00ae8431, 0x00000000 },
- { 0x00600c01, 0xd1400231, 0x00ae8451, 0x00000000 },
- { 0x00600c01, 0xd1500231, 0x00ae8471, 0x00000000 },
- { 0x00400c01, 0xf5200231, 0x00ab8811, 0x00000000 },
- { 0x00400801, 0xf5300231, 0x00ab8831, 0x00000000 },
- { 0x00400c01, 0xf5400231, 0x00ab8851, 0x00000000 },
- { 0x00400801, 0xf5500231, 0x00ab8871, 0x00000000 },
+ { 0x00000801, 0x23680061, 0x00000000, 0x0001001f },
+ { 0x80400040, 0xc0002d29, 0x008a8000, 0x00800080 },
+ { 0x80400040, 0xc0202d29, 0x008a8020, 0x00800080 },
+ { 0x80400040, 0xc0402d29, 0x008a8040, 0x00800080 },
+ { 0x80400040, 0xc0602d29, 0x008a8060, 0x00800080 },
+ { 0x80600040, 0xa4002d29, 0x008d8400, 0x00800080 },
+ { 0x80600040, 0xa4202d29, 0x008d8420, 0x00800080 },
+ { 0x80600040, 0xa4402d29, 0x008d8440, 0x00800080 },
+ { 0x80600040, 0xa4602d29, 0x008d8460, 0x00800080 },
+ { 0x80400040, 0xc8002d29, 0x008a8800, 0x00800080 },
+ { 0x80400040, 0xc8202d29, 0x008a8820, 0x00800080 },
+ { 0x80400040, 0xc8402d29, 0x008a8840, 0x00800080 },
+ { 0x80400040, 0xc8602d29, 0x008a8860, 0x00800080 },
+ { 0x80400040, 0xc0102d29, 0x008a8010, 0x00800080 },
+ { 0x80400040, 0xc0302d29, 0x008a8030, 0x00800080 },
+ { 0x80400040, 0xc0502d29, 0x008a8050, 0x00800080 },
+ { 0x80400040, 0xc0702d29, 0x008a8070, 0x00800080 },
+ { 0x80600040, 0xa4102d29, 0x008d8410, 0x00800080 },
+ { 0x80600040, 0xa4302d29, 0x008d8430, 0x00800080 },
+ { 0x80600040, 0xa4502d29, 0x008d8450, 0x00800080 },
+ { 0x80600040, 0xa4702d29, 0x008d8470, 0x00800080 },
+ { 0x80400040, 0xc8102d29, 0x008a8810, 0x00800080 },
+ { 0x80400040, 0xc8302d29, 0x008a8830, 0x00800080 },
+ { 0x80400040, 0xc8502d29, 0x008a8850, 0x00800080 },
+ { 0x80400040, 0xc8702d29, 0x008a8870, 0x00800080 },
{ 0x00400040, 0x22002da8, 0x006902c0, 0x02000200 },
+ { 0x80400040, 0xc0002d29, 0x008a8000, 0x00800080 },
+ { 0x80400040, 0xc0202d29, 0x008a8020, 0x00800080 },
+ { 0x80400040, 0xc0402d29, 0x008a8040, 0x00800080 },
+ { 0x80400040, 0xc0602d29, 0x008a8060, 0x00800080 },
+ { 0x80600040, 0xa4002d29, 0x008d8400, 0x00800080 },
+ { 0x80600040, 0xa4202d29, 0x008d8420, 0x00800080 },
+ { 0x80600040, 0xa4402d29, 0x008d8440, 0x00800080 },
+ { 0x80600040, 0xa4602d29, 0x008d8460, 0x00800080 },
+ { 0x80400040, 0xc8002d29, 0x008a8800, 0x00800080 },
+ { 0x80400040, 0xc8202d29, 0x008a8820, 0x00800080 },
+ { 0x80400040, 0xc8402d29, 0x008a8840, 0x00800080 },
+ { 0x80400040, 0xc8602d29, 0x008a8860, 0x00800080 },
+ { 0x80400040, 0xc0102d29, 0x008a8010, 0x00800080 },
+ { 0x80400040, 0xc0302d29, 0x008a8030, 0x00800080 },
+ { 0x80400040, 0xc0502d29, 0x008a8050, 0x00800080 },
+ { 0x80400040, 0xc0702d29, 0x008a8070, 0x00800080 },
+ { 0x80600040, 0xa4102d29, 0x008d8410, 0x00800080 },
+ { 0x80600040, 0xa4302d29, 0x008d8430, 0x00800080 },
+ { 0x80600040, 0xa4502d29, 0x008d8450, 0x00800080 },
+ { 0x80600040, 0xa4702d29, 0x008d8470, 0x00800080 },
+ { 0x80400040, 0xc8102d29, 0x008a8810, 0x00800080 },
+ { 0x80400040, 0xc8302d29, 0x008a8830, 0x00800080 },
+ { 0x80400040, 0xc8502d29, 0x008a8850, 0x00800080 },
+ { 0x80400040, 0xc8702d29, 0x008a8870, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x04000400 },
+ { 0x80400040, 0xc0002d29, 0x008a8000, 0x00800080 },
+ { 0x80400040, 0xc0202d29, 0x008a8020, 0x00800080 },
+ { 0x80400040, 0xc0402d29, 0x008a8040, 0x00800080 },
+ { 0x80400040, 0xc0602d29, 0x008a8060, 0x00800080 },
+ { 0x80600040, 0xa4002d29, 0x008d8400, 0x00800080 },
+ { 0x80600040, 0xa4202d29, 0x008d8420, 0x00800080 },
+ { 0x80600040, 0xa4402d29, 0x008d8440, 0x00800080 },
+ { 0x80600040, 0xa4602d29, 0x008d8460, 0x00800080 },
+ { 0x80400040, 0xc8002d29, 0x008a8800, 0x00800080 },
+ { 0x80400040, 0xc8202d29, 0x008a8820, 0x00800080 },
+ { 0x80400040, 0xc8402d29, 0x008a8840, 0x00800080 },
+ { 0x80400040, 0xc8602d29, 0x008a8860, 0x00800080 },
+ { 0x80400040, 0xc0102d29, 0x008a8010, 0x00800080 },
+ { 0x80400040, 0xc0302d29, 0x008a8030, 0x00800080 },
+ { 0x80400040, 0xc0502d29, 0x008a8050, 0x00800080 },
+ { 0x80400040, 0xc0702d29, 0x008a8070, 0x00800080 },
+ { 0x80600040, 0xa4102d29, 0x008d8410, 0x00800080 },
+ { 0x80600040, 0xa4302d29, 0x008d8430, 0x00800080 },
+ { 0x80600040, 0xa4502d29, 0x008d8450, 0x00800080 },
+ { 0x80600040, 0xa4702d29, 0x008d8470, 0x00800080 },
+ { 0x80400040, 0xc8102d29, 0x008a8810, 0x00800080 },
+ { 0x80400040, 0xc8302d29, 0x008a8830, 0x00800080 },
+ { 0x80400040, 0xc8502d29, 0x008a8850, 0x00800080 },
+ { 0x80400040, 0xc8702d29, 0x008a8870, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x06000600 },
+ { 0x80400040, 0xc0002d29, 0x008a8000, 0x00800080 },
+ { 0x80400040, 0xc0202d29, 0x008a8020, 0x00800080 },
+ { 0x80400040, 0xc0402d29, 0x008a8040, 0x00800080 },
+ { 0x80400040, 0xc0602d29, 0x008a8060, 0x00800080 },
+ { 0x80600040, 0xa4002d29, 0x008d8400, 0x00800080 },
+ { 0x80600040, 0xa4202d29, 0x008d8420, 0x00800080 },
+ { 0x80600040, 0xa4402d29, 0x008d8440, 0x00800080 },
+ { 0x80600040, 0xa4602d29, 0x008d8460, 0x00800080 },
+ { 0x80400040, 0xc8002d29, 0x008a8800, 0x00800080 },
+ { 0x80400040, 0xc8202d29, 0x008a8820, 0x00800080 },
+ { 0x80400040, 0xc8402d29, 0x008a8840, 0x00800080 },
+ { 0x80400040, 0xc8602d29, 0x008a8860, 0x00800080 },
+ { 0x80400040, 0xc0102d29, 0x008a8010, 0x00800080 },
+ { 0x80400040, 0xc0302d29, 0x008a8030, 0x00800080 },
+ { 0x80400040, 0xc0502d29, 0x008a8050, 0x00800080 },
+ { 0x80400040, 0xc0702d29, 0x008a8070, 0x00800080 },
+ { 0x80600040, 0xa4102d29, 0x008d8410, 0x00800080 },
+ { 0x80600040, 0xa4302d29, 0x008d8430, 0x00800080 },
+ { 0x80600040, 0xa4502d29, 0x008d8450, 0x00800080 },
+ { 0x80600040, 0xa4702d29, 0x008d8470, 0x00800080 },
+ { 0x80400040, 0xc8102d29, 0x008a8810, 0x00800080 },
+ { 0x80400040, 0xc8302d29, 0x008a8830, 0x00800080 },
+ { 0x80400040, 0xc8502d29, 0x008a8850, 0x00800080 },
+ { 0x80400040, 0xc8702d29, 0x008a8870, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x08000800 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x00000000 },
{ 0x00600001, 0x23800021, 0x008d0360, 0x00000000 },
{ 0x00600001, 0x24a00021, 0x008d0360, 0x00000000 },
- { 0x00400401, 0xf8400231, 0x00ab8001, 0x00000000 },
- { 0x00400c01, 0xf8500231, 0x00ab8021, 0x00000000 },
- { 0x00400401, 0xf8600231, 0x00ab8041, 0x00000000 },
- { 0x00400c01, 0xf8700231, 0x00ab8061, 0x00000000 },
- { 0x00600c01, 0xd0400231, 0x00ae8401, 0x00000000 },
- { 0x00600c01, 0xd0500231, 0x00ae8421, 0x00000000 },
- { 0x00600c01, 0xd0600231, 0x00ae8441, 0x00000000 },
- { 0x00600c01, 0xd0700231, 0x00ae8461, 0x00000000 },
- { 0x00400c01, 0xf4400231, 0x00ab8801, 0x00000000 },
- { 0x00400801, 0xf4500231, 0x00ab8821, 0x00000000 },
- { 0x00400c01, 0xf4600231, 0x00ab8841, 0x00000000 },
- { 0x00400801, 0xf4700231, 0x00ab8861, 0x00000000 },
- { 0x00400401, 0xf9600231, 0x00ab8011, 0x00000000 },
- { 0x00400c01, 0xf9700231, 0x00ab8031, 0x00000000 },
- { 0x00400401, 0xf9800231, 0x00ab8051, 0x00000000 },
- { 0x00400c01, 0xf9900231, 0x00ab8071, 0x00000000 },
- { 0x00600c01, 0xd1600231, 0x00ae8411, 0x00000000 },
- { 0x00600c01, 0xd1700231, 0x00ae8431, 0x00000000 },
- { 0x00600c01, 0xd1800231, 0x00ae8451, 0x00000000 },
- { 0x00600c01, 0xd1900231, 0x00ae8471, 0x00000000 },
- { 0x00400c01, 0xf5600231, 0x00ab8811, 0x00000000 },
- { 0x00400801, 0xf5700231, 0x00ab8831, 0x00000000 },
- { 0x00400c01, 0xf5800231, 0x00ab8851, 0x00000000 },
- { 0x00400801, 0xf5900231, 0x00ab8871, 0x00000000 },
+ { 0x00000040, 0x24a41ca5, 0x00000364, 0x00000002 },
+ { 0x00600401, 0xf8000231, 0x00cf8001, 0x00000000 },
+ { 0x00600401, 0xf8200231, 0x00cf8021, 0x00000000 },
+ { 0x00800c01, 0xd0000231, 0x00d28401, 0x00000000 },
+ { 0x00800c01, 0xd0200231, 0x00d28421, 0x00000000 },
+ { 0x00600801, 0xf4000231, 0x00cf8801, 0x00000000 },
+ { 0x00600801, 0xf4200231, 0x00cf8821, 0x00000000 },
+ { 0x00600401, 0xf9200231, 0x00cf8041, 0x00000000 },
+ { 0x00600401, 0xf9400231, 0x00cf8061, 0x00000000 },
+ { 0x00800c01, 0xd1200231, 0x00d28441, 0x00000000 },
+ { 0x00800c01, 0xd1400231, 0x00d28461, 0x00000000 },
+ { 0x00600801, 0xf5200231, 0x00cf8841, 0x00000000 },
+ { 0x00600801, 0xf5400231, 0x00cf8861, 0x00000000 },
+ { 0x05000031, 0x20000e24, 0x00000380, 0x060a8018 },
+ { 0x05000031, 0x20000e24, 0x000004a0, 0x060a8018 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x02000200 },
+ { 0x00000040, 0x23841ca5, 0x00000364, 0x00000004 },
+ { 0x00000040, 0x24a41ca5, 0x00000364, 0x00000006 },
+ { 0x00600401, 0xf8000231, 0x00cf8001, 0x00000000 },
+ { 0x00600401, 0xf8200231, 0x00cf8021, 0x00000000 },
+ { 0x00800c01, 0xd0000231, 0x00d28401, 0x00000000 },
+ { 0x00800c01, 0xd0200231, 0x00d28421, 0x00000000 },
+ { 0x00600801, 0xf4000231, 0x00cf8801, 0x00000000 },
+ { 0x00600801, 0xf4200231, 0x00cf8821, 0x00000000 },
+ { 0x00600401, 0xf9200231, 0x00cf8041, 0x00000000 },
+ { 0x00600401, 0xf9400231, 0x00cf8061, 0x00000000 },
+ { 0x00800c01, 0xd1200231, 0x00d28441, 0x00000000 },
+ { 0x00800c01, 0xd1400231, 0x00d28461, 0x00000000 },
+ { 0x00600801, 0xf5200231, 0x00cf8841, 0x00000000 },
+ { 0x00600801, 0xf5400231, 0x00cf8861, 0x00000000 },
+ { 0x05000031, 0x20000e24, 0x00000380, 0x060a8018 },
+ { 0x05000031, 0x20000e24, 0x000004a0, 0x060a8018 },
{ 0x00400040, 0x22002da8, 0x006902c0, 0x04000400 },
- { 0x00400040, 0x22082e2c, 0x0069005c, 0x04200420 },
- { 0x00000040, 0x24a01ca5, 0x00000360, 0x00000010 },
- { 0x00400401, 0xf8000231, 0x00ab8001, 0x00000000 },
- { 0x00400c01, 0xf8100231, 0x00ab8021, 0x00000000 },
- { 0x00400401, 0xf8200231, 0x00ab8041, 0x00000000 },
- { 0x00400c01, 0xf8300231, 0x00ab8061, 0x00000000 },
- { 0x00600c01, 0xd0000231, 0x00ae8401, 0x00000000 },
- { 0x00600c01, 0xd0100231, 0x00ae8421, 0x00000000 },
- { 0x00600c01, 0xd0200231, 0x00ae8441, 0x00000000 },
- { 0x00600c01, 0xd0300231, 0x00ae8461, 0x00000000 },
- { 0x00400c01, 0xf4000231, 0x00ab8801, 0x00000000 },
- { 0x00400801, 0xf4100231, 0x00ab8821, 0x00000000 },
- { 0x00400c01, 0xf4200231, 0x00ab8841, 0x00000000 },
- { 0x00400801, 0xf4300231, 0x00ab8861, 0x00000000 },
- { 0x00400401, 0xf9200231, 0x00ab8011, 0x00000000 },
- { 0x00400c01, 0xf9300231, 0x00ab8031, 0x00000000 },
- { 0x00400401, 0xf9400231, 0x00ab8051, 0x00000000 },
- { 0x00400c01, 0xf9500231, 0x00ab8071, 0x00000000 },
- { 0x00600c01, 0xd1200231, 0x00ae8411, 0x00000000 },
- { 0x00600c01, 0xd1300231, 0x00ae8431, 0x00000000 },
- { 0x00600c01, 0xd1400231, 0x00ae8451, 0x00000000 },
- { 0x00600c01, 0xd1500231, 0x00ae8471, 0x00000000 },
- { 0x00400c01, 0xf5200231, 0x00ab8811, 0x00000000 },
- { 0x00400801, 0xf5300231, 0x00ab8831, 0x00000000 },
- { 0x00400c01, 0xf5400231, 0x00ab8851, 0x00000000 },
- { 0x00400801, 0xf5500231, 0x00ab8871, 0x00000000 },
+ { 0x00000040, 0x23841ca5, 0x00000364, 0x00000008 },
+ { 0x00000040, 0x24a41ca5, 0x00000364, 0x0000000a },
+ { 0x00600401, 0xf8000231, 0x00cf8001, 0x00000000 },
+ { 0x00600401, 0xf8200231, 0x00cf8021, 0x00000000 },
+ { 0x00800c01, 0xd0000231, 0x00d28401, 0x00000000 },
+ { 0x00800c01, 0xd0200231, 0x00d28421, 0x00000000 },
+ { 0x00600801, 0xf4000231, 0x00cf8801, 0x00000000 },
+ { 0x00600801, 0xf4200231, 0x00cf8821, 0x00000000 },
+ { 0x00600401, 0xf9200231, 0x00cf8041, 0x00000000 },
+ { 0x00600401, 0xf9400231, 0x00cf8061, 0x00000000 },
+ { 0x00800c01, 0xd1200231, 0x00d28441, 0x00000000 },
+ { 0x00800c01, 0xd1400231, 0x00d28461, 0x00000000 },
+ { 0x00600801, 0xf5200231, 0x00cf8841, 0x00000000 },
+ { 0x00600801, 0xf5400231, 0x00cf8861, 0x00000000 },
+ { 0x05000031, 0x20000e24, 0x00000380, 0x060a8018 },
+ { 0x05000031, 0x20000e24, 0x000004a0, 0x060a8018 },
{ 0x00400040, 0x22002da8, 0x006902c0, 0x06000600 },
- { 0x00400401, 0xf8400231, 0x00ab8001, 0x00000000 },
- { 0x00400c01, 0xf8500231, 0x00ab8021, 0x00000000 },
- { 0x00400401, 0xf8600231, 0x00ab8041, 0x00000000 },
- { 0x00400c01, 0xf8700231, 0x00ab8061, 0x00000000 },
- { 0x00600c01, 0xd0400231, 0x00ae8401, 0x00000000 },
- { 0x00600c01, 0xd0500231, 0x00ae8421, 0x00000000 },
- { 0x00600c01, 0xd0600231, 0x00ae8441, 0x00000000 },
- { 0x00600c01, 0xd0700231, 0x00ae8461, 0x00000000 },
- { 0x00400c01, 0xf4400231, 0x00ab8801, 0x00000000 },
- { 0x00400801, 0xf4500231, 0x00ab8821, 0x00000000 },
- { 0x00400c01, 0xf4600231, 0x00ab8841, 0x00000000 },
- { 0x00400801, 0xf4700231, 0x00ab8861, 0x00000000 },
- { 0x00400401, 0xf9600231, 0x00ab8011, 0x00000000 },
- { 0x00400c01, 0xf9700231, 0x00ab8031, 0x00000000 },
- { 0x00400401, 0xf9800231, 0x00ab8051, 0x00000000 },
- { 0x00400c01, 0xf9900231, 0x00ab8071, 0x00000000 },
- { 0x00600c01, 0xd1600231, 0x00ae8411, 0x00000000 },
- { 0x00600c01, 0xd1700231, 0x00ae8431, 0x00000000 },
- { 0x00600c01, 0xd1800231, 0x00ae8451, 0x00000000 },
- { 0x00600c01, 0xd1900231, 0x00ae8471, 0x00000000 },
- { 0x00400c01, 0xf5600231, 0x00ab8811, 0x00000000 },
- { 0x00400801, 0xf5700231, 0x00ab8831, 0x00000000 },
- { 0x00400c01, 0xf5800231, 0x00ab8851, 0x00000000 },
- { 0x00400801, 0xf5900231, 0x00ab8871, 0x00000000 },
- { 0x05000031, 0x20000e24, 0x00000380, 0x120a8018 },
- { 0x05000031, 0x20000e24, 0x000004a0, 0x120a8018 },
+ { 0x00000040, 0x23841ca5, 0x00000364, 0x0000000c },
+ { 0x00000040, 0x24a41ca5, 0x00000364, 0x0000000e },
+ { 0x00600401, 0xf8000231, 0x00cf8001, 0x00000000 },
+ { 0x00600401, 0xf8200231, 0x00cf8021, 0x00000000 },
+ { 0x00800c01, 0xd0000231, 0x00d28401, 0x00000000 },
+ { 0x00800c01, 0xd0200231, 0x00d28421, 0x00000000 },
+ { 0x00600801, 0xf4000231, 0x00cf8801, 0x00000000 },
+ { 0x00600801, 0xf4200231, 0x00cf8821, 0x00000000 },
+ { 0x00600401, 0xf9200231, 0x00cf8041, 0x00000000 },
+ { 0x00600401, 0xf9400231, 0x00cf8061, 0x00000000 },
+ { 0x00800c01, 0xd1200231, 0x00d28441, 0x00000000 },
+ { 0x00800c01, 0xd1400231, 0x00d28461, 0x00000000 },
+ { 0x00600801, 0xf5200231, 0x00cf8841, 0x00000000 },
+ { 0x00600801, 0xf5400231, 0x00cf8861, 0x00000000 },
+ { 0x05000031, 0x20000e24, 0x00000380, 0x060a8018 },
+ { 0x05000031, 0x20000e24, 0x000004a0, 0x060a8018 },
{ 0x00600001, 0x2fe00021, 0x008d0000, 0x00000000 },
{ 0x07000031, 0x20001e24, 0x00000fe0, 0x82000010 },
{ 0x00600041, 0x206077bd, 0x008d0060, 0x000000f0 },
{ 0x00200001, 0x211401bd, 0x004500e0, 0x00000000 },
{ 0x01600010, 0x20002e24, 0x0000005a, 0x00010001 },
- { 0x00710001, 0x240003bc, 0x008d00c0, 0x00000000 },
- { 0x00710048, 0x20c077bd, 0x008d0060, 0x00000114 },
- { 0x00600001, 0x240003bc, 0x008d00a0, 0x00000000 },
- { 0x00600048, 0x20a077bd, 0x008d0080, 0x00000118 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00000000 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000114 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00020002 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000114 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00040004 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000114 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00060006 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000114 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00080008 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000114 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000a000a },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000114 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000c000c },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000114 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000e000e },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000114 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
{ 0x00800001, 0x22a00169, 0x00000000, 0xffffffff },
{ 0x02000010, 0x20002d24, 0x020000e4, 0x00000000 },
{ 0x02010010, 0x20002d24, 0x020000e6, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000018 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x0000001a },
+ { 0x00000005, 0x23022d31, 0x00000044, 0x00030003 },
{ 0x00000401, 0x233803bd, 0x000000f4, 0x00000000 },
{ 0x00000c01, 0x233003bd, 0x00000060, 0x00000000 },
{ 0x00000c01, 0x233403bd, 0x00000080, 0x00000000 },
{ 0x00400409, 0x22402d8d, 0x00690400, 0x00050005 },
{ 0x00000801, 0x22500061, 0x00000000, 0x01000100 },
{ 0x00000001, 0x22d00061, 0x00000000, 0x00400040 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000018 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000058 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000401, 0x233c0021, 0x000000fc, 0x00000000 },
{ 0x00000801, 0x23240121, 0x000000f8, 0x00000000 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x28000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x28800229, 0x00000200, 0x00000200 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x29000229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000016 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000056 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000001 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2a000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x2a800229, 0x00000200, 0x00000200 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x2b000229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000016 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000056 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000002 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2c000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x2c800229, 0x00000200, 0x00000200 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x2d000229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000016 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000056 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000003 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2e000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x2e800229, 0x00000200, 0x00000200 },
{ 0x00000c08, 0x24a43da5, 0x000000e2, 0x00010001 },
{ 0x00000801, 0x23880061, 0x00000000, 0x000f000f },
{ 0x00000801, 0x24a80061, 0x00000000, 0x0007000f },
- { 0x80800040, 0x28002d29, 0x00b10800, 0x00800080 },
- { 0x80800040, 0x28202d29, 0x00b10820, 0x00800080 },
- { 0x80800040, 0x28802d29, 0x00b10880, 0x00800080 },
- { 0x80800040, 0x28a02d29, 0x00b108a0, 0x00800080 },
- { 0x80800040, 0x28c02d29, 0x00b108c0, 0x00800080 },
- { 0x80800040, 0x28e02d29, 0x00b108e0, 0x00800080 },
- { 0x80800040, 0x29002d29, 0x00b10900, 0x00800080 },
- { 0x80800040, 0x29202d29, 0x00b10920, 0x00800080 },
- { 0x80800040, 0x29802d29, 0x00b10980, 0x00800080 },
- { 0x80800040, 0x29a02d29, 0x00b109a0, 0x00800080 },
- { 0x80800040, 0x29c02d29, 0x00b109c0, 0x00800080 },
- { 0x80800040, 0x29e02d29, 0x00b109e0, 0x00800080 },
- { 0x80800040, 0x2a002d29, 0x00b10a00, 0x00800080 },
- { 0x80800040, 0x2a202d29, 0x00b10a20, 0x00800080 },
- { 0x80800040, 0x2a802d29, 0x00b10a80, 0x00800080 },
- { 0x80800040, 0x2aa02d29, 0x00b10aa0, 0x00800080 },
- { 0x80800040, 0x2ac02d29, 0x00b10ac0, 0x00800080 },
- { 0x80800040, 0x2ae02d29, 0x00b10ae0, 0x00800080 },
- { 0x80800040, 0x2b002d29, 0x00b10b00, 0x00800080 },
- { 0x80800040, 0x2b202d29, 0x00b10b20, 0x00800080 },
- { 0x80800040, 0x2b802d29, 0x00b10b80, 0x00800080 },
- { 0x80800040, 0x2ba02d29, 0x00b10ba0, 0x00800080 },
- { 0x80800040, 0x2bc02d29, 0x00b10bc0, 0x00800080 },
- { 0x80800040, 0x2be02d29, 0x00b10be0, 0x00800080 },
- { 0x80800040, 0x2c002d29, 0x00b10c00, 0x00800080 },
- { 0x80800040, 0x2c202d29, 0x00b10c20, 0x00800080 },
- { 0x80800040, 0x2c802d29, 0x00b10c80, 0x00800080 },
- { 0x80800040, 0x2ca02d29, 0x00b10ca0, 0x00800080 },
- { 0x80800040, 0x2cc02d29, 0x00b10cc0, 0x00800080 },
- { 0x80800040, 0x2ce02d29, 0x00b10ce0, 0x00800080 },
- { 0x80800040, 0x2d002d29, 0x00b10d00, 0x00800080 },
- { 0x80800040, 0x2d202d29, 0x00b10d20, 0x00800080 },
- { 0x80800040, 0x2d802d29, 0x00b10d80, 0x00800080 },
- { 0x80800040, 0x2da02d29, 0x00b10da0, 0x00800080 },
- { 0x80800040, 0x2dc02d29, 0x00b10dc0, 0x00800080 },
- { 0x80800040, 0x2de02d29, 0x00b10de0, 0x00800080 },
- { 0x80800040, 0x2e002d29, 0x00b10e00, 0x00800080 },
- { 0x80800040, 0x2e202d29, 0x00b10e20, 0x00800080 },
- { 0x80800040, 0x2e802d29, 0x00b10e80, 0x00800080 },
- { 0x80800040, 0x2ea02d29, 0x00b10ea0, 0x00800080 },
- { 0x80800040, 0x2ec02d29, 0x00b10ec0, 0x00800080 },
- { 0x80800040, 0x2ee02d29, 0x00b10ee0, 0x00800080 },
- { 0x80800040, 0x2f002d29, 0x00b10f00, 0x00800080 },
- { 0x80800040, 0x2f202d29, 0x00b10f20, 0x00800080 },
- { 0x80800040, 0x2f802d29, 0x00b10f80, 0x00800080 },
- { 0x80800040, 0x2fa02d29, 0x00b10fa0, 0x00800080 },
- { 0x80800040, 0x2fc02d29, 0x00b10fc0, 0x00800080 },
- { 0x80800040, 0x2fe02d29, 0x00b10fe0, 0x00800080 },
+ { 0x80800040, 0xa4002d29, 0x00b18400, 0x00800080 },
+ { 0x80800040, 0xa4202d29, 0x00b18420, 0x00800080 },
+ { 0x80800040, 0xa4402d29, 0x00b18440, 0x00800080 },
+ { 0x80800040, 0xa4602d29, 0x00b18460, 0x00800080 },
+ { 0x00600008, 0x45c03d29, 0x00ae8800, 0x00010001 },
+ { 0x00600008, 0x45e03d29, 0x00ae8820, 0x00010001 },
+ { 0x00600008, 0x46003d29, 0x00ae8840, 0x00010001 },
+ { 0x00600008, 0x46203d29, 0x00ae8860, 0x00010001 },
+ { 0x00600040, 0x45c02529, 0x00ae05c0, 0x00ae05e0 },
+ { 0x80600040, 0xc8002d29, 0x00ae05c0, 0x00800080 },
+ { 0x00600040, 0x46002529, 0x00ae0600, 0x00ae0620 },
+ { 0x80600040, 0xc8402d29, 0x00ae0600, 0x00800080 },
+ { 0x00600008, 0x46403d29, 0x00ae8000, 0x00010001 },
+ { 0x00600008, 0x46603d29, 0x00ae8020, 0x00010001 },
+ { 0x00600008, 0x46803d29, 0x00ae8040, 0x00010001 },
+ { 0x00600008, 0x46a03d29, 0x00ae8060, 0x00010001 },
+ { 0x00600040, 0x46402529, 0x00ae0640, 0x00ae0660 },
+ { 0x80600040, 0xc0002d29, 0x00ae0640, 0x00800080 },
+ { 0x00600040, 0x46802529, 0x00ae0680, 0x00ae06a0 },
+ { 0x80600040, 0xc0402d29, 0x00ae0680, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x04000400 },
+ { 0x80800040, 0xb4002d29, 0x00b19400, 0x00800080 },
+ { 0x80800040, 0xb4202d29, 0x00b19420, 0x00800080 },
+ { 0x80800040, 0xb4402d29, 0x00b19440, 0x00800080 },
+ { 0x80800040, 0xb4602d29, 0x00b19460, 0x00800080 },
+ { 0x00600008, 0x45c03d29, 0x00ae9800, 0x00010001 },
+ { 0x00600008, 0x45e03d29, 0x00ae9820, 0x00010001 },
+ { 0x00600008, 0x46003d29, 0x00ae9840, 0x00010001 },
+ { 0x00600008, 0x46203d29, 0x00ae9860, 0x00010001 },
+ { 0x00600040, 0x45c02529, 0x00ae05c0, 0x00ae05e0 },
+ { 0x80600040, 0xd8002d29, 0x00ae05c0, 0x00800080 },
+ { 0x00600040, 0x46002529, 0x00ae0600, 0x00ae0620 },
+ { 0x80600040, 0xd8402d29, 0x00ae0600, 0x00800080 },
+ { 0x00600008, 0x46403d29, 0x00ae9000, 0x00010001 },
+ { 0x00600008, 0x46603d29, 0x00ae9020, 0x00010001 },
+ { 0x00600008, 0x46803d29, 0x00ae9040, 0x00010001 },
+ { 0x00600008, 0x46a03d29, 0x00ae9060, 0x00010001 },
+ { 0x00600040, 0x46402529, 0x00ae0640, 0x00ae0660 },
+ { 0x80600040, 0xd0002d29, 0x00ae0640, 0x00800080 },
+ { 0x00600040, 0x46802529, 0x00ae0680, 0x00ae06a0 },
+ { 0x80600040, 0xd0402d29, 0x00ae0680, 0x00800080 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x06000600 },
+ { 0x80800040, 0xa4002d29, 0x00b18400, 0x00800080 },
+ { 0x80800040, 0xa4202d29, 0x00b18420, 0x00800080 },
+ { 0x80800040, 0xa4402d29, 0x00b18440, 0x00800080 },
+ { 0x80800040, 0xa4602d29, 0x00b18460, 0x00800080 },
+ { 0x00600008, 0x45c03d29, 0x00ae8800, 0x00010001 },
+ { 0x00600008, 0x45e03d29, 0x00ae8820, 0x00010001 },
+ { 0x00600008, 0x46003d29, 0x00ae8840, 0x00010001 },
+ { 0x00600008, 0x46203d29, 0x00ae8860, 0x00010001 },
+ { 0x00600040, 0x45c02529, 0x00ae05c0, 0x00ae05e0 },
+ { 0x80600040, 0xc8002d29, 0x00ae05c0, 0x00800080 },
+ { 0x00600040, 0x46002529, 0x00ae0600, 0x00ae0620 },
+ { 0x80600040, 0xc8402d29, 0x00ae0600, 0x00800080 },
+ { 0x00600008, 0x46403d29, 0x00ae8000, 0x00010001 },
+ { 0x00600008, 0x46603d29, 0x00ae8020, 0x00010001 },
+ { 0x00600008, 0x46803d29, 0x00ae8040, 0x00010001 },
+ { 0x00600008, 0x46a03d29, 0x00ae8060, 0x00010001 },
+ { 0x00600040, 0x46402529, 0x00ae0640, 0x00ae0660 },
+ { 0x80600040, 0xc0002d29, 0x00ae0640, 0x00800080 },
+ { 0x00600040, 0x46802529, 0x00ae0680, 0x00ae06a0 },
+ { 0x80600040, 0xc0402d29, 0x00ae0680, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x04000400 },
+ { 0x80800040, 0xb4002d29, 0x00b19400, 0x00800080 },
+ { 0x80800040, 0xb4202d29, 0x00b19420, 0x00800080 },
+ { 0x80800040, 0xb4402d29, 0x00b19440, 0x00800080 },
+ { 0x80800040, 0xb4602d29, 0x00b19460, 0x00800080 },
+ { 0x00600008, 0x45c03d29, 0x00ae9800, 0x00010001 },
+ { 0x00600008, 0x45e03d29, 0x00ae9820, 0x00010001 },
+ { 0x00600008, 0x46003d29, 0x00ae9840, 0x00010001 },
+ { 0x00600008, 0x46203d29, 0x00ae9860, 0x00010001 },
+ { 0x00600040, 0x45c02529, 0x00ae05c0, 0x00ae05e0 },
+ { 0x80600040, 0xd8002d29, 0x00ae05c0, 0x00800080 },
+ { 0x00600040, 0x46002529, 0x00ae0600, 0x00ae0620 },
+ { 0x80600040, 0xd8402d29, 0x00ae0600, 0x00800080 },
+ { 0x00600008, 0x46403d29, 0x00ae9000, 0x00010001 },
+ { 0x00600008, 0x46603d29, 0x00ae9020, 0x00010001 },
+ { 0x00600008, 0x46803d29, 0x00ae9040, 0x00010001 },
+ { 0x00600008, 0x46a03d29, 0x00ae9060, 0x00010001 },
+ { 0x00600040, 0x46402529, 0x00ae0640, 0x00ae0660 },
+ { 0x80600040, 0xd0002d29, 0x00ae0640, 0x00800080 },
+ { 0x00600040, 0x46802529, 0x00ae0680, 0x00ae06a0 },
+ { 0x80600040, 0xd0402d29, 0x00ae0680, 0x00800080 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x06000600 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x00000000 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x02000200 },
{ 0x00800401, 0x23a00231, 0x00d28401, 0x00000000 },
{ 0x00800801, 0x23b00231, 0x00d28421, 0x00000000 },
{ 0x00800401, 0x23c00231, 0x00d28441, 0x00000000 },
{ 0x00600041, 0x206077bd, 0x008d0060, 0x000000f0 },
{ 0x00200001, 0x211401bd, 0x004500e0, 0x00000000 },
{ 0x01600010, 0x20002e24, 0x0000005a, 0x00010001 },
- { 0x00710001, 0x240003bc, 0x008d00c0, 0x00000000 },
- { 0x00710048, 0x20c077bd, 0x008d0060, 0x00000114 },
- { 0x00600001, 0x240003bc, 0x008d00a0, 0x00000000 },
- { 0x00600048, 0x20a077bd, 0x008d0080, 0x00000118 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00000000 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000114 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240003bc, 0x000000c0, 0x00000000 },
+ { 0x00110048, 0x20c077bd, 0x00000060, 0x00000220 },
+ { 0x00000001, 0x240003bc, 0x000000a0, 0x00000000 },
+ { 0x00000048, 0x20a077bd, 0x00000080, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00020002 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000114 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240403bc, 0x000000c4, 0x00000000 },
+ { 0x00110048, 0x20c477bd, 0x00000064, 0x00000220 },
+ { 0x00000001, 0x240403bc, 0x000000a4, 0x00000000 },
+ { 0x00000048, 0x20a477bd, 0x00000084, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00040004 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000114 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240803bc, 0x000000c8, 0x00000000 },
+ { 0x00110048, 0x20c877bd, 0x00000068, 0x00000220 },
+ { 0x00000001, 0x240803bc, 0x000000a8, 0x00000000 },
+ { 0x00000048, 0x20a877bd, 0x00000088, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00060006 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000114 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x240c03bc, 0x000000cc, 0x00000000 },
+ { 0x00110048, 0x20cc77bd, 0x0000006c, 0x00000220 },
+ { 0x00000001, 0x240c03bc, 0x000000ac, 0x00000000 },
+ { 0x00000048, 0x20ac77bd, 0x0000008c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x00080008 },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000114 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241003bc, 0x000000d0, 0x00000000 },
+ { 0x00110048, 0x20d077bd, 0x00000070, 0x00000220 },
+ { 0x00000001, 0x241003bc, 0x000000b0, 0x00000000 },
+ { 0x00000048, 0x20b077bd, 0x00000090, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000a000a },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000114 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241403bc, 0x000000d4, 0x00000000 },
+ { 0x00110048, 0x20d477bd, 0x00000074, 0x00000220 },
+ { 0x00000001, 0x241403bc, 0x000000b4, 0x00000000 },
+ { 0x00000048, 0x20b477bd, 0x00000094, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000c000c },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000114 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241803bc, 0x000000d8, 0x00000000 },
+ { 0x00110048, 0x20d877bd, 0x00000078, 0x00000220 },
+ { 0x00000001, 0x241803bc, 0x000000b8, 0x00000000 },
+ { 0x00000048, 0x20b877bd, 0x00000098, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+ { 0x00000008, 0x22202d29, 0x00000044, 0x000e000e },
+ { 0x00000005, 0x22202d29, 0x00000220, 0x00030003 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00010001 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000012 },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00020002 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x0000001e },
+ { 0x01000010, 0x20002d2c, 0x02000220, 0x00030003 },
+ { 0x00010220, 0x34001c00, 0x02001400, 0x00000030 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000114 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000118 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000118 },
+ { 0x00000001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x00000024 },
+ { 0x00110001, 0x2200013d, 0x00000040, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004114, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00000040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00000040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000220 },
+ { 0x00000220, 0x34001c00, 0x00001400, 0x0000000e },
+ { 0x00110001, 0x2200013d, 0x00000042, 0x00000000 },
+ { 0x00110040, 0x222077bd, 0x00004118, 0x00000200 },
+ { 0x00110040, 0x22207fbd, 0x00000220, 0xc1800000 },
+ { 0x00110001, 0x241c03bc, 0x000000dc, 0x00000000 },
+ { 0x00110048, 0x20dc77bd, 0x0000007c, 0x00000220 },
+ { 0x00000001, 0x241c03bc, 0x000000bc, 0x00000000 },
+ { 0x00000048, 0x20bc77bd, 0x0000009c, 0x00000114 },
+ { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
{ 0x00800001, 0x22a00169, 0x00000000, 0xffffffff },
{ 0x02000010, 0x20002d24, 0x020000e4, 0x00000000 },
{ 0x02010010, 0x20002d24, 0x020000e6, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000018 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x0000001a },
+ { 0x00000005, 0x23022d31, 0x00000044, 0x00030003 },
{ 0x00000401, 0x233803bd, 0x000000f4, 0x00000000 },
{ 0x00000c01, 0x233003bd, 0x00000060, 0x00000000 },
{ 0x00000c01, 0x233403bd, 0x00000080, 0x00000000 },
{ 0x00400409, 0x22402d8d, 0x00690400, 0x00050005 },
{ 0x00000801, 0x22500061, 0x00000000, 0x01000100 },
{ 0x00000001, 0x22d00061, 0x00000000, 0x00400040 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000018 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000058 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000401, 0x233c0021, 0x000000fc, 0x00000000 },
{ 0x00000801, 0x23240121, 0x000000f8, 0x00000000 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x28000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x28800229, 0x00000200, 0x00000200 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x29000229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000016 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000056 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000001 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2a000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x2a800229, 0x00000200, 0x00000200 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x2b000229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000016 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000056 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000002 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2c000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x2c800229, 0x00000200, 0x00000200 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x2d000229, 0x00000200, 0x00000200 },
{ 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
- { 0x00110220, 0x34001c00, 0x02001400, 0x00000016 },
+ { 0x00110220, 0x34001c00, 0x02001400, 0x00000056 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb400 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000d000 },
{ 0x00000040, 0x23240d21, 0x000000f8, 0x00000003 },
{ 0x00600001, 0x22200021, 0x008d0320, 0x00000000 },
+ { 0x00000001, 0x21d00109, 0x00000600, 0x00000000 },
+ { 0x00000001, 0x21d403bd, 0x00000228, 0x00000000 },
+ { 0x02000005, 0x20002d28, 0x00000046, 0x00020002 },
+ { 0x00110220, 0x34001c00, 0x00001400, 0x00000034 },
+ { 0x02600005, 0x20002d28, 0x00000046, 0x00040004 },
+ { 0x00610001, 0x240003bc, 0x00000228, 0x00000000 },
+ { 0x00610048, 0x24007fbc, 0x00000230, 0xc0000000 },
+ { 0x00610048, 0x24007fbc, 0x00000238, 0x40400000 },
+ { 0x00010001, 0x21c8039d, 0x00210400, 0x00000000 },
+ { 0x00110001, 0x21c803bd, 0x00000228, 0x00000000 },
+ { 0x00000005, 0x21c42d21, 0x00000046, 0xfff8fff8 },
+ { 0x0000000c, 0x21c41c21, 0x000001c4, 0x00000003 },
+ { 0x00000001, 0x21c4003d, 0x000001c4, 0x00000000 },
+ { 0x00000041, 0x21c077bd, 0x000001c8, 0x000001c4 },
+ { 0x00000040, 0x21c87fbd, 0x000001c0, 0x3ca00000 },
+ { 0x00000040, 0x21cc7fbd, 0x000001c0, 0x3f7f0000 },
+ { 0x05000010, 0x20007fbc, 0x000001c0, 0x00000000 },
+ { 0x00000001, 0x21c003a5, 0x000001c0, 0x00000000 },
+ { 0x00010040, 0x21c01ca5, 0x000001c0, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001c8, 0x00000000 },
+ { 0x00000001, 0x21c803a5, 0x000001c8, 0x00000000 },
+ { 0x00010040, 0x21c81ca5, 0x000001c8, 0xffffffff },
+ { 0x05000010, 0x20007fbc, 0x000001cc, 0x00000000 },
+ { 0x00000001, 0x21cc03a5, 0x000001cc, 0x00000000 },
+ { 0x00010040, 0x21cc1ca5, 0x000001cc, 0xffffffff },
+ { 0x00000001, 0x26000168, 0x00000000, 0x00000000 },
+ { 0x03000010, 0x200014a4, 0x040001c8, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x04000228, 0x0000404c },
+ { 0x01110010, 0x200014a4, 0x000001cc, 0x000001c0 },
+ { 0x00010040, 0x222877bd, 0x00000228, 0x00000048 },
+ { 0x00000001, 0x26000128, 0x000001d0, 0x00000000 },
{ 0x02000031, 0x2e000229, 0x00000200, 0x00000200 },
+ { 0x00000001, 0x222803bd, 0x000001d4, 0x00000000 },
{ 0x00000040, 0x22000c20, 0x000002f4, 0x044eb801 },
{ 0x00000001, 0x22080061, 0x00000000, 0x0000e000 },
{ 0x02000031, 0x2e800229, 0x00000200, 0x00000200 },
{ 0x00000801, 0x23880061, 0x00000000, 0x000f000f },
{ 0x00000801, 0x24a80061, 0x00000000, 0x00070007 },
{ 0x00000801, 0x25c80061, 0x00000000, 0x00070007 },
+ { 0x80800040, 0xa4002d29, 0x00b18400, 0x00800080 },
+ { 0x80800040, 0xa4202d29, 0x00b18420, 0x00800080 },
+ { 0x80800040, 0xa4402d29, 0x00b18440, 0x00800080 },
+ { 0x80800040, 0xa4602d29, 0x00b18460, 0x00800080 },
+ { 0x80600040, 0xc8002d29, 0x00ae8800, 0x00800080 },
+ { 0x80600040, 0xc8402d29, 0x00ae8840, 0x00800080 },
+ { 0x80600040, 0xc0002d29, 0x00ae8000, 0x00800080 },
+ { 0x80600040, 0xc0402d29, 0x00ae8040, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x04000400 },
+ { 0x80800040, 0xb4002d29, 0x00b19400, 0x00800080 },
+ { 0x80800040, 0xb4202d29, 0x00b19420, 0x00800080 },
+ { 0x80800040, 0xb4402d29, 0x00b19440, 0x00800080 },
+ { 0x80800040, 0xb4602d29, 0x00b19460, 0x00800080 },
+ { 0x80600040, 0xd8002d29, 0x00ae9800, 0x00800080 },
+ { 0x80600040, 0xd8402d29, 0x00ae9840, 0x00800080 },
+ { 0x80600040, 0xd0002d29, 0x00ae9000, 0x00800080 },
+ { 0x80600040, 0xd0402d29, 0x00ae9040, 0x00800080 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x06000600 },
+ { 0x80800040, 0xa4002d29, 0x00b18400, 0x00800080 },
+ { 0x80800040, 0xa4202d29, 0x00b18420, 0x00800080 },
+ { 0x80800040, 0xa4402d29, 0x00b18440, 0x00800080 },
+ { 0x80800040, 0xa4602d29, 0x00b18460, 0x00800080 },
+ { 0x80600040, 0xc8002d29, 0x00ae8800, 0x00800080 },
+ { 0x80600040, 0xc8402d29, 0x00ae8840, 0x00800080 },
+ { 0x80600040, 0xc0002d29, 0x00ae8000, 0x00800080 },
+ { 0x80600040, 0xc0402d29, 0x00ae8040, 0x00800080 },
+ { 0x80800040, 0xb4002d29, 0x00b19400, 0x00800080 },
+ { 0x80800040, 0xb4202d29, 0x00b19420, 0x00800080 },
+ { 0x80800040, 0xb4402d29, 0x00b19440, 0x00800080 },
+ { 0x80800040, 0xb4602d29, 0x00b19460, 0x00800080 },
+ { 0x80600040, 0xd8002d29, 0x00ae9800, 0x00800080 },
+ { 0x80600040, 0xd8402d29, 0x00ae9840, 0x00800080 },
+ { 0x80600040, 0xd0002d29, 0x00ae9000, 0x00800080 },
+ { 0x80600040, 0xd0402d29, 0x00ae9040, 0x00800080 },
+ { 0x00400040, 0x22002da8, 0x006902c0, 0x00000000 },
+ { 0x00400040, 0x22082da8, 0x006902c0, 0x02000200 },
{ 0x00800401, 0x23a00231, 0x00d28401, 0x00000000 },
{ 0x00800801, 0x23b00231, 0x00d28421, 0x00000000 },
{ 0x00800401, 0x23c00231, 0x00d28441, 0x00000000 },