/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_lowering_gm107.cpp | 123 bld.mkOp2(OP_SHFL, TYPE_F32, crd[c], i->getSrc(c + array), bld.mkImm(l)); in handleManualTXD() 131 bld.mkOp2(OP_SHFL, TYPE_F32, tmp, i->dPdx[c].get(), bld.mkImm(l)); in handleManualTXD() 139 bld.mkOp2(OP_SHFL, TYPE_F32, tmp, i->dPdy[c].get(), bld.mkImm(l)); in handleManualTXD() 207 insn->getSrc(0), bld.mkImm(xid)); in handleDFDX() 224 bld.mkOp2(OP_SHR , TYPE_U32, tmp1, tmp0, bld.mkImm(16)); in handlePFETCH() 225 bld.mkOp2(OP_AND , TYPE_U32, tmp0, tmp0, bld.mkImm(0xff)); in handlePFETCH() 226 bld.mkOp2(OP_AND , TYPE_U32, tmp1, tmp1, bld.mkImm(0xff)); in handlePFETCH()
|
D | nv50_ir_lowering_nvc0.cpp | 669 ptr = bld.mkOp2v(OP_SHL, TYPE_U32, bld.getSSA(), ptr, bld.mkImm(2)); in loadTexHandle() 762 bld.mkOp3(OP_INSBF, TYPE_U32, hnd, rHnd, bld.mkImm(0x1400), sHnd); in handleTEX() 820 ticRel, bld.mkImm(i->tex.r)); in handleTEX() 826 tscRel, bld.mkImm(i->tex.s)); in handleTEX() 847 bld.mkOp3(OP_INSBF, TYPE_U32, src, ticRel, bld.mkImm(0x0917), src); in handleTEX() 849 bld.mkOp3(OP_INSBF, TYPE_U32, src, tscRel, bld.mkImm(0x0710), src); in handleTEX() 886 bld.mkImm(0x800 | ((n * 16 + c * 8) % 32)), in handleTEX() 911 bld.loadImm(NULL, imm), bld.mkImm(0xc10), in handleTEX() 1107 ticRel, bld.mkImm(txq->tex.r)); in handleTXQ() 1109 bld.mkOp2(OP_SHL, TYPE_U32, src, ticRel, bld.mkImm(0x17)); in handleTXQ() [all …]
|
D | nv50_ir_build_util.h | 92 ImmediateValue *mkImm(float); 93 ImmediateValue *mkImm(double); 94 ImmediateValue *mkImm(uint32_t); 95 ImmediateValue *mkImm(uint64_t); 97 ImmediateValue *mkImm(int i) { return mkImm((uint32_t)i); } in mkImm() function
|
D | nv50_ir_build_util.cpp | 357 BuildUtil::mkImm(uint32_t u) in mkImm() function in nv50_ir::BuildUtil 373 BuildUtil::mkImm(uint64_t u) in mkImm() function in nv50_ir::BuildUtil 385 BuildUtil::mkImm(float f) in mkImm() function in nv50_ir::BuildUtil 392 return mkImm(u.u32); in mkImm() 396 BuildUtil::mkImm(double d) in mkImm() function in nv50_ir::BuildUtil 404 return mkOp1v(OP_MOV, TYPE_F32, dst ? dst : getScratch(), mkImm(f)); in loadImm() 410 return mkOp1v(OP_MOV, TYPE_F64, dst ? dst : getScratch(8), mkImm(d)); in loadImm() 416 return mkOp1v(OP_MOV, TYPE_U32, dst ? dst : getScratch(), mkImm(u)); in loadImm() 422 return mkOp1v(OP_MOV, TYPE_U64, dst ? dst : getScratch(8), mkImm(u)); in loadImm()
|
D | nv50_ir_lowering_nv50.cpp | 94 bld->mkImm(src1.reg.data.u32 & 0xffff)); in expandIntegerMUL() 97 src1imm ? bld->mkImm(src1.reg.data.u32 >> 16) : b[1]); in expandIntegerMUL() 105 i[7] = bld->mkOp2(OP_SHL, fTy, t[2], t[1], bld->mkImm(halfSize * 8)); in expandIntegerMUL() 122 i[8] = bld->mkOp2(OP_SHR, fTy, r[0], t[1], bld->mkImm(halfSize * 8)); in expandIntegerMUL() 448 arl = bld.mkOp2(OP_SHL, TYPE_U32, i->getDef(0), bld.getSSA(), bld.mkImm(0)); in handleAddrDef() 515 bf = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getSSA(), bf, bld.mkImm(-2)); in handleDIV() 710 bld.mkOp2v(OP_SHL, TYPE_U32, t, ms, bld.mkImm(3)), in loadMsInfo() 712 bld.mkImm(3)); in loadMsInfo() 1172 bld.mkOp2(OP_OR, TYPE_U32, def, def, bld.mkImm(0x00000001)); in handleRDSV() 1182 bld.mkMov(def, bld.mkImm(1)); in handleRDSV() [all …]
|
D | nv50_ir_peephole.cpp | 947 newi = bld.mkMov(def, bld.mkImm((uint32_t)(val & mask)), TYPE_U32); in opnd() 963 TYPE_S32, i->getSrc(t), bld.mkImm(0)); in opnd() 1088 i->setSrc(1, bld.mkImm(util_logbase2(imm0.reg.data.u32))); in opnd() 1111 bld.mkOp2(OP_SHR, TYPE_U32, tA, tB, bld.mkImm(r)); in opnd() 1117 bld.mkOp2(OP_SHR, TYPE_U32, i->getDef(0), tB, bld.mkImm(s)); in opnd() 1141 bld.mkOp2(OP_SHR, TYPE_S32, tB, tA, bld.mkImm(l - 1)); in opnd() 1145 bld.mkCmp(OP_SET, CC_LT, TYPE_S32, tA, TYPE_S32, i->getSrc(0), bld.mkImm(0)); in opnd() 1343 bld.mkImm(imm0.reg.data.u32))); in opnd() 1376 i->setSrc(0, bld.mkImm(res)); in opnd() 1440 i->setSrc(0, bld.mkImm(res.data.dst)); \ in opnd() [all …]
|
D | nv50_ir_from_tgsi.cpp | 1802 mkImm(index), rel); in getVertexBase() 1884 return mkOp2v(OP_SHL, TYPE_U32, getSSA(4, FILE_ADDRESS), index, mkImm(4)); in shiftAddress() 2916 offs[1], mkImm(0x1010), offs[0]); in handleINTERP() 3383 mkOp3(OP_INSBF, TYPE_U32, dst0[c], val1, mkImm(0x1010), val0); in handleInstruction() 3408 src0 = mkImm(stream); in handleInstruction() 3590 geni = mkOp2(OP_BAR, TYPE_U32, NULL, mkImm(0), mkImm(0)); in handleInstruction() 3662 mkOp3(OP_INSBF, TYPE_U32, val0, src2, mkImm(0x808), src1); in handleInstruction() 3674 mkOp3(OP_INSBF, TYPE_U32, val0, src3, mkImm(0x808), src2); in handleInstruction() 3682 geni = mkOp2(OP_EXTBF, TYPE_U32, val0, src0, mkImm(0x2000)); in handleInstruction() 3698 geni = mkOp2(OP_EXTBF, TYPE_U32, dst0[c], src0, mkImm(0x2000)); in handleInstruction() [all …]
|