/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_lowering_gv100.cpp | 39 bld.mkOp3(OP_SELP, TYPE_U32, i->getDef(0), i->getSrc(0), i->getSrc(1), pred); in handleCMP() 85 bld.mkOp3(OP_MAD, isSignedType(i->sType) ? TYPE_S64 : TYPE_U64, def, in handleIMAD_HIGH() 103 bld.mkOp3(OP_SELP, i->dType, i->getDef(0), i->getSrc(0), i->getSrc(1), pred); in handleIMNMX() 113 bld.mkOp3(OP_MAD, i->dType, i->getDef(0), i->getSrc(0), i->getSrc(1), in handleIMUL() 138 bld.mkOp3(OP_LOP3_LUT, TYPE_U32, i->getDef(0), i->getSrc(0), i->getSrc(1), in handleLOP2() 146 bld.mkOp3(OP_LOP3_LUT, TYPE_U32, i->getDef(0), bld.mkImm(0), i->getSrc(0), in handleNOT() 193 i = bld.mkOp3(OP_SELP, TYPE_U32, i->getDef(0), bld.mkImm(0), met, pred); in handleSET() 227 bld.mkOp3(OP_SHF, i->dType, i->getDef(0), src0, src1, src2)->subOp = subOp; in handleShift() 335 bld.mkOp3(OP_SELP, TYPE_U32, dest[0], src0[0], src1[0], pred); in handleDMNMX() 336 bld.mkOp3(OP_SELP, TYPE_U32, dest[1], src0[1], src1[1], pred); in handleDMNMX() [all …]
|
D | nv50_ir_lowering_gm107.cpp | 127 bld.mkOp3(OP_SHFL, TYPE_F32, arr, i->getSrc(0), lane, quad); in handleManualTXD() 129 bld.mkOp3(OP_SHFL, TYPE_F32, shadow, i->getSrc(array + dim + indirect), lane, quad); in handleManualTXD() 134 bld.mkOp3(OP_SHFL, TYPE_F32, crd[c], i->getSrc(c + array), lane, quad); in handleManualTXD() 139 bld.mkOp3(OP_SHFL, TYPE_F32, tmp, i->dPdx[c].get(), lane, quad); in handleManualTXD() 147 bld.mkOp3(OP_SHFL, TYPE_F32, tmp, i->dPdy[c].get(), lane, quad); in handleManualTXD() 181 bld.mkOp3(OP_SHFL, TYPE_F32, tex->getDef(c), tex->getDef(c), bld.mkImm(0), quad); in handleManualTXD() 224 shfl = bld.mkOp3(OP_SHFL, TYPE_F32, bld.getScratch(), insn->getSrc(0), in handleDFDX() 242 bld.mkOp3(OP_PERMT, TYPE_U32, tmp1, tmp0, bld.mkImm(0x4442), bld.mkImm(0)); in handlePFETCH() 243 bld.mkOp3(OP_PERMT, TYPE_U32, tmp0, tmp0, bld.mkImm(0x4440), bld.mkImm(0)); in handlePFETCH() 248 bld.mkOp3(OP_MAD , TYPE_U32, tmp0, tmp0, tmp1, tmp2); in handlePFETCH()
|
D | nv50_ir_lowering_nvc0.cpp | 1017 bld.mkOp3(OP_INSBF, TYPE_U32, hnd, rHnd, bld.mkImm(0x1400), sHnd); in handleTEX() 1102 bld.mkOp3(OP_INSBF, TYPE_U32, src, ticRel, bld.mkImm(0x0917), src); in handleTEX() 1104 bld.mkOp3(OP_INSBF, TYPE_U32, src, tscRel, bld.mkImm(0x0710), src); in handleTEX() 1138 bld.mkOp3(OP_INSBF, TYPE_U32, in handleTEX() 1166 bld.mkOp3(OP_INSBF, TYPE_U32, offset, in handleTEX() 1584 bld.mkOp3(OP_SELP, TYPE_U32, bld.getSSA(), ld->getDef(0), in handleSharedATOM() 2030 bld.mkOp3(OP_SUCLAMP, TYPE_S32, src[c], su->getSrc(c), v, zero) in processSurfaceCoordsNVE4() 2042 bld.mkOp3(OP_SUCLAMP, TYPE_S32, src[2], src[2], v, zero) in processSurfaceCoordsNVE4() 2065 bld.mkOp3(OP_MADSP, TYPE_U32, off, src[2], v, src[1]) in processSurfaceCoordsNVE4() 2069 bld.mkOp3(OP_MADSP, TYPE_U32, off, off, v, src[0]) in processSurfaceCoordsNVE4() [all …]
|
D | nv50_ir_from_common.cpp | 94 mkOp3(OP_MAD, TYPE_F32, res[i], clipVtx[c], ucp, res[i]); in handleUserClipPlanes()
|
D | nv50_ir_build_util.h | 55 Instruction *mkOp3(operation, DataType, Value *, Value *, Value *, Value *); 291 mkOp3(op, ty, dst, src0, src1, src2); in mkOp3v()
|
D | nv50_ir_from_nir.cpp | 1925 mkOp3(OP_SHFL, dType, newDefs[i], getSrc(&insn->src[0], i), tmp, mkImm(0x1f)) in visit() 2623 mkOp3(OP_INSBF, TYPE_U32, newDefs[0], tmpH, mkImm(0x1010), tmpL); in visit() 2690 … mkOp3(OP_INSBF, dType, tmp, getSrc(&insn->src[2]), loadImm(NULL, 0x808), getSrc(&insn->src[1])); in visit() 2704 mkOp3(OP_INSBF, TYPE_U32, temp, getSrc(&insn->src[3]), mkImm(0x808), getSrc(&insn->src[2])); in visit() 2705 mkOp3(OP_INSBF, dType, newDefs[0], getSrc(&insn->src[1]), temp, getSrc(&insn->src[0])); in visit() 2733 mkOp3(OP_PERMT, TYPE_U32, newDefs[0], getSrc(&insn->src[0]), prmt, loadImm(NULL, 0)); in visit() 2740 …mkOp3(OP_MAD, TYPE_U32, prmt, getSrc(&insn->src[1]), loadImm(NULL, 0x1111), loadImm(NULL, 0x8880)); in visit() 2741 mkOp3(OP_PERMT, TYPE_U32, newDefs[0], getSrc(&insn->src[0]), prmt, loadImm(NULL, 0)); in visit() 2748 … mkOp3(OP_MAD, TYPE_U32, prmt, getSrc(&insn->src[1]), loadImm(NULL, 0x22), loadImm(NULL, 0x4410)); in visit() 2749 mkOp3(OP_PERMT, TYPE_U32, newDefs[0], getSrc(&insn->src[0]), prmt, loadImm(NULL, 0)); in visit() [all …]
|
D | nv50_ir_from_tgsi.cpp | 2185 mkOp3(OP_MAD, TYPE_F32, dotp, src0, src1, dotp) in buildDot() 2907 insn = mkOp3(OP_ATOM, ty, dst, sym, fetchSrc(2, c), fetchSrc(3, c)); in handleATOM() 3176 geni = mkOp3(op, dstTy, dst0[c], src0, src1, src2); in handleInstruction() 3305 mkOp3(OP_MAD, TYPE_F32, dst0[c], in handleInstruction() 3410 geni = mkOp3(op, dstTy, dst0[c], fetchSrc(0, c), src1, mkImm(0x1f)); in handleInstruction() 3515 mkOp3(OP_INSBF, TYPE_U32, dst0[c], val1, mkImm(0x1010), val0); in handleInstruction() 3800 mkOp3(OP_INSBF, TYPE_U32, val0, src2, mkImm(0x808), src1); in handleInstruction() 3812 mkOp3(OP_INSBF, TYPE_U32, val0, src3, mkImm(0x808), src2); in handleInstruction() 3813 mkOp3(OP_INSBF, TYPE_U32, dst0[c], src1, val0, src0); in handleInstruction() 4077 mkOp3(op, dstTy, dst, src0, src1, src2); in handleInstruction()
|
D | nv50_ir_peephole.cpp | 1023 Instruction *insn = bld.mkOp3(OP_SHLADD, TYPE_U32, res, a, bld.mkImm(shl), a); in createMul() 1039 bld.mkOp3(OP_XMAD, TYPE_U32, def, a, bld.mkImm((uint32_t)b), tmp)->subOp = in createMul() 1273 bld.mkOp3(OP_MAD, TYPE_S32, tA, i->getSrc(0), bld.loadImm(NULL, m), in opnd() 2510 Instruction *insn = bld.mkOp3(OP_XMAD, TYPE_U32, tmp0, b, a, c); in handleMULMAD() 2513 insn = bld.mkOp3(OP_XMAD, TYPE_U32, tmp1, b, a, bld.mkImm(0)); in handleMULMAD() 2638 bld.mkOp3(OP_MAD, hTy, tmpRes1Hi, op1[1], op2[0], op3[1]); in split64MulMad() 2650 bld.mkOp3(OP_MAD, hTy, def[0], op1[0], op2[0], op3[0])->setFlagsDef(1, carry); in split64MulMad() 2654 Instruction *hiPart3 = bld.mkOp3(OP_MAD, hTy, def[1], op1[0], op2[0], tmpRes2Hi); in split64MulMad()
|
D | nv50_ir_lowering_nv50.cpp | 102 i[3] = bld->mkOp3(OP_MAD, fTy, t[1], a[1], b[0], t[0]); in expandIntegerMUL() 110 i[4] = bld->mkOp3(OP_MAD, fTy, t[3], a[0], b[0], t[2]); in expandIntegerMUL() 126 i[5] = bld->mkOp3(OP_MAD, fTy, r[4], a[1], b[1], r[2]); in expandIntegerMUL()
|
D | nv50_ir_build_util.cpp | 92 BuildUtil::mkOp3(operation op, DataType ty, Value *dst, in mkOp3() function in nv50_ir::BuildUtil
|