Home
last modified time | relevance | path

Searched refs:srcreg (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_alu.c132 static struct rc_src_register srcreg(int file, int index) in srcreg() function
246 inst->U.I.SrcReg[0], srcreg(RC_FILE_TEMPORARY, dst.Index)); in transform_CEIL()
284 inst->U.I.SrcReg[0], negate(srcreg(RC_FILE_TEMPORARY, dst.Index))); in transform_FLR()
300 negate(srcreg(RC_FILE_TEMPORARY, dst.Index))); in transform_TRUNC()
302 negate(srcreg(RC_FILE_TEMPORARY, dst.Index)), srcreg(RC_FILE_TEMPORARY, dst.Index)); in transform_TRUNC()
339 srcreg(RC_FILE_TEMPORARY, rc_find_free_temporary(c))); in transform_LIT()
347 srctemp = srcreg(RC_FILE_TEMPORARY, temp); in transform_LIT()
355 swizzle(srcreg(RC_FILE_CONSTANT, constant), in transform_LIT()
399 inst->U.I.SrcReg[0], inst->U.I.SrcReg[1], srcreg(RC_FILE_TEMPORARY, dst.Index)); in transform_LRP()
408 struct rc_src_register tempsrc = srcreg(RC_FILE_TEMPORARY, tempdst.Index); in transform_POW()
[all …]
Dradeon_compiler_util.c295 struct rc_src_register lmul_swizzle(unsigned int swizzle, struct rc_src_register srcreg) in lmul_swizzle() argument
297 struct rc_src_register tmp = srcreg; in lmul_swizzle()
304 tmp.Swizzle |= GET_SWZ(srcreg.Swizzle, swz) << (i*3); in lmul_swizzle()
305 tmp.Negate |= GET_BIT(srcreg.Negate, swz) << i; in lmul_swizzle()
Dradeon_compiler_util.h73 struct rc_src_register lmul_swizzle(unsigned int swizzle, struct rc_src_register srcreg);
/third_party/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_shader_dump.c420 static void dump_srcreg( struct sh_srcreg srcreg, struct sh_srcreg *indreg, const struct dump_info … in dump_srcreg() argument
425 memcpy(&srcreg_sh, &srcreg, sizeof(srcreg_sh)); in dump_srcreg()
427 switch (srcreg.modifier) { in dump_srcreg()
442 switch (srcreg.modifier) { in dump_srcreg()
473 …if (srcreg.swizzle_x != 0 || srcreg.swizzle_y != 1 || srcreg.swizzle_z != 2 || srcreg.swizzle_w !=… in dump_srcreg()
475 …if (srcreg.swizzle_x == srcreg.swizzle_y && srcreg.swizzle_y == srcreg.swizzle_z && srcreg.swizzle… in dump_srcreg()
476 _debug_printf( "%c", "xyzw"[srcreg.swizzle_x] ); in dump_srcreg()
479 _debug_printf( "%c", "xyzw"[srcreg.swizzle_x] ); in dump_srcreg()
480 _debug_printf( "%c", "xyzw"[srcreg.swizzle_y] ); in dump_srcreg()
481 _debug_printf( "%c", "xyzw"[srcreg.swizzle_z] ); in dump_srcreg()
[all …]
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DShaderTGSI.c1411 struct ureg_src srcreg[2]; in Shader_tgsi_translate() local
1412 srcreg[0] = translate_src_operand(&sx, &opcode.src[0], OF_INT); in Shader_tgsi_translate()
1413 srcreg[1] = translate_src_operand(&sx, &opcode.src[1], OF_INT); in Shader_tgsi_translate()
1418 srcreg); in Shader_tgsi_translate()
1530 struct ureg_src srcreg[3]; in Shader_tgsi_translate() local
1531 srcreg[0] = translate_src_operand(&sx, &opcode.src[0], OF_FLOAT); in Shader_tgsi_translate()
1532 srcreg[1] = translate_src_operand(&sx, &opcode.src[1], OF_UINT); in Shader_tgsi_translate()
1533 srcreg[2] = translate_src_operand(&sx, &opcode.src[2], OF_UINT); in Shader_tgsi_translate()
1538 srcreg); in Shader_tgsi_translate()
1579 struct ureg_src srcreg[4]; in Shader_tgsi_translate() local
[all …]
/third_party/mesa3d/src/intel/isl/
Disl_tiled_memcpy.c127 __m128i srcreg, dstreg, agmask, ag, rb, br; in rgba8_copy_16_aligned_dst() local
130 srcreg = _mm_loadu_si128((__m128i *)src); in rgba8_copy_16_aligned_dst()
132 rb = _mm_andnot_si128(agmask, srcreg); in rgba8_copy_16_aligned_dst()
133 ag = _mm_and_si128(agmask, srcreg); in rgba8_copy_16_aligned_dst()
144 __m128i srcreg, dstreg, agmask, ag, rb, br; in rgba8_copy_16_aligned_src() local
147 srcreg = _mm_load_si128((__m128i *)src); in rgba8_copy_16_aligned_src()
149 rb = _mm_andnot_si128(agmask, srcreg); in rgba8_copy_16_aligned_src()
150 ag = _mm_and_si128(agmask, srcreg); in rgba8_copy_16_aligned_src()
/third_party/mesa3d/src/freedreno/decode/
Dcffdec.c1786 uint32_t srcreg = dwords[1]; in cp_set_const() local
1791 assert(srcreg < ARRAY_SIZE(type0_reg_vals)); in cp_set_const()
1797 printf("%s (%08x)\n", regname(srcreg, 1), type0_reg_vals[srcreg]); in cp_set_const()
1799 dstval += type0_reg_vals[srcreg]; in cp_set_const()
/third_party/mesa3d/docs/drivers/freedreno/
Dir3-notes.rst119 ``foreach_src(srcreg, instr)``
122 ``foreach_src_n(srcreg, n, instr)``
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVInstrInfoD.td77 // Operands for stores are in the order srcreg, base, offset rather than
DRISCVInstrInfoF.td111 // Operands for stores are in the order srcreg, base, offset rather than
DRISCVInstrInfo.td312 // Operands for stores are in the order srcreg, base, offset rather than