/third_party/mesa3d/src/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() 197 i = bld.mkOp3(OP_SELP, TYPE_U32, i->getDef(0), bld.mkImm(0), met, pred); in handleSET() 231 bld.mkOp3(OP_SHF, i->dType, i->getDef(0), src0, src1, src2)->subOp = subOp; in handleShift() 339 bld.mkOp3(OP_SELP, TYPE_U32, dest[0], src0[0], src1[0], pred); in handleDMNMX() 340 bld.mkOp3(OP_SELP, TYPE_U32, dest[1], src0[1], src1[1], pred); in handleDMNMX() [all …]
|
D | nv50_ir_lowering_gm107.cpp | 146 bld.mkOp3(OP_SHFL, TYPE_F32, arr, i->getSrc(0), lane, quad); in handleManualTXD() 148 bld.mkOp3(OP_SHFL, TYPE_F32, shadow, i->getSrc(array + dim + indirect), lane, quad); in handleManualTXD() 153 bld.mkOp3(OP_SHFL, TYPE_F32, crd[c], i->getSrc(c + array), lane, quad); in handleManualTXD() 158 bld.mkOp3(OP_SHFL, TYPE_F32, tmp, i->dPdx[c].get(), lane, quad); in handleManualTXD() 166 bld.mkOp3(OP_SHFL, TYPE_F32, tmp, i->dPdy[c].get(), lane, quad); in handleManualTXD() 200 bld.mkOp3(OP_SHFL, TYPE_F32, tex->getDef(c), tex->getDef(c), bld.mkImm(0), quad); in handleManualTXD() 243 shfl = bld.mkOp3(OP_SHFL, TYPE_F32, bld.getScratch(), insn->getSrc(0), in handleDFDX() 261 bld.mkOp3(OP_PERMT, TYPE_U32, tmp1, tmp0, bld.mkImm(0x4442), bld.mkImm(0)); in handlePFETCH() 262 bld.mkOp3(OP_PERMT, TYPE_U32, tmp0, tmp0, bld.mkImm(0x4440), bld.mkImm(0)); in handlePFETCH() 267 bld.mkOp3(OP_MAD , TYPE_U32, tmp0, tmp0, tmp1, tmp2); in handlePFETCH()
|
D | nv50_ir_lowering_nvc0.cpp | 1018 bld.mkOp3(OP_INSBF, TYPE_U32, hnd, rHnd, bld.mkImm(0x1400), sHnd); in handleTEX() 1103 bld.mkOp3(OP_INSBF, TYPE_U32, src, ticRel, bld.mkImm(0x0917), src); in handleTEX() 1105 bld.mkOp3(OP_INSBF, TYPE_U32, src, tscRel, bld.mkImm(0x0710), src); in handleTEX() 1139 bld.mkOp3(OP_INSBF, TYPE_U32, in handleTEX() 1167 bld.mkOp3(OP_INSBF, TYPE_U32, offset, in handleTEX() 1585 bld.mkOp3(OP_SELP, TYPE_U32, bld.getSSA(), ld->getDef(0), in handleSharedATOM() 2041 bld.mkOp3(OP_SUCLAMP, TYPE_S32, src[c], su->getSrc(c), v, zero) in processSurfaceCoordsNVE4() 2053 bld.mkOp3(OP_SUCLAMP, TYPE_S32, src[2], src[2], v, zero) in processSurfaceCoordsNVE4() 2076 bld.mkOp3(OP_MADSP, TYPE_U32, off, src[2], v, src[1]) in processSurfaceCoordsNVE4() 2080 bld.mkOp3(OP_MADSP, TYPE_U32, off, off, v, src[0]) in processSurfaceCoordsNVE4() [all …]
|
D | nv50_ir_from_nir.cpp | 1837 mkOp3(OP_SELP, TYPE_U32, sample, mkImm(0), getSrc(&insn->src[0], 0), mkImm(0)) in visit() 1954 mkOp3(OP_SHFL, dType, newDefs[i], getSrc(&insn->src[0], i), tmp, mkImm(0x1f)) in visit() 2682 mkOp3(OP_INSBF, TYPE_U32, newDefs[0], tmpH, mkImm(0x1010), tmpL); in visit() 2749 … mkOp3(OP_INSBF, dType, tmp, getSrc(&insn->src[2]), loadImm(NULL, 0x808), getSrc(&insn->src[1])); in visit() 2763 mkOp3(OP_INSBF, TYPE_U32, temp, getSrc(&insn->src[3]), mkImm(0x808), getSrc(&insn->src[2])); in visit() 2764 mkOp3(OP_INSBF, dType, newDefs[0], getSrc(&insn->src[1]), temp, getSrc(&insn->src[0])); in visit() 2792 mkOp3(OP_PERMT, TYPE_U32, newDefs[0], getSrc(&insn->src[0]), prmt, loadImm(NULL, 0)); in visit() 2799 …mkOp3(OP_MAD, TYPE_U32, prmt, getSrc(&insn->src[1]), loadImm(NULL, 0x1111), loadImm(NULL, 0x8880)); in visit() 2800 mkOp3(OP_PERMT, TYPE_U32, newDefs[0], getSrc(&insn->src[0]), prmt, loadImm(NULL, 0)); in visit() 2807 … mkOp3(OP_MAD, TYPE_U32, prmt, getSrc(&insn->src[1]), loadImm(NULL, 0x22), loadImm(NULL, 0x4410)); in visit() [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 *); 297 mkOp3(op, ty, dst, src0, src1, src2); in mkOp3v()
|
D | nv50_ir_from_tgsi.cpp | 2209 mkOp3(OP_MAD, TYPE_F32, dotp, src0, src1, dotp) in buildDot() 2957 insn = mkOp3(OP_ATOM, ty, dst, sym, fetchSrc(2, c), fetchSrc(3, c)); in handleATOM() 3109 mkOp3(OP_SELP, TYPE_U32, sample, mkImm(0), fetchSrc(1, 0), mkImm(0)) in handleINTERP() 3239 geni = mkOp3(op, dstTy, dst0[c], src0, src1, src2); in handleInstruction() 3368 mkOp3(OP_MAD, TYPE_F32, dst0[c], in handleInstruction() 3475 geni = mkOp3(op, dstTy, dst0[c], fetchSrc(0, c), src1, mkImm(0x1f)); in handleInstruction() 3580 mkOp3(OP_INSBF, TYPE_U32, dst0[c], val1, mkImm(0x1010), val0); in handleInstruction() 3867 mkOp3(OP_INSBF, TYPE_U32, val0, src2, mkImm(0x808), src1); in handleInstruction() 3879 mkOp3(OP_INSBF, TYPE_U32, val0, src3, mkImm(0x808), src2); in handleInstruction() 3880 mkOp3(OP_INSBF, TYPE_U32, dst0[c], src1, val0, src0); in handleInstruction() [all …]
|
D | nv50_ir_peephole.cpp | 1026 Instruction *insn = bld.mkOp3(OP_SHLADD, TYPE_U32, res, a, bld.mkImm(shl), a); in createMul() 1042 bld.mkOp3(OP_XMAD, TYPE_U32, def, a, bld.mkImm((uint32_t)b), tmp)->subOp = in createMul() 1279 bld.mkOp3(OP_MAD, TYPE_S32, tA, i->getSrc(0), bld.loadImm(NULL, m), in opnd() 2524 Instruction *insn = bld.mkOp3(OP_XMAD, TYPE_U32, tmp0, b, a, c); in handleMULMAD() 2527 insn = bld.mkOp3(OP_XMAD, TYPE_U32, tmp1, b, a, bld.mkImm(0)); in handleMULMAD() 2652 bld.mkOp3(OP_MAD, hTy, tmpRes1Hi, op1[1], op2[0], op3[1]); in split64MulMad() 2664 bld.mkOp3(OP_MAD, hTy, def[0], op1[0], op2[0], op3[0])->setFlagsDef(1, carry); in split64MulMad() 2668 Instruction *hiPart3 = bld.mkOp3(OP_MAD, hTy, def[1], op1[0], op2[0], tmpRes2Hi); in split64MulMad()
|
D | nv50_ir_lowering_nv50.cpp | 120 i[3] = bld->mkOp3(OP_MAD, fTy, t[1], a[1], b[0], t[0]); in expandIntegerMUL() 128 i[4] = bld->mkOp3(OP_MAD, fTy, t[3], a[0], b[0], t[2]); in expandIntegerMUL() 144 i[5] = bld->mkOp3(OP_MAD, fTy, r[4], a[1], b[1], r[2]); in expandIntegerMUL() 1511 bld.mkOp3(OP_SELP, TYPE_U32, bld.getSSA(), atom->getSrc(2), in handleSharedATOM()
|
D | nv50_ir_build_util.cpp | 94 BuildUtil::mkOp3(operation op, DataType ty, Value *dst, in mkOp3() function in nv50_ir::BuildUtil
|