Searched defs:inst_add (Results 1 - 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_program_tex.c159 struct rc_instruction *inst_mul, *inst_add, *inst_cmp; local
206 inst_add = rc_insert_new_instruction(c, inst_mul);
207 inst_add->U.I.Opcode = RC_OPCODE_ADD;
208 inst_add->U.I.DstReg.File = RC_FILE_TEMPORARY;
209 inst_add->U.I.DstReg.Index = tmp_sum;
210 inst_add->U.I.DstReg.WriteMask = RC_MASK_W;
211 inst_add->U.I.SrcReg[0].File = RC_FILE_TEMPORARY;
212 inst_add->U.I.SrcReg[0].Index = tmp_sum;
213 inst_add->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_WWWW;
214 inst_add
325 struct rc_instruction *inst_mul, *inst_frc, *inst_mad, *inst_add; local
[all...]
H A Dradeon_compiler.c326 struct rc_instruction *inst_add; local
330 inst_add = rc_insert_new_instruction(c, &c->Program.Instructions);
331 inst_add->U.I.Opcode = RC_OPCODE_ADD;
333 inst_add->U.I.DstReg.File = RC_FILE_TEMPORARY;
334 inst_add->U.I.DstReg.Index = tempregi;
335 inst_add->U.I.DstReg.WriteMask = RC_MASK_X;
337 inst_add->U.I.SrcReg[0].File = RC_FILE_NONE;
338 inst_add->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_1111;
340 inst_add->U.I.SrcReg[1].File = RC_FILE_INPUT;
341 inst_add
[all...]
H A Dradeon_optimize.c469 struct rc_instruction * inst_add,
479 rc_get_readers(c, inst_add, &reader_data, presub_scan_read, NULL,
493 presub_replace(inst_add, reader.Inst, src_index);
499 /* This function assumes that inst_add->U.I.SrcReg[0] and
500 * inst_add->U.I.SrcReg[1] aren't both negative. */
502 struct rc_instruction * inst_add,
507 if (inst_add->U.I.SrcReg[1].Negate || inst_add->U.I.SrcReg[0].Negate)
512 if (inst_add->U.I.SrcReg[1].Negate) {
513 inst_reader->U.I.PreSub.SrcReg[0] = inst_add
467 presub_helper( struct radeon_compiler * c, struct rc_instruction * inst_add, rc_presubtract_op presub_opcode, rc_presub_replace_fn presub_replace) argument
501 presub_replace_add( struct rc_instruction * inst_add, struct rc_instruction * inst_reader, unsigned int src_index) argument
579 peephole_add_presub_add( struct radeon_compiler * c, struct rc_instruction * inst_add) argument
616 presub_replace_inv( struct rc_instruction * inst_add, struct rc_instruction * inst_reader, unsigned int src_index) argument
643 peephole_add_presub_inv( struct radeon_compiler * c, struct rc_instruction * inst_add) argument
[all...]

Completed in 124 milliseconds