Home | History | Annotate | Download | only in i915

Lines Matching refs:FullInstruction

188       copy_instruction(&o->FullInstruction, &i->FullInstruction);
204 op_commutes(current->FullInstruction.Instruction.Opcode) &&
205 current->FullInstruction.Instruction.Saturate == next->FullInstruction.Instruction.Saturate &&
206 next->FullInstruction.Instruction.Opcode == TGSI_OPCODE_MOV &&
207 same_dst_reg(&next->FullInstruction.Dst[0], &current->FullInstruction.Dst[0]) &&
208 same_src_reg(&next->FullInstruction.Src[0], &current->FullInstruction.Src[1]) &&
209 !same_src_dst_reg(&next->FullInstruction.Src[0], &current->FullInstruction.Dst[0]) &&
210 is_unswizzled(&current->FullInstruction.Src[0], current->FullInstruction.Dst[0].Register.WriteMask) &&
211 is_unswizzled(&current->FullInstruction.Src[1], current->FullInstruction.Dst[0].Register.WriteMask) &&
212 is_unswizzled(&next->FullInstruction.Src[0], next->FullInstruction.Dst[0].Register.WriteMask) )
214 next->FullInstruction.Instruction.Opcode = TGSI_OPCODE_NOP;
216 set_neutral_element_swizzle(&current->FullInstruction.Src[1], 0, 0);
217 set_neutral_element_swizzle(&current->FullInstruction.Src[0],
218 next->FullInstruction.Dst[0].Register.WriteMask,
219 op_neutral_element(current->FullInstruction.Instruction.Opcode));
221 current->FullInstruction.Dst[0].Register.WriteMask = current->FullInstruction.Dst[0].Register.WriteMask |
222 next->FullInstruction.Dst[0].Register.WriteMask;
228 op_commutes(current->FullInstruction.Instruction.Opcode) &&
229 current->FullInstruction.Instruction.Saturate == next->FullInstruction.Instruction.Saturate &&
230 next->FullInstruction.Instruction.Opcode == TGSI_OPCODE_MOV &&
231 same_dst_reg(&next->FullInstruction.Dst[0], &current->FullInstruction.Dst[0]) &&
232 same_src_reg(&next->FullInstruction.Src[0], &current->FullInstruction.Src[0]) &&
233 !same_src_dst_reg(&next->FullInstruction.Src[0], &current->FullInstruction.Dst[0]) &&
234 is_unswizzled(&current->FullInstruction.Src[0], current->FullInstruction.Dst[0].Register.WriteMask) &&
235 is_unswizzled(&current->FullInstruction.Src[1], current->FullInstruction.Dst[0].Register.WriteMask) &&
236 is_unswizzled(&next->FullInstruction.Src[0], next->FullInstruction.Dst[0].Register.WriteMask) )
238 next->FullInstruction.Instruction.Opcode = TGSI_OPCODE_NOP;
240 set_neutral_element_swizzle(&current->FullInstruction.Src[0], 0, 0);
241 set_neutral_element_swizzle(&current->FullInstruction.Src[1],
242 next->FullInstruction.Dst[0].Register.WriteMask,
243 op_neutral_element(current->FullInstruction.Instruction.Opcode));
245 current->FullInstruction.Dst[0].Register.WriteMask = current->FullInstruction.Dst[0].Register.WriteMask |
246 next->FullInstruction.Dst[0].Register.WriteMask;
262 current.FullInstruction.Instruction.Opcode == TGSI_OPCODE_MOV &&
263 has_destination(current.FullInstruction.Instruction.Opcode) &&
264 current.FullInstruction.Instruction.Saturate == TGSI_SAT_NONE &&
265 current.FullInstruction.Src[0].Register.Absolute == 0 &&
266 current.FullInstruction.Src[0].Register.Negate == 0 &&
267 is_unswizzled(&current.FullInstruction.Src[0], current.FullInstruction.Dst[0].Register.WriteMask) &&
268 same_src_dst_reg(&current.FullInstruction.Src[0], &current.FullInstruction.Dst[0]) )
286 next->FullInstruction.Instruction.Opcode == TGSI_OPCODE_MOV &&
287 has_destination(current->FullInstruction.Instruction.Opcode) &&
288 next->FullInstruction.Instruction.Saturate == TGSI_SAT_NONE &&
289 next->FullInstruction.Src[0].Register.Absolute == 0 &&
290 next->FullInstruction.Src[0].Register.Negate == 0 &&
291 next->FullInstruction.Dst[0].Register.File == TGSI_FILE_OUTPUT &&
292 is_unswizzled(&next->FullInstruction.Src[0], next->FullInstruction.Dst[0].Register.WriteMask) &&
293 current->FullInstruction.Dst[0].Register.WriteMask == next->FullInstruction.Dst[0].Register.WriteMask &&
294 same_src_dst_reg(&next->FullInstruction.Src[0], &current->FullInstruction.Dst[0]) )
296 next->FullInstruction.Instruction.Opcode = TGSI_OPCODE_NOP;
298 current->FullInstruction.Dst[0] = next->FullInstruction.Dst[0];