Home
last modified time | relevance | path

Searched refs:tempreg (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_alu.c978 unsigned int tempreg = rc_find_free_temporary(c); in sin_approx() local
980 emit2(c, inst->Prev, RC_OPCODE_MUL, 0, dstregtmpmask(tempreg, RC_MASK_XY), in sin_approx()
983 emit3(c, inst->Prev, RC_OPCODE_MAD, 0, dstregtmpmask(tempreg, RC_MASK_X), in sin_approx()
984 swizzle_yyyy(srcreg(RC_FILE_TEMPORARY, tempreg)), in sin_approx()
986 swizzle_xxxx(srcreg(RC_FILE_TEMPORARY, tempreg))); in sin_approx()
987 emit3(c, inst->Prev, RC_OPCODE_MAD, 0, dstregtmpmask(tempreg, RC_MASK_Y), in sin_approx()
988 swizzle_xxxx(srcreg(RC_FILE_TEMPORARY, tempreg)), in sin_approx()
989 absolute(swizzle_xxxx(srcreg(RC_FILE_TEMPORARY, tempreg))), in sin_approx()
990 negate(swizzle_xxxx(srcreg(RC_FILE_TEMPORARY, tempreg)))); in sin_approx()
992 swizzle_yyyy(srcreg(RC_FILE_TEMPORARY, tempreg)), in sin_approx()
[all …]
Dradeon_dataflow_swizzles.c38 unsigned int tempreg = rc_find_free_temporary(c); in rewrite_source() local
56 mov->U.I.DstReg.Index = tempreg; in rewrite_source()
80 inst->U.I.SrcReg[src].Index = tempreg; in rewrite_source()
Dradeon_compiler.c196 unsigned tempreg = rc_find_free_temporary(c); in rc_copy_output() local
205 inst->U.I.DstReg.Index = tempreg; in rc_copy_output()
216 inst->U.I.SrcReg[0].Index = tempreg; in rc_copy_output()
225 inst->U.I.SrcReg[0].Index = tempreg; in rc_copy_output()