Searched refs:inst_mov (Results 1 – 6 of 6) sorted by relevance
/external/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() 301 struct rc_instruction *inst_mov; in radeonTransformTEX() local 381 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 | 105 struct rc_instruction * inst_mov = in r500_transform_IF() local 108 inst_mov->U.I.Opcode = RC_OPCODE_MOV; in r500_transform_IF() 109 inst_mov->U.I.DstReg.WriteMask = 0; in r500_transform_IF() 110 inst_mov->U.I.DstReg.File = RC_FILE_NONE; in r500_transform_IF() 111 inst_mov->U.I.ALUResultCompare = RC_COMPARE_FUNC_NOTEQUAL; in r500_transform_IF() 112 inst_mov->U.I.WriteALUResult = alu_chan; in r500_transform_IF() 113 inst_mov->U.I.SrcReg[0] = inst_if->U.I.SrcReg[0]; in r500_transform_IF() 115 inst_mov->U.I.SrcReg[0].Swizzle = combine_swizzles4( in r500_transform_IF() 116 inst_mov->U.I.SrcReg[0].Swizzle, in r500_transform_IF() 120 inst_mov->U.I.SrcReg[0].Swizzle = combine_swizzles4( in r500_transform_IF() [all …]
|
D | radeon_optimize.c | 140 static void copy_propagate(struct radeon_compiler * c, struct rc_instruction * inst_mov) in copy_propagate() argument 145 if (inst_mov->U.I.DstReg.File != RC_FILE_TEMPORARY || in copy_propagate() 146 inst_mov->U.I.WriteALUResult) in copy_propagate() 151 rc_get_readers(c, inst_mov, &reader_data, in copy_propagate() 161 if (inst_mov->U.I.SaturateMode) { in copy_propagate() 177 …*reader_data.Readers[i].U.I.Src = chain_srcregs(*reader_data.Readers[i].U.I.Src, inst_mov->U.I.Src… in copy_propagate() 179 if (inst_mov->U.I.SrcReg[0].File == RC_FILE_PRESUB) in copy_propagate() 180 inst->U.I.PreSub = inst_mov->U.I.PreSub; in copy_propagate() 182 inst->U.I.SaturateMode = inst_mov->U.I.SaturateMode; in copy_propagate() 186 rc_remove_instruction(inst_mov); in copy_propagate()
|
D | r3xx_vertprog.c | 720 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst->Prev); in transform_source_conflicts() local 721 inst_mov->U.I.Opcode = RC_OPCODE_MOV; in transform_source_conflicts() 722 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY; in transform_source_conflicts() 723 inst_mov->U.I.DstReg.Index = tmpreg; in transform_source_conflicts() 724 inst_mov->U.I.SrcReg[0] = inst->U.I.SrcReg[2]; in transform_source_conflicts() 735 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst->Prev); in transform_source_conflicts() local 736 inst_mov->U.I.Opcode = RC_OPCODE_MOV; in transform_source_conflicts() 737 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY; in transform_source_conflicts() 738 inst_mov->U.I.DstReg.Index = tmpreg; in transform_source_conflicts() 739 inst_mov->U.I.SrcReg[0] = inst->U.I.SrcReg[1]; in transform_source_conflicts()
|
D | radeon_program_alu.c | 371 struct rc_instruction * inst_mov; in transform_LIT() local 373 inst_mov = emit1(c, inst, in transform_LIT() 378 inst->U.I.DstReg.Index = inst_mov->U.I.SrcReg[0].Index; in transform_LIT()
|