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

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_emulate_branches.c61 struct rc_instruction * inst_mov; local in function:handle_if
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 in function:allocate_and_insert_proxies
165 inst_mov
283 struct rc_instruction * inst_mov; local in function:fix_output_writes
[all...]
H A Dradeon_program_tex.c61 struct rc_instruction *inst_mov; local in function:scale_texcoords
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 in function:radeonTransformTEX
381 struct rc_instruction *inst_mov; local in function:radeonTransformTEX
410 struct rc_instruction *inst_mov; local in function:radeonTransformTEX
443 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst); local in function:radeonTransformTEX
459 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst->Prev); local in function:radeonTransformTEX
[all...]
H A Dr500_fragprog.c105 struct rc_instruction * inst_mov = local in function:r500_transform_IF
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 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)
151 rc_get_readers(c, inst_mov, &reader_data,
161 if (inst_mov->U.I.SaturateMode) {
177 *reader_data.Readers[i].U.I.Src = chain_srcregs(*reader_data.Readers[i].U.I.Src, inst_mov->U.I.SrcReg[0]);
179 if (inst_mov->U.I.SrcReg[0].File == RC_FILE_PRESUB)
180 inst->U.I.PreSub = inst_mov->U.I.PreSub;
182 inst->U.I.SaturateMode = inst_mov->U.I.SaturateMode;
186 rc_remove_instruction(inst_mov);
[all...]
H A Dr3xx_vertprog.c720 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst->Prev); local in function:transform_source_conflicts
721 inst_mov->U.I.Opcode = RC_OPCODE_MOV;
722 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY;
723 inst_mov->U.I.DstReg.Index = tmpreg;
724 inst_mov->U.I.SrcReg[0] = inst->U.I.SrcReg[2];
735 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst->Prev); local in function:transform_source_conflicts
736 inst_mov->U.I.Opcode = RC_OPCODE_MOV;
737 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY;
738 inst_mov->U.I.DstReg.Index = tmpreg;
739 inst_mov
[all...]
H A Dradeon_program_alu.c371 struct rc_instruction * inst_mov; local in function:transform_LIT
373 inst_mov = emit1(c, inst,
378 inst->U.I.DstReg.Index = inst_mov->U.I.SrcReg[0].Index;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_emulate_branches.c61 struct rc_instruction * inst_mov; local in function:handle_if
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 in function:allocate_and_insert_proxies
165 inst_mov
283 struct rc_instruction * inst_mov; local in function:fix_output_writes
[all...]
H A Dradeon_program_tex.c61 struct rc_instruction *inst_mov; local in function:scale_texcoords
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 in function:radeonTransformTEX
381 struct rc_instruction *inst_mov; local in function:radeonTransformTEX
410 struct rc_instruction *inst_mov; local in function:radeonTransformTEX
443 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst); local in function:radeonTransformTEX
459 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst->Prev); local in function:radeonTransformTEX
[all...]
H A Dr500_fragprog.c106 struct rc_instruction * inst_mov = local in function:r500_transform_IF
109 inst_mov->U.I.Opcode = RC_OPCODE_MOV;
110 inst_mov->U.I.DstReg.WriteMask = 0;
111 inst_mov->U.I.DstReg.File = RC_FILE_NONE;
112 inst_mov->U.I.ALUResultCompare = RC_COMPARE_FUNC_NOTEQUAL;
113 inst_mov->U.I.WriteALUResult = alu_chan;
114 inst_mov->U.I.SrcReg[0] = inst_if->U.I.SrcReg[0];
116 inst_mov->U.I.SrcReg[0].Swizzle = combine_swizzles4(
117 inst_mov->U.I.SrcReg[0].Swizzle,
121 inst_mov
[all...]
H A Dr3xx_vertprog.c730 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst->Prev); local in function:transform_source_conflicts
731 inst_mov->U.I.Opcode = RC_OPCODE_MOV;
732 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY;
733 inst_mov->U.I.DstReg.Index = tmpreg;
734 inst_mov->U.I.SrcReg[0] = inst->U.I.SrcReg[2];
735 inst_mov->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_XYZW;
736 inst_mov->U.I.SrcReg[0].Negate = 0;
737 inst_mov->U.I.SrcReg[0].Abs = 0;
748 struct rc_instruction * inst_mov = rc_insert_new_instruction(c, inst->Prev); local in function:transform_source_conflicts
749 inst_mov
[all...]
H A Dradeon_optimize.c142 static void copy_propagate(struct radeon_compiler * c, struct rc_instruction * inst_mov) argument
147 if (inst_mov->U.I.DstReg.File != RC_FILE_TEMPORARY ||
148 inst_mov->U.I.WriteALUResult)
153 rc_get_readers(c, inst_mov, &reader_data,
163 if (inst_mov->U.I.SaturateMode) {
179 *reader_data.Readers[i].U.I.Src = chain_srcregs(*reader_data.Readers[i].U.I.Src, inst_mov->U.I.SrcReg[0]);
181 if (inst_mov->U.I.SrcReg[0].File == RC_FILE_PRESUB)
182 inst->U.I.PreSub = inst_mov->U.I.PreSub;
184 inst->U.I.SaturateMode = inst_mov->U.I.SaturateMode;
188 rc_remove_instruction(inst_mov);
[all...]
H A Dradeon_program_alu.c371 struct rc_instruction * inst_mov; local in function:transform_LIT
373 inst_mov = emit1(c, inst,
378 inst->U.I.DstReg.Index = inst_mov->U.I.SrcReg[0].Index;

Completed in 14 milliseconds