Home
last modified time | relevance | path

Searched refs:mkOp2 (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_lowering_nv50.cpp93 i[2] = i[3] = bld->mkOp2(OP_MUL, fTy, t[1], a[1], in expandIntegerMUL()
96 i[2] = bld->mkOp2(OP_MUL, fTy, t[0], a[0], 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()
123 i[6] = bld->mkOp2(OP_ADD, fTy, r[1], r[0], imm); in expandIntegerMUL()
125 bld->mkOp2(OP_UNION, TYPE_U32, r[2], r[1], r[3]); in expandIntegerMUL()
153 bld->mkOp2(OP_XOR, fTy, NULL, mul->getSrc(0), mul->getSrc(1)) in expandIntegerMUL()
163 Instruction *n = bld->mkOp2(OP_ADD, fTy, NULL, rr[1], one); in expandIntegerMUL()
169 bld->mkOp2(OP_ADD, fTy, rr[2], rr[0], one) in expandIntegerMUL()
173 bld->mkOp2(OP_UNION, fTy, rr[4], rr[2], rr[3]); in expandIntegerMUL()
[all …]
Dnv50_ir_lowering_gm107.cpp58 bld.mkOp2(OP_ADD , TYPE_U32, src0, i->getSrc(0), i->getSrc(1)); in handlePFETCH()
140 add = bld.mkOp2(OP_QUADOP, TYPE_F32, crd[c], tmp, crd[c]); in handleManualTXD()
148 add = bld.mkOp2(OP_QUADOP, TYPE_F32, crd[c], tmp, crd[c]); in handleManualTXD()
158 bld.mkOp2(OP_MAX, TYPE_F32, val, src[0], src[1]); in handleManualTXD()
159 bld.mkOp2(OP_MAX, TYPE_F32, val, src[2], val); in handleManualTXD()
242 bld.mkOp2(OP_SHR , TYPE_U32, tmp1, tmp0, bld.mkImm(16)); in handlePFETCH()
243 bld.mkOp2(OP_AND , TYPE_U32, tmp0, tmp0, bld.mkImm(0xff)); in handlePFETCH()
244 bld.mkOp2(OP_AND , TYPE_U32, tmp1, tmp1, bld.mkImm(0xff)); in handlePFETCH()
246 bld.mkOp2(OP_ADD , TYPE_U32, tmp2, i->getSrc(0), i->getSrc(1)); in handlePFETCH()
Dnv50_ir_lowering_nvc0.cpp112 bld.mkOp2(OP_MERGE, TYPE_U64, def, dst[0], dst[1]); in handleRCPRSQ()
207 bld.mkOp2(OP_ADD, TYPE_U32, (x32_minus_shift = bld.getSSA()), shift, bld.mkImm(0x20)) in handleShift()
212 bld.mkOp2(OP_OR, TYPE_U32, (hi1 = bld.getSSA()), in handleShift()
217 bld.mkOp2(op, type, (dst[0] = bld.getSSA()), src[0], shift); in handleShift()
219 bld.mkOp2(op, type, (hi2 = bld.getSSA()), src[0], in handleShift()
222 bld.mkOp2(OP_UNION, TYPE_U32, (dst[1] = bld.getSSA()), hi1, hi2); in handleShift()
225 bld.mkOp2(OP_MERGE, TYPE_U64, dst64, dst[0], dst[1]); in handleShift()
254 bld.mkOp2(OP_MERGE, TYPE_U64, dst64, dst[0], dst[1]); in handleShift()
267 bld.mkOp2(OP_SUB, hTy, NULL, src0[0], src1[0]) in handleSET()
832 bld.mkOp2(OP_MAX, TYPE_F32, val, src[0], src[1]); in handleTEX()
[all …]
Dnv50_ir_from_tgsi.cpp2205 mkOp2(OP_WRSV, TYPE_U32, NULL, dstToSym(dst, c), val); in storeDst()
2249 mkOp2(OP_MUL, TYPE_F32, dotp, src0, src1) in buildDot()
2542 mkOp2(OP_MAX, TYPE_F32, val0, fetchSrc(0, 0), zero); in handleLIT()
2554 mkOp2(OP_MAX, TYPE_F32, val1, src1, zero); in handleLIT()
2555 mkOp2(OP_MAX, TYPE_F32, val3, src3, neg128); in handleLIT()
2556 mkOp2(OP_MIN, TYPE_F32, val3, val3, pos128); in handleLIT()
2557 mkOp2(OP_POW, TYPE_F32, val3, val1, val3); in handleLIT()
2969 insn = mkOp2(OP_ATOM, ty, dst, sym, fetchSrc(2, c)); in handleATOM()
3121 mkOp2(OP_MIN, TYPE_F32, offs[c], fetchSrc(1, c), loadImm(NULL, 0.4375f)); in handleINTERP()
3122 mkOp2(OP_MAX, TYPE_F32, offs[c], offs[c], loadImm(NULL, -0.5f)); in handleINTERP()
[all …]
Dnv50_ir_build_util.h54 Instruction *mkOp2(operation, DataType, Value *, Value *, Value *);
283 mkOp2(op, ty, dst, src0, src1); in mkOp2v()
Dnv50_ir_build_util.cpp78 BuildUtil::mkOp2(operation op, DataType ty, Value *dst, in mkOp2() function in nv50_ir::BuildUtil
266 Instruction *quadop = mkOp2(OP_QUADOP, TYPE_F32, def, src0, src1); in mkQuadop()
281 return mkOp2(OP_UNION, typeOfSize(dst->reg.size), dst, def0, def1); in mkSelect()
Dnv50_ir_peephole.cpp1116 mul = bld.mkOp2(OP_MUL, TYPE_U32, tA, i->getSrc(0), in opnd()
1119 bld.mkOp2(OP_SUB, TYPE_U32, tB, i->getSrc(0), tA); in opnd()
1122 bld.mkOp2(OP_SHR, TYPE_U32, tA, tB, bld.mkImm(r)); in opnd()
1126 newi = bld.mkOp2(OP_ADD, TYPE_U32, tB, mul->getDef(0), tA); in opnd()
1128 bld.mkOp2(OP_SHR, TYPE_U32, i->getDef(0), tB, bld.mkImm(s)); in opnd()
1152 bld.mkOp2(OP_SHR, TYPE_S32, tB, tA, bld.mkImm(l - 1)); in opnd()
1158 newi = bld.mkOp2(OP_SUB, TYPE_U32, tD, tB, tA); in opnd()
1191 newi = bld.mkOp2(OP_UNION, TYPE_S32, i->getDef(0), v1, v2); in opnd()
1203 newi = bld.mkOp2(OP_ADD, i->sType, i->getDef(0), i->getSrc(0), in opnd()
2400 bld.mkOp2(OP_MUL, hTy, tmpRes1Hi, op1[1], op2[0]); in split64MulMad()
[all …]