Searched refs:inst_mov (Results 1 – 6 of 6) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_program_tex.c | 61 struct rc_instruction *inst_mov; in scale_texcoords() local 65 inst_mov = rc_insert_new_instruction(&compiler->Base, inst->Prev); in scale_texcoords() 67 inst_mov->U.I.Opcode = RC_OPCODE_MUL; in scale_texcoords() 68 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY; in scale_texcoords() 69 inst_mov->U.I.DstReg.Index = temp; in scale_texcoords() 70 inst_mov->U.I.SrcReg[0] = inst->U.I.SrcReg[0]; in scale_texcoords() 71 inst_mov->U.I.SrcReg[1].File = RC_FILE_CONSTANT; in scale_texcoords() 72 inst_mov->U.I.SrcReg[1].Index = in scale_texcoords() 300 struct rc_instruction *inst_mov; in radeonTransformTEX() local 380 struct rc_instruction *inst_mov; in radeonTransformTEX() local [all …]
|
D | radeon_emulate_branches.c | 61 struct rc_instruction * inst_mov; in handle_if() local 74 inst_mov = rc_insert_new_instruction(s->C, inst->Prev); in handle_if() 75 inst_mov->U.I.Opcode = RC_OPCODE_MOV; in handle_if() 76 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY; in handle_if() 77 inst_mov->U.I.DstReg.Index = rc_find_free_temporary(s->C); in handle_if() 78 inst_mov->U.I.DstReg.WriteMask = RC_MASK_X; in handle_if() 79 inst_mov->U.I.SrcReg[0] = inst->U.I.SrcReg[0]; in handle_if() 82 inst->U.I.SrcReg[0].Index = inst_mov->U.I.DstReg.Index; in handle_if() 164 struct rc_instruction * inst_mov = rc_insert_new_instruction(s->C, begin->Prev); in allocate_and_insert_proxies() local 165 inst_mov->U.I.Opcode = RC_OPCODE_MOV; in allocate_and_insert_proxies() [all …]
|
D | r500_fragprog.c | 106 struct rc_instruction * inst_mov = in r500_transform_IF() local 109 inst_mov->U.I.Opcode = RC_OPCODE_MOV; in r500_transform_IF() 110 inst_mov->U.I.DstReg.WriteMask = 0; in r500_transform_IF() 111 inst_mov->U.I.DstReg.File = RC_FILE_NONE; in r500_transform_IF() 112 inst_mov->U.I.ALUResultCompare = RC_COMPARE_FUNC_NOTEQUAL; in r500_transform_IF() 113 inst_mov->U.I.WriteALUResult = alu_chan; in r500_transform_IF() 114 inst_mov->U.I.SrcReg[0] = inst_if->U.I.SrcReg[0]; in r500_transform_IF() 116 inst_mov->U.I.SrcReg[0].Swizzle = combine_swizzles4( in r500_transform_IF() 117 inst_mov->U.I.SrcReg[0].Swizzle, in r500_transform_IF() 121 inst_mov->U.I.SrcReg[0].Swizzle = combine_swizzles4( in r500_transform_IF() [all …]
|
D | r3xx_vertprog.c | 746 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst->Prev); in transform_source_conflicts() local 747 inst_mov->U.I.Opcode = RC_OPCODE_MOV; in transform_source_conflicts() 748 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY; in transform_source_conflicts() 749 inst_mov->U.I.DstReg.Index = tmpreg; in transform_source_conflicts() 750 inst_mov->U.I.SrcReg[0] = inst->U.I.SrcReg[2]; in transform_source_conflicts() 751 inst_mov->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_XYZW; in transform_source_conflicts() 752 inst_mov->U.I.SrcReg[0].Negate = 0; in transform_source_conflicts() 753 inst_mov->U.I.SrcReg[0].Abs = 0; in transform_source_conflicts() 764 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst->Prev); in transform_source_conflicts() local 765 inst_mov->U.I.Opcode = RC_OPCODE_MOV; in transform_source_conflicts() [all …]
|
D | radeon_optimize.c | 142 static void copy_propagate(struct radeon_compiler * c, struct rc_instruction * inst_mov) in copy_propagate() argument 147 if (inst_mov->U.I.DstReg.File != RC_FILE_TEMPORARY || in copy_propagate() 148 inst_mov->U.I.WriteALUResult) in copy_propagate() 153 rc_get_readers(c, inst_mov, &reader_data, in copy_propagate() 163 if (inst_mov->U.I.SaturateMode) { in copy_propagate() 179 …*reader_data.Readers[i].U.I.Src = chain_srcregs(*reader_data.Readers[i].U.I.Src, inst_mov->U.I.Src… in copy_propagate() 181 if (inst_mov->U.I.SrcReg[0].File == RC_FILE_PRESUB) in copy_propagate() 182 inst->U.I.PreSub = inst_mov->U.I.PreSub; in copy_propagate() 184 inst->U.I.SaturateMode = inst_mov->U.I.SaturateMode; in copy_propagate() 188 rc_remove_instruction(inst_mov); in copy_propagate()
|
D | radeon_program_alu.c | 335 struct rc_instruction * inst_mov; in transform_LIT() local 337 inst_mov = emit1(c, inst, in transform_LIT() 342 inst->U.I.DstReg.Index = inst_mov->U.I.SrcReg[0].Index; in transform_LIT()
|