#define GEN6_EXECSIZE_8 0x3
#define GEN6_EXECSIZE_16 0x4
#define GEN6_EXECSIZE_32 0x5
-#define GEN6_COND_NORMAL 0x0
+#define GEN6_COND_NONE 0x0
#define GEN6_COND_Z 0x1
#define GEN6_COND_NZ 0x2
#define GEN6_COND_G 0x3
#define GEN6_ARF_IP 0xa0
#define GEN6_ARF_TDR 0xb0
#define GEN7_ARF_TM0 0xc0
+#define GEN6_INST_SATURATE (0x1 << 31)
+#define GEN6_INST_DEBUGCTRL (0x1 << 30)
+#define GEN6_INST_CMPTCTRL (0x1 << 29)
+#define GEN6_INST_ACCWRCTRL (0x1 << 28)
+#define GEN6_INST_CONDMODIFIER__MASK 0x0f000000
+#define GEN6_INST_CONDMODIFIER__SHIFT 24
+#define GEN6_INST_SFID__MASK 0x0f000000
+#define GEN6_INST_SFID__SHIFT 24
+#define GEN6_INST_FC__MASK 0x0f000000
+#define GEN6_INST_FC__SHIFT 24
+#define GEN6_INST_EXECSIZE__MASK 0x00e00000
+#define GEN6_INST_EXECSIZE__SHIFT 21
+#define GEN6_INST_PREDINV (0x1 << 20)
+#define GEN6_INST_PREDCTRL__MASK 0x000f0000
+#define GEN6_INST_PREDCTRL__SHIFT 16
+#define GEN6_INST_THREADCTRL__MASK 0x0000c000
+#define GEN6_INST_THREADCTRL__SHIFT 14
+#define GEN6_INST_QTRCTRL__MASK 0x00003000
+#define GEN6_INST_QTRCTRL__SHIFT 12
+#define GEN6_INST_DEPCTRL__MASK 0x00000c00
+#define GEN6_INST_DEPCTRL__SHIFT 10
+#define GEN6_INST_MASKCTRL__MASK 0x00000200
+#define GEN6_INST_MASKCTRL__SHIFT 9
+#define GEN6_INST_ACCESSMODE__MASK 0x00000100
+#define GEN6_INST_ACCESSMODE__SHIFT 8
+#define GEN6_INST_OPCODE__MASK 0x0000007f
+#define GEN6_INST_OPCODE__SHIFT 0
+#define GEN6_INST_DST_ADDRMODE__MASK 0x80000000
+#define GEN6_INST_DST_ADDRMODE__SHIFT 31
+#define GEN6_INST_DST_HORZSTRIDE__MASK 0x60000000
+#define GEN6_INST_DST_HORZSTRIDE__SHIFT 29
+#define GEN6_INST_DST_REG__MASK 0x1fe00000
+#define GEN6_INST_DST_REG__SHIFT 21
+#define GEN6_INST_DST_SUBREG__MASK 0x001f0000
+#define GEN6_INST_DST_SUBREG__SHIFT 16
+#define GEN6_INST_DST_ADDR_SUBREG__MASK 0x1c000000
+#define GEN6_INST_DST_ADDR_SUBREG__SHIFT 26
+#define GEN6_INST_DST_ADDR_IMM__MASK 0x03ff0000
+#define GEN6_INST_DST_ADDR_IMM__SHIFT 16
+#define GEN6_INST_DST_SUBREG_ALIGN16__MASK 0x00100000
+#define GEN6_INST_DST_SUBREG_ALIGN16__SHIFT 20
+#define GEN6_INST_DST_SUBREG_ALIGN16__SHR 4
+#define GEN6_INST_DST_ADDR_IMM_ALIGN16__MASK 0x03f00000
+#define GEN6_INST_DST_ADDR_IMM_ALIGN16__SHIFT 20
+#define GEN6_INST_DST_ADDR_IMM_ALIGN16__SHR 4
+#define GEN6_INST_DST_WRITEMASK__MASK 0x000f0000
+#define GEN6_INST_DST_WRITEMASK__SHIFT 16
+#define GEN7_INST_NIBCTRL (0x1 << 15)
+#define GEN6_INST_SRC1_TYPE__MASK 0x00007000
+#define GEN6_INST_SRC1_TYPE__SHIFT 12
+#define GEN6_INST_SRC1_FILE__MASK 0x00000c00
+#define GEN6_INST_SRC1_FILE__SHIFT 10
+#define GEN6_INST_SRC0_TYPE__MASK 0x00000380
+#define GEN6_INST_SRC0_TYPE__SHIFT 7
+#define GEN6_INST_SRC0_FILE__MASK 0x00000060
+#define GEN6_INST_SRC0_FILE__SHIFT 5
+#define GEN6_INST_DST_TYPE__MASK 0x0000001c
+#define GEN6_INST_DST_TYPE__SHIFT 2
+#define GEN6_INST_DST_FILE__MASK 0x00000003
+#define GEN6_INST_DST_FILE__SHIFT 0
+#define GEN7_INST_FLAG_REG__MASK 0x04000000
+#define GEN7_INST_FLAG_REG__SHIFT 26
+#define GEN6_INST_FLAG_SUBREG__MASK 0x02000000
+#define GEN6_INST_FLAG_SUBREG__SHIFT 25
+#define GEN6_INST_SRC_VERTSTRIDE__MASK 0x01e00000
+#define GEN6_INST_SRC_VERTSTRIDE__SHIFT 21
+#define GEN6_INST_SRC_WIDTH__MASK 0x001c0000
+#define GEN6_INST_SRC_WIDTH__SHIFT 18
+#define GEN6_INST_SRC_HORZSTRIDE__MASK 0x00030000
+#define GEN6_INST_SRC_HORZSTRIDE__SHIFT 16
+#define GEN6_INST_SRC_SWIZZLE_W__MASK 0x000c0000
+#define GEN6_INST_SRC_SWIZZLE_W__SHIFT 18
+#define GEN6_INST_SRC_SWIZZLE_Z__MASK 0x00030000
+#define GEN6_INST_SRC_SWIZZLE_Z__SHIFT 16
+#define GEN6_INST_SRC_ADDRMODE__MASK 0x00008000
+#define GEN6_INST_SRC_ADDRMODE__SHIFT 15
+#define GEN6_INST_SRC_NEGATE (0x1 << 14)
+#define GEN6_INST_SRC_ABSOLUTE (0x1 << 13)
+#define GEN6_INST_SRC_REG__MASK 0x00001fe0
+#define GEN6_INST_SRC_REG__SHIFT 5
+#define GEN6_INST_SRC_SUBREG__MASK 0x0000001f
+#define GEN6_INST_SRC_SUBREG__SHIFT 0
+#define GEN6_INST_SRC_ADDR_SUBREG__MASK 0x00001c00
+#define GEN6_INST_SRC_ADDR_SUBREG__SHIFT 10
+#define GEN6_INST_SRC_ADDR_IMM__MASK 0x000003ff
+#define GEN6_INST_SRC_ADDR_IMM__SHIFT 0
+#define GEN6_INST_SRC_SUBREG_ALIGN16__MASK 0x00000010
+#define GEN6_INST_SRC_SUBREG_ALIGN16__SHIFT 4
+#define GEN6_INST_SRC_SUBREG_ALIGN16__SHR 4
+#define GEN6_INST_SRC_ADDR_IMM_ALIGN16__MASK 0x000003f0
+#define GEN6_INST_SRC_ADDR_IMM_ALIGN16__SHIFT 4
+#define GEN6_INST_SRC_ADDR_IMM_ALIGN16__SHR 4
+#define GEN6_INST_SRC_SWIZZLE_Y__MASK 0x0000000c
+#define GEN6_INST_SRC_SWIZZLE_Y__SHIFT 2
+#define GEN6_INST_SRC_SWIZZLE_X__MASK 0x00000003
+#define GEN6_INST_SRC_SWIZZLE_X__SHIFT 0
+#define GEN6_3SRC_DST_REG__MASK 0xff000000
+#define GEN6_3SRC_DST_REG__SHIFT 24
+#define GEN6_3SRC_DST_SUBREG__MASK 0x00e00000
+#define GEN6_3SRC_DST_SUBREG__SHIFT 21
+#define GEN6_3SRC_DST_SUBREG__SHR 2
+#define GEN6_3SRC_DST_WRITEMASK__MASK 0x001e0000
+#define GEN6_3SRC_DST_WRITEMASK__SHIFT 17
+#define GEN7_3SRC_NIBCTRL (0x1 << 15)
+#define GEN7_3SRC_DST_TYPE__MASK 0x00003000
+#define GEN7_3SRC_DST_TYPE__SHIFT 12
+#define GEN7_3SRC_SRC_TYPE__MASK 0x00000c00
+#define GEN7_3SRC_SRC_TYPE__SHIFT 10
+#define GEN6_3SRC_SRC2_NEGATE (0x1 << 9)
+#define GEN6_3SRC_SRC2_ABSOLUTE (0x1 << 8)
+#define GEN6_3SRC_SRC1_NEGATE (0x1 << 7)
+#define GEN6_3SRC_SRC1_ABSOLUTE (0x1 << 6)
+#define GEN6_3SRC_SRC0_NEGATE (0x1 << 5)
+#define GEN6_3SRC_SRC0_ABSOLUTE (0x1 << 4)
+#define GEN7_3SRC_FLAG_REG__MASK 0x00000004
+#define GEN7_3SRC_FLAG_REG__SHIFT 2
+#define GEN6_3SRC_FLAG_SUBREG__MASK 0x00000002
+#define GEN6_3SRC_FLAG_SUBREG__SHIFT 1
+#define GEN6_3SRC_DST_FILE_MRF (0x1 << 0)
+#define GEN6_3SRC_SRC_REG__MASK 0x000ff000
+#define GEN6_3SRC_SRC_REG__SHIFT 12
+#define GEN6_3SRC_SRC_SUBREG__MASK 0x00000e00
+#define GEN6_3SRC_SRC_SUBREG__SHIFT 9
+#define GEN6_3SRC_SRC_SUBREG__SHR 2
+#define GEN6_3SRC_SRC_SWIZZLE_W__MASK 0x00000180
+#define GEN6_3SRC_SRC_SWIZZLE_W__SHIFT 7
+#define GEN6_3SRC_SRC_SWIZZLE_Z__MASK 0x00000060
+#define GEN6_3SRC_SRC_SWIZZLE_Z__SHIFT 5
+#define GEN6_3SRC_SRC_SWIZZLE_Y__MASK 0x00000018
+#define GEN6_3SRC_SRC_SWIZZLE_Y__SHIFT 3
+#define GEN6_3SRC_SRC_SWIZZLE_X__MASK 0x00000006
+#define GEN6_3SRC_SRC_SWIZZLE_X__SHIFT 1
+#define GEN6_3SRC_SRC_REPCTRL (0x1 << 0)
-#define GEN6_INST_DW0_SATURATE (0x1 << 31)
-#define GEN6_INST_DW0_ACCWRCTRL (0x1 << 28)
-#define GEN6_INST_DW0_CONDMODIFIER__MASK 0x0f000000
-#define GEN6_INST_DW0_CONDMODIFIER__SHIFT 24
-#define GEN6_INST_DW0_SFID__MASK 0x0f000000
-#define GEN6_INST_DW0_SFID__SHIFT 24
-#define GEN6_INST_DW0_FC__MASK 0x0f000000
-#define GEN6_INST_DW0_FC__SHIFT 24
-#define GEN6_INST_DW0_EXECSIZE__MASK 0x00e00000
-#define GEN6_INST_DW0_EXECSIZE__SHIFT 21
-#define GEN6_INST_DW0_PREDINV (0x1 << 20)
-#define GEN6_INST_DW0_PREDCTRL__MASK 0x000f0000
-#define GEN6_INST_DW0_PREDCTRL__SHIFT 16
-#define GEN6_INST_DW0_THREADCTRL__MASK 0x0000c000
-#define GEN6_INST_DW0_THREADCTRL__SHIFT 14
-#define GEN6_INST_DW0_QTRCTRL__MASK 0x00003000
-#define GEN6_INST_DW0_QTRCTRL__SHIFT 12
-#define GEN6_INST_DW0_DEPCTRL__MASK 0x00000c00
-#define GEN6_INST_DW0_DEPCTRL__SHIFT 10
-#define GEN6_INST_DW0_MASKCTRL__MASK 0x00000200
-#define GEN6_INST_DW0_MASKCTRL__SHIFT 9
-#define GEN6_INST_DW0_ACCESSMODE__MASK 0x00000100
-#define GEN6_INST_DW0_ACCESSMODE__SHIFT 8
-#define GEN6_INST_DW0_OPCODE__MASK 0x0000007f
-#define GEN6_INST_DW0_OPCODE__SHIFT 0
-#define GEN6_INST_DW1_ADDRMODE__MASK 0x80000000
-#define GEN6_INST_DW1_ADDRMODE__SHIFT 31
-#define GEN6_INST_DW1_HORZSTRIDE__MASK 0x60000000
-#define GEN6_INST_DW1_HORZSTRIDE__SHIFT 29
-#define GEN6_INST_DW1_REG__MASK 0x1fe00000
-#define GEN6_INST_DW1_REG__SHIFT 21
-#define GEN6_INST_DW1_SUBREG__MASK 0x001f0000
-#define GEN6_INST_DW1_SUBREG__SHIFT 16
-#define GEN6_INST_DW1_ADDR_SUBREG__MASK 0x1c000000
-#define GEN6_INST_DW1_ADDR_SUBREG__SHIFT 26
-#define GEN6_INST_DW1_ADDR_IMM__MASK 0x03ff0000
-#define GEN6_INST_DW1_ADDR_IMM__SHIFT 16
-#define GEN6_INST_DW1_SUBREG_ALIGN16__MASK 0x00100000
-#define GEN6_INST_DW1_SUBREG_ALIGN16__SHIFT 20
-#define GEN6_INST_DW1_SUBREG_ALIGN16__SHR 4
-#define GEN6_INST_DW1_ADDR_IMM_ALIGN16__MASK 0x03f00000
-#define GEN6_INST_DW1_ADDR_IMM_ALIGN16__SHIFT 20
-#define GEN6_INST_DW1_ADDR_IMM_ALIGN16__SHR 4
-#define GEN6_INST_DW1_WRITEMASK__MASK 0x000f0000
-#define GEN6_INST_DW1_WRITEMASK__SHIFT 16
-#define GEN7_INST_DW1_NIBCTRL (0x1 << 15)
-#define GEN6_INST_DW1_SRC1_TYPE__MASK 0x00007000
-#define GEN6_INST_DW1_SRC1_TYPE__SHIFT 12
-#define GEN6_INST_DW1_SRC1_FILE__MASK 0x00000c00
-#define GEN6_INST_DW1_SRC1_FILE__SHIFT 10
-#define GEN6_INST_DW1_SRC0_TYPE__MASK 0x00000380
-#define GEN6_INST_DW1_SRC0_TYPE__SHIFT 7
-#define GEN6_INST_DW1_SRC0_FILE__MASK 0x00000060
-#define GEN6_INST_DW1_SRC0_FILE__SHIFT 5
-#define GEN6_INST_DW1_TYPE__MASK 0x0000001c
-#define GEN6_INST_DW1_TYPE__SHIFT 2
-#define GEN6_INST_DW1_FILE__MASK 0x00000003
-#define GEN6_INST_DW1_FILE__SHIFT 0
-#define GEN7_INST_DW2_FLAG_REG__MASK 0x04000000
-#define GEN7_INST_DW2_FLAG_REG__SHIFT 26
-#define GEN6_INST_DW2_FLAG_SUBREG__MASK 0x02000000
-#define GEN6_INST_DW2_FLAG_SUBREG__SHIFT 25
-#define GEN6_INST_DW2_VERTSTRIDE__MASK 0x01e00000
-#define GEN6_INST_DW2_VERTSTRIDE__SHIFT 21
-#define GEN6_INST_DW2_WIDTH__MASK 0x001c0000
-#define GEN6_INST_DW2_WIDTH__SHIFT 18
-#define GEN6_INST_DW2_HORZSTRIDE__MASK 0x00030000
-#define GEN6_INST_DW2_HORZSTRIDE__SHIFT 16
-#define GEN6_INST_DW2_SWIZZLE_W__MASK 0x000c0000
-#define GEN6_INST_DW2_SWIZZLE_W__SHIFT 18
-#define GEN6_INST_DW2_SWIZZLE_Z__MASK 0x00030000
-#define GEN6_INST_DW2_SWIZZLE_Z__SHIFT 16
-#define GEN6_INST_DW2_ADDRMODE__MASK 0x00008000
-#define GEN6_INST_DW2_ADDRMODE__SHIFT 15
-#define GEN6_INST_DW2_NEGATE (0x1 << 14)
-#define GEN6_INST_DW2_ABSOLUTE (0x1 << 13)
-#define GEN6_INST_DW2_REG__MASK 0x00001fe0
-#define GEN6_INST_DW2_REG__SHIFT 5
-#define GEN6_INST_DW2_SUBREG__MASK 0x0000001f
-#define GEN6_INST_DW2_SUBREG__SHIFT 0
-#define GEN6_INST_DW2_ADDR_SUBREG__MASK 0x00001c00
-#define GEN6_INST_DW2_ADDR_SUBREG__SHIFT 10
-#define GEN6_INST_DW2_ADDR_IMM__MASK 0x000003ff
-#define GEN6_INST_DW2_ADDR_IMM__SHIFT 0
-#define GEN6_INST_DW2_SUBREG_ALIGN16 (0x1 << 4)
-#define GEN6_INST_DW2_SUBREG_ALIGN16__SHR 4
-#define GEN6_INST_DW2_ADDR_IMM_ALIGN16__MASK 0x000003f0
-#define GEN6_INST_DW2_ADDR_IMM_ALIGN16__SHIFT 4
-#define GEN6_INST_DW2_ADDR_IMM_ALIGN16__SHR 4
-#define GEN6_INST_DW2_SWIZZLE_Y__MASK 0x0000000c
-#define GEN6_INST_DW2_SWIZZLE_Y__SHIFT 2
-#define GEN6_INST_DW2_SWIZZLE_X__MASK 0x00000003
-#define GEN6_INST_DW2_SWIZZLE_X__SHIFT 0
-#define GEN7_INST_DW3_FLAG_REG__MASK 0x04000000
-#define GEN7_INST_DW3_FLAG_REG__SHIFT 26
-#define GEN6_INST_DW3_FLAG_SUBREG__MASK 0x02000000
-#define GEN6_INST_DW3_FLAG_SUBREG__SHIFT 25
-#define GEN6_INST_DW3_VERTSTRIDE__MASK 0x01e00000
-#define GEN6_INST_DW3_VERTSTRIDE__SHIFT 21
-#define GEN6_INST_DW3_WIDTH__MASK 0x001c0000
-#define GEN6_INST_DW3_WIDTH__SHIFT 18
-#define GEN6_INST_DW3_HORZSTRIDE__MASK 0x00030000
-#define GEN6_INST_DW3_HORZSTRIDE__SHIFT 16
-#define GEN6_INST_DW3_SWIZZLE_W__MASK 0x000c0000
-#define GEN6_INST_DW3_SWIZZLE_W__SHIFT 18
-#define GEN6_INST_DW3_SWIZZLE_Z__MASK 0x00030000
-#define GEN6_INST_DW3_SWIZZLE_Z__SHIFT 16
-#define GEN6_INST_DW3_ADDRMODE__MASK 0x00008000
-#define GEN6_INST_DW3_ADDRMODE__SHIFT 15
-#define GEN6_INST_DW3_NEGATE (0x1 << 14)
-#define GEN6_INST_DW3_ABSOLUTE (0x1 << 13)
-#define GEN6_INST_DW3_REG__MASK 0x00001fe0
-#define GEN6_INST_DW3_REG__SHIFT 5
-#define GEN6_INST_DW3_SUBREG__MASK 0x0000001f
-#define GEN6_INST_DW3_SUBREG__SHIFT 0
-#define GEN6_INST_DW3_ADDR_SUBREG__MASK 0x00001c00
-#define GEN6_INST_DW3_ADDR_SUBREG__SHIFT 10
-#define GEN6_INST_DW3_ADDR_IMM__MASK 0x000003ff
-#define GEN6_INST_DW3_ADDR_IMM__SHIFT 0
-#define GEN6_INST_DW3_SUBREG_ALIGN16 (0x1 << 4)
-#define GEN6_INST_DW3_SUBREG_ALIGN16__SHR 4
-#define GEN6_INST_DW3_ADDR_IMM_ALIGN16__MASK 0x000003f0
-#define GEN6_INST_DW3_ADDR_IMM_ALIGN16__SHIFT 4
-#define GEN6_INST_DW3_ADDR_IMM_ALIGN16__SHR 4
-#define GEN6_INST_DW3_SWIZZLE_Y__MASK 0x0000000c
-#define GEN6_INST_DW3_SWIZZLE_Y__SHIFT 2
-#define GEN6_INST_DW3_SWIZZLE_X__MASK 0x00000003
-#define GEN6_INST_DW3_SWIZZLE_X__SHIFT 0
-#define GEN6_3SRC_DW0_SATURATE (0x1 << 31)
-#define GEN6_3SRC_DW0_ACCWRCTRL (0x1 << 28)
-#define GEN6_3SRC_DW0_CONDMODIFIER__MASK 0x0f000000
-#define GEN6_3SRC_DW0_CONDMODIFIER__SHIFT 24
-#define GEN6_3SRC_DW0_SFID__MASK 0x0f000000
-#define GEN6_3SRC_DW0_SFID__SHIFT 24
-#define GEN6_3SRC_DW0_FC__MASK 0x0f000000
-#define GEN6_3SRC_DW0_FC__SHIFT 24
-#define GEN6_3SRC_DW0_EXECSIZE__MASK 0x00e00000
-#define GEN6_3SRC_DW0_EXECSIZE__SHIFT 21
-#define GEN6_3SRC_DW0_PREDINV (0x1 << 20)
-#define GEN6_3SRC_DW0_PREDCTRL__MASK 0x000f0000
-#define GEN6_3SRC_DW0_PREDCTRL__SHIFT 16
-#define GEN6_3SRC_DW0_THREADCTRL__MASK 0x0000c000
-#define GEN6_3SRC_DW0_THREADCTRL__SHIFT 14
-#define GEN6_3SRC_DW0_QTRCTRL__MASK 0x00003000
-#define GEN6_3SRC_DW0_QTRCTRL__SHIFT 12
-#define GEN6_3SRC_DW0_DEPCTRL__MASK 0x00000c00
-#define GEN6_3SRC_DW0_DEPCTRL__SHIFT 10
-#define GEN6_3SRC_DW0_MASKCTRL__MASK 0x00000200
-#define GEN6_3SRC_DW0_MASKCTRL__SHIFT 9
-#define GEN6_3SRC_DW0_ACCESSMODE__MASK 0x00000100
-#define GEN6_3SRC_DW0_ACCESSMODE__SHIFT 8
-#define GEN6_3SRC_DW0_OPCODE__MASK 0x0000007f
-#define GEN6_3SRC_DW0_OPCODE__SHIFT 0
-#define GEN6_3SRC_DW1_REG__MASK 0xff000000
-#define GEN6_3SRC_DW1_REG__SHIFT 24
-#define GEN6_3SRC_DW1_SUBREG__MASK 0x00e00000
-#define GEN6_3SRC_DW1_SUBREG__SHIFT 21
-#define GEN6_3SRC_DW1_SUBREG__SHR 2
-#define GEN6_3SRC_DW1_WRITEMASK__MASK 0x001e0000
-#define GEN6_3SRC_DW1_WRITEMASK__SHIFT 17
-#define GEN7_3SRC_DW1_NIBCTRL (0x1 << 15)
-#define GEN7_3SRC_DW1_TYPE__MASK 0x00003000
-#define GEN7_3SRC_DW1_TYPE__SHIFT 12
-#define GEN7_3SRC_DW1_SRC_TYPE__MASK 0x00000c00
-#define GEN7_3SRC_DW1_SRC_TYPE__SHIFT 10
-#define GEN6_3SRC_DW1_SRC2_NEGATE (0x1 << 9)
-#define GEN6_3SRC_DW1_SRC2_ABSOLUTE (0x1 << 8)
-#define GEN6_3SRC_DW1_SRC1_NEGATE (0x1 << 7)
-#define GEN6_3SRC_DW1_SRC1_ABSOLUTE (0x1 << 6)
-#define GEN6_3SRC_DW1_SRC0_NEGATE (0x1 << 5)
-#define GEN6_3SRC_DW1_SRC0_ABSOLUTE (0x1 << 4)
-#define GEN7_3SRC_DW1_FLAG_REG__MASK 0x00000004
-#define GEN7_3SRC_DW1_FLAG_REG__SHIFT 2
-#define GEN6_3SRC_DW1_FLAG_SUBREG__MASK 0x00000002
-#define GEN6_3SRC_DW1_FLAG_SUBREG__SHIFT 1
-#define GEN6_3SRC_DW1_FILE_MRF (0x1 << 0)
#define GEN6_3SRC_SRC_2__MASK 0x7ffffc0000000000ULL
#define GEN6_3SRC_SRC_2__SHIFT 42
-#define GEN6_3SRC_SRC_2_REG__MASK 0x3fc0000000000000ULL
-#define GEN6_3SRC_SRC_2_REG__SHIFT 54
-#define GEN6_3SRC_SRC_2_SUBREG__MASK 0x0038000000000000ULL
-#define GEN6_3SRC_SRC_2_SUBREG__SHIFT 51
-#define GEN6_3SRC_SRC_2_SUBREG__SHR 2
-#define GEN6_3SRC_SRC_2_SWIZZLE_W__MASK 0x0006000000000000ULL
-#define GEN6_3SRC_SRC_2_SWIZZLE_W__SHIFT 49
-#define GEN6_3SRC_SRC_2_SWIZZLE_Z__MASK 0x0001800000000000ULL
-#define GEN6_3SRC_SRC_2_SWIZZLE_Z__SHIFT 47
-#define GEN6_3SRC_SRC_2_SWIZZLE_Y__MASK 0x0000600000000000ULL
-#define GEN6_3SRC_SRC_2_SWIZZLE_Y__SHIFT 45
-#define GEN6_3SRC_SRC_2_SWIZZLE_X__MASK 0x0000180000000000ULL
-#define GEN6_3SRC_SRC_2_SWIZZLE_X__SHIFT 43
-#define GEN6_3SRC_SRC_2_REPCTRL (0x1 << 42)
#define GEN6_3SRC_SRC_1__MASK 0x000003ffffe00000ULL
#define GEN6_3SRC_SRC_1__SHIFT 21
-#define GEN6_3SRC_SRC_1_REG__MASK 0x000001fe00000000ULL
-#define GEN6_3SRC_SRC_1_REG__SHIFT 33
-#define GEN6_3SRC_SRC_1_SUBREG__MASK 0x00000001c0000000ULL
-#define GEN6_3SRC_SRC_1_SUBREG__SHIFT 30
-#define GEN6_3SRC_SRC_1_SUBREG__SHR 2
-#define GEN6_3SRC_SRC_1_SWIZZLE_W__MASK 0x30000000
-#define GEN6_3SRC_SRC_1_SWIZZLE_W__SHIFT 28
-#define GEN6_3SRC_SRC_1_SWIZZLE_Z__MASK 0x0c000000
-#define GEN6_3SRC_SRC_1_SWIZZLE_Z__SHIFT 26
-#define GEN6_3SRC_SRC_1_SWIZZLE_Y__MASK 0x03000000
-#define GEN6_3SRC_SRC_1_SWIZZLE_Y__SHIFT 24
-#define GEN6_3SRC_SRC_1_SWIZZLE_X__MASK 0x00c00000
-#define GEN6_3SRC_SRC_1_SWIZZLE_X__SHIFT 22
-#define GEN6_3SRC_SRC_1_REPCTRL (0x1 << 21)
#define GEN6_3SRC_SRC_0__MASK 0x001fffff
#define GEN6_3SRC_SRC_0__SHIFT 0
-#define GEN6_3SRC_SRC_0_REG__MASK 0x000ff000
-#define GEN6_3SRC_SRC_0_REG__SHIFT 12
-#define GEN6_3SRC_SRC_0_SUBREG__MASK 0x00000e00
-#define GEN6_3SRC_SRC_0_SUBREG__SHIFT 9
-#define GEN6_3SRC_SRC_0_SUBREG__SHR 2
-#define GEN6_3SRC_SRC_0_SWIZZLE_W__MASK 0x00000180
-#define GEN6_3SRC_SRC_0_SWIZZLE_W__SHIFT 7
-#define GEN6_3SRC_SRC_0_SWIZZLE_Z__MASK 0x00000060
-#define GEN6_3SRC_SRC_0_SWIZZLE_Z__SHIFT 5
-#define GEN6_3SRC_SRC_0_SWIZZLE_Y__MASK 0x00000018
-#define GEN6_3SRC_SRC_0_SWIZZLE_Y__SHIFT 3
-#define GEN6_3SRC_SRC_0_SWIZZLE_X__MASK 0x00000006
-#define GEN6_3SRC_SRC_0_SWIZZLE_X__SHIFT 1
-#define GEN6_3SRC_SRC_0_REPCTRL (0x1 << 0)
#endif /* GEN_EU_ISA_XML */