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

/external/chromium_org/third_party/mesa/src/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.c324 struct rc_instruction *inst_add; local
328 inst_add = rc_insert_new_instruction(c, &c->Program.Instructions);
329 inst_add->U.I.Opcode = RC_OPCODE_ADD;
331 inst_add->U.I.DstReg.File = RC_FILE_TEMPORARY;
332 inst_add->U.I.DstReg.Index = tempregi;
333 inst_add->U.I.DstReg.WriteMask = RC_MASK_X;
335 inst_add->U.I.SrcReg[0].File = RC_FILE_NONE;
336 inst_add->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_1111;
338 inst_add->U.I.SrcReg[1].File = RC_FILE_INPUT;
339 inst_add
[all...]
H A Dradeon_optimize.c452 struct rc_instruction * inst_add,
462 rc_get_readers(c, inst_add, &reader_data, presub_scan_read, NULL,
476 presub_replace(inst_add, reader.Inst, src_index);
482 /* This function assumes that inst_add->U.I.SrcReg[0] and
483 * inst_add->U.I.SrcReg[1] aren't both negative. */
485 struct rc_instruction * inst_add,
490 if (inst_add->U.I.SrcReg[1].Negate || inst_add->U.I.SrcReg[0].Negate)
495 if (inst_add->U.I.SrcReg[1].Negate) {
496 inst_reader->U.I.PreSub.SrcReg[0] = inst_add
450 presub_helper( struct radeon_compiler * c, struct rc_instruction * inst_add, rc_presubtract_op presub_opcode, rc_presub_replace_fn presub_replace) argument
484 presub_replace_add( struct rc_instruction * inst_add, struct rc_instruction * inst_reader, unsigned int src_index) argument
562 peephole_add_presub_add( struct radeon_compiler * c, struct rc_instruction * inst_add) argument
599 presub_replace_inv( struct rc_instruction * inst_add, struct rc_instruction * inst_reader, unsigned int src_index) argument
626 peephole_add_presub_inv( struct radeon_compiler * c, struct rc_instruction * inst_add) argument
[all...]
/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.c324 struct rc_instruction *inst_add; local
328 inst_add = rc_insert_new_instruction(c, &c->Program.Instructions);
329 inst_add->U.I.Opcode = RC_OPCODE_ADD;
331 inst_add->U.I.DstReg.File = RC_FILE_TEMPORARY;
332 inst_add->U.I.DstReg.Index = tempregi;
333 inst_add->U.I.DstReg.WriteMask = RC_MASK_X;
335 inst_add->U.I.SrcReg[0].File = RC_FILE_NONE;
336 inst_add->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_1111;
338 inst_add->U.I.SrcReg[1].File = RC_FILE_INPUT;
339 inst_add
[all...]
H A Dradeon_optimize.c452 struct rc_instruction * inst_add,
462 rc_get_readers(c, inst_add, &reader_data, presub_scan_read, NULL,
476 presub_replace(inst_add, reader.Inst, src_index);
482 /* This function assumes that inst_add->U.I.SrcReg[0] and
483 * inst_add->U.I.SrcReg[1] aren't both negative. */
485 struct rc_instruction * inst_add,
490 if (inst_add->U.I.SrcReg[1].Negate || inst_add->U.I.SrcReg[0].Negate)
495 if (inst_add->U.I.SrcReg[1].Negate) {
496 inst_reader->U.I.PreSub.SrcReg[0] = inst_add
450 presub_helper( struct radeon_compiler * c, struct rc_instruction * inst_add, rc_presubtract_op presub_opcode, rc_presub_replace_fn presub_replace) argument
484 presub_replace_add( struct rc_instruction * inst_add, struct rc_instruction * inst_reader, unsigned int src_index) argument
562 peephole_add_presub_add( struct radeon_compiler * c, struct rc_instruction * inst_add) argument
599 presub_replace_inv( struct rc_instruction * inst_add, struct rc_instruction * inst_reader, unsigned int src_index) argument
626 peephole_add_presub_inv( struct radeon_compiler * c, struct rc_instruction * inst_add) argument
[all...]

Completed in 122 milliseconds