Searched refs:inst_mov (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
H A Dradeon_emulate_branches.c61 struct rc_instruction * inst_mov; local
74 inst_mov = rc_insert_new_instruction(s->C, inst->Prev);
75 inst_mov->U.I.Opcode = RC_OPCODE_MOV;
76 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY;
77 inst_mov->U.I.DstReg.Index = rc_find_free_temporary(s->C);
78 inst_mov->U.I.DstReg.WriteMask = RC_MASK_X;
79 inst_mov->U.I.SrcReg[0] = inst->U.I.SrcReg[0];
82 inst->U.I.SrcReg[0].Index = inst_mov->U.I.DstReg.Index;
164 struct rc_instruction * inst_mov = rc_insert_new_instruction(s->C, begin->Prev); local
165 inst_mov
283 struct rc_instruction * inst_mov; local
[all...]
H A Dradeon_program_tex.c61 struct rc_instruction *inst_mov; local
65 inst_mov = rc_insert_new_instruction(&compiler->Base, inst->Prev);
67 inst_mov->U.I.Opcode = RC_OPCODE_MUL;
68 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY;
69 inst_mov->U.I.DstReg.Index = temp;
70 inst_mov->U.I.SrcReg[0] = inst->U.I.SrcReg[0];
71 inst_mov->U.I.SrcReg[1].File = RC_FILE_CONSTANT;
72 inst_mov->U.I.SrcReg[1].Index =
301 struct rc_instruction *inst_mov; local
381 struct rc_instruction *inst_mov; local
410 struct rc_instruction *inst_mov; local
490 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst); local
506 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst->Prev); local
[all...]
H A Dr500_fragprog.c105 struct rc_instruction * inst_mov = local
108 inst_mov->U.I.Opcode = RC_OPCODE_MOV;
109 inst_mov->U.I.DstReg.WriteMask = 0;
110 inst_mov->U.I.DstReg.File = RC_FILE_NONE;
111 inst_mov->U.I.ALUResultCompare = RC_COMPARE_FUNC_NOTEQUAL;
112 inst_mov->U.I.WriteALUResult = alu_chan;
113 inst_mov->U.I.SrcReg[0] = inst_if->U.I.SrcReg[0];
115 inst_mov->U.I.SrcReg[0].Swizzle = combine_swizzles4(
116 inst_mov->U.I.SrcReg[0].Swizzle,
120 inst_mov
[all...]
H A Dr3xx_vertprog.c712 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst->Prev); local
713 inst_mov->U.I.Opcode = RC_OPCODE_MOV;
714 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY;
715 inst_mov->U.I.DstReg.Index = tmpreg;
716 inst_mov->U.I.SrcReg[0] = inst->U.I.SrcReg[2];
727 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst->Prev); local
728 inst_mov->U.I.Opcode = RC_OPCODE_MOV;
729 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY;
730 inst_mov->U.I.DstReg.Index = tmpreg;
731 inst_mov
[all...]
H A Dradeon_optimize.c140 static void copy_propagate(struct radeon_compiler * c, struct rc_instruction * inst_mov) argument
145 if (inst_mov->U.I.DstReg.File != RC_FILE_TEMPORARY ||
146 inst_mov->U.I.WriteALUResult ||
147 inst_mov->U.I.SaturateMode)
152 rc_get_readers(c, inst_mov, &reader_data,
162 *reader_data.Readers[i].U.I.Src = chain_srcregs(*reader_data.Readers[i].U.I.Src, inst_mov->U.I.SrcReg[0]);
164 if (inst_mov->U.I.SrcReg[0].File == RC_FILE_PRESUB)
165 inst->U.I.PreSub = inst_mov->U.I.PreSub;
169 rc_remove_instruction(inst_mov);
H A Dradeon_program_alu.c371 struct rc_instruction * inst_mov; local
373 inst_mov = emit1(c, inst,
378 inst->U.I.DstReg.Index = inst_mov->U.I.SrcReg[0].Index;
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_emulate_branches.c61 struct rc_instruction * inst_mov; local
74 inst_mov = rc_insert_new_instruction(s->C, inst->Prev);
75 inst_mov->U.I.Opcode = RC_OPCODE_MOV;
76 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY;
77 inst_mov->U.I.DstReg.Index = rc_find_free_temporary(s->C);
78 inst_mov->U.I.DstReg.WriteMask = RC_MASK_X;
79 inst_mov->U.I.SrcReg[0] = inst->U.I.SrcReg[0];
82 inst->U.I.SrcReg[0].Index = inst_mov->U.I.DstReg.Index;
164 struct rc_instruction * inst_mov = rc_insert_new_instruction(s->C, begin->Prev); local
165 inst_mov
283 struct rc_instruction * inst_mov; local
[all...]
H A Dradeon_program_tex.c61 struct rc_instruction *inst_mov; local
65 inst_mov = rc_insert_new_instruction(&compiler->Base, inst->Prev);
67 inst_mov->U.I.Opcode = RC_OPCODE_MUL;
68 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY;
69 inst_mov->U.I.DstReg.Index = temp;
70 inst_mov->U.I.SrcReg[0] = inst->U.I.SrcReg[0];
71 inst_mov->U.I.SrcReg[1].File = RC_FILE_CONSTANT;
72 inst_mov->U.I.SrcReg[1].Index =
301 struct rc_instruction *inst_mov; local
381 struct rc_instruction *inst_mov; local
410 struct rc_instruction *inst_mov; local
490 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst); local
506 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst->Prev); local
[all...]
H A Dr500_fragprog.c105 struct rc_instruction * inst_mov = local
108 inst_mov->U.I.Opcode = RC_OPCODE_MOV;
109 inst_mov->U.I.DstReg.WriteMask = 0;
110 inst_mov->U.I.DstReg.File = RC_FILE_NONE;
111 inst_mov->U.I.ALUResultCompare = RC_COMPARE_FUNC_NOTEQUAL;
112 inst_mov->U.I.WriteALUResult = alu_chan;
113 inst_mov->U.I.SrcReg[0] = inst_if->U.I.SrcReg[0];
115 inst_mov->U.I.SrcReg[0].Swizzle = combine_swizzles4(
116 inst_mov->U.I.SrcReg[0].Swizzle,
120 inst_mov
[all...]
H A Dr3xx_vertprog.c712 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst->Prev); local
713 inst_mov->U.I.Opcode = RC_OPCODE_MOV;
714 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY;
715 inst_mov->U.I.DstReg.Index = tmpreg;
716 inst_mov->U.I.SrcReg[0] = inst->U.I.SrcReg[2];
727 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst->Prev); local
728 inst_mov->U.I.Opcode = RC_OPCODE_MOV;
729 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY;
730 inst_mov->U.I.DstReg.Index = tmpreg;
731 inst_mov
[all...]
H A Dradeon_optimize.c140 static void copy_propagate(struct radeon_compiler * c, struct rc_instruction * inst_mov) argument
145 if (inst_mov->U.I.DstReg.File != RC_FILE_TEMPORARY ||
146 inst_mov->U.I.WriteALUResult ||
147 inst_mov->U.I.SaturateMode)
152 rc_get_readers(c, inst_mov, &reader_data,
162 *reader_data.Readers[i].U.I.Src = chain_srcregs(*reader_data.Readers[i].U.I.Src, inst_mov->U.I.SrcReg[0]);
164 if (inst_mov->U.I.SrcReg[0].File == RC_FILE_PRESUB)
165 inst->U.I.PreSub = inst_mov->U.I.PreSub;
169 rc_remove_instruction(inst_mov);
H A Dradeon_program_alu.c371 struct rc_instruction * inst_mov; local
373 inst_mov = emit1(c, inst,
378 inst->U.I.DstReg.Index = inst_mov->U.I.SrcReg[0].Index;

Completed in 142 milliseconds