Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_alu.c131 static struct rc_src_register srcreg(int file, int index) in srcreg() function
255 inst->U.I.SrcReg[0], srcreg(RC_FILE_TEMPORARY, dst.Index)); in transform_CEIL()
271 srcreg(RC_FILE_TEMPORARY, dst.Index), inst->U.I.SrcReg[1]); in transform_CLAMP()
320 inst->U.I.SrcReg[0], negate(srcreg(RC_FILE_TEMPORARY, dst.Index))); in transform_FLR()
336 negate(srcreg(RC_FILE_TEMPORARY, dst.Index))); in transform_TRUNC()
338 negate(srcreg(RC_FILE_TEMPORARY, dst.Index)), srcreg(RC_FILE_TEMPORARY, dst.Index)); in transform_TRUNC()
375 srcreg(RC_FILE_TEMPORARY, rc_find_free_temporary(c))); in transform_LIT()
383 srctemp = srcreg(RC_FILE_TEMPORARY, temp); in transform_LIT()
391 swizzle(srcreg(RC_FILE_CONSTANT, constant), in transform_LIT()
435 inst->U.I.SrcReg[0], srcreg(RC_FILE_TEMPORARY, dst.Index), inst->U.I.SrcReg[2]); in transform_LRP()
[all …]
Dradeon_compiler_util.c288 struct rc_src_register lmul_swizzle(unsigned int swizzle, struct rc_src_register srcreg) in lmul_swizzle() argument
290 struct rc_src_register tmp = srcreg; in lmul_swizzle()
297 tmp.Swizzle |= GET_SWZ(srcreg.Swizzle, swz) << (i*3); in lmul_swizzle()
298 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);
/external/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 …]
/external/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()
/external/mesa3d/src/freedreno/decode/
Dcffdec.c1762 uint32_t srcreg = dwords[1]; in cp_set_const() local
1767 assert(srcreg < ARRAY_SIZE(type0_reg_vals)); in cp_set_const()
1773 printf("%s (%08x)\n", regname(srcreg, 1), type0_reg_vals[srcreg]); in cp_set_const()
1775 dstval += type0_reg_vals[srcreg]; in cp_set_const()
/external/mesa3d/docs/drivers/freedreno/
Dir3-notes.rst119 ``foreach_src(srcreg, instr)``
122 ``foreach_src_n(srcreg, n, instr)``
/external/llvm-project/llvm/lib/Target/RISCV/
DRISCVInstrInfoZfh.td76 // Operands for stores are in the order srcreg, base, offset rather than
DRISCVInstrInfoD.td75 // Operands for stores are in the order srcreg, base, offset rather than
DRISCVInstrInfoF.td110 // Operands for stores are in the order srcreg, base, offset rather than
DRISCVInstrInfo.td360 // Operands for stores are in the order srcreg, base, offset rather than
/external/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