Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_lowering_nv50.cpp522 bld.mkCvt(OP_CVT, TYPE_F32, af, ty, div->getSrc(0)); in handleDIV()
523 bld.mkCvt(OP_CVT, TYPE_F32, bf, ty, div->getSrc(1)); in handleDIV()
541 bld.mkCvt(OP_CVT, ty, (q0 = bld.getSSA()), TYPE_F32, qf)->rnd = ROUND_Z; in handleDIV()
548 bld.mkCvt(OP_CVT, TYPE_F32, (aR = bld.getSSA()), TYPE_U32, aRf); in handleDIV()
551 bld.mkCvt(OP_CVT, TYPE_U32, (qR = bld.getSSA()), TYPE_F32, qRf) in handleDIV()
833 bld.mkCvt(OP_CVT, TYPE_U32, src, TYPE_F32, layer); in handleTEX()
926 bld.mkCvt(OP_CVT, TYPE_U8, flags, TYPE_U32, cond->getDef(0))->flagsDef = 0; in handleTXB()
1078 bld.mkCvt(OP_CVT, TYPE_F32, i->getDef(def), TYPE_S32, i->getDef(def)); in handleTXLQ()
1173 bld.mkCvt(OP_CVT, TYPE_F32, i->getDef(0), TYPE_S32, i->getDef(0)); in handleSET()
1292 bld.mkCvt(OP_CVT, TYPE_F32, def, TYPE_S32, def); in handleRDSV()
[all …]
Dnv50_ir_build_util.h75 Instruction *mkCvt(operation, DataType, Value *, DataType, Value *);
312 return mkCvt(OP_CVT, TYPE_U32, dst, TYPE_U32, src); in mkBMov()
Dnv50_ir_from_tgsi.cpp2476 mkCvt(OP_CVT, TYPE_U32, x, TYPE_F32, x)->rnd = ROUND_Z; in handleFBFETCH()
2477 mkCvt(OP_CVT, TYPE_U32, y, TYPE_F32, y)->rnd = ROUND_Z; in handleFBFETCH()
3124 mkCvt(OP_CVT, TYPE_S32, offs[c], TYPE_F32, offs[c]); in handleINTERP()
3271 mkCvt(OP_CVT, TYPE_S32, dst0[c], TYPE_F32, src0)->rnd = rnd; in handleInstruction()
3411 mkCvt(OP_CVT, TYPE_F32, dst0[c], TYPE_F32, fetchSrc(0, c)) in handleInstruction()
3444 mkCvt(OP_CVT, TYPE_U32, dst0[c], TYPE_U8, val0); in handleInstruction()
3563 mkCvt(OP_CVT, dstTy, dst0[c], srcTy, fetchSrc(0, c))->rnd = ROUND_Z; in handleInstruction()
3568 mkCvt(OP_CVT, dstTy, dst0[c], srcTy, fetchSrc(0, c)); in handleInstruction()
3573 mkCvt(OP_CVT, TYPE_F16, val0, TYPE_F32, fetchSrc(0, 0)); in handleInstruction()
3574 mkCvt(OP_CVT, TYPE_F16, val1, TYPE_F32, fetchSrc(0, 1)); in handleInstruction()
[all …]
Dnv50_ir_lowering_gv100.cpp374 bld.mkCvt(OP_CVT, TYPE_F32, i->getDef(0), i->sType, i->getSrc(0))-> in handleI2I()
376 bld.mkCvt(OP_CVT, i->dType, i->getDef(0), TYPE_F32, i->getDef(0)); in handleI2I()
Dnv50_ir_lowering_nvc0.cpp1029 bld.mkCvt(OP_CVT, TYPE_U16, layer, sTy, src)->saturate = sat; in handleTEX()
1097 bld.mkCvt(OP_CVT, TYPE_U16, src, sTy, arrayIndex)->saturate = sat; in handleTEX()
1425 bld.mkCvt(OP_CVT, TYPE_F32, i->getDef(def), type, i->getDef(def)); in handleTXLQ()
2293 bld.mkCvt(OP_CVT, getDestType(format->type), typedDst[i], in convertSurfaceFormat()
2297 bld.mkCvt(OP_CVT, getDestType(format->type), typedDst[i], in convertSurfaceFormat()
2303 bld.mkCvt(OP_CVT, TYPE_F32, typedDst[i], getSrcType(format, i), typedDst[i]); in convertSurfaceFormat()
2313 bld.mkCvt(OP_CVT, TYPE_F32, typedDst[i], TYPE_F16, typedDst[i]); in convertSurfaceFormat()
2987 bld.mkCvt(OP_CVT, TYPE_F32, face, TYPE_S32, face); in handleRDSV()
3035 bld.mkCvt(OP_CVT, TYPE_F32, i->getDef(0), TYPE_U32, i->getDef(0)); in handleRDSV()
3234 bld.mkCvt(OP_CVT, TYPE_U32, coord, TYPE_F32, coord) in calculateSampleOffset()
[all …]
Dnv50_ir_from_nir.cpp1697 mkCvt(OP_CVT, TYPE_U32, srcs[0], TYPE_F32, x)->rnd = ROUND_Z; in visit()
1698 mkCvt(OP_CVT, TYPE_U32, srcs[1], TYPE_F32, y)->rnd = ROUND_Z; in visit()
1809 mkCvt(OP_CVT, TYPE_S32, offs[c], TYPE_F32, offs[c]); in visit()
1912 mkCvt(OP_CVT, TYPE_U32, newDefs[0], TYPE_U8, pred); in visit()
2563 mkCvt(OP_CVT, dType, newDefs[0], dType, getSrc(&insn->src[0]))->rnd = ROUND_NI; in visit()
2639 mkCvt(OP_CVT, TYPE_F16, tmpL, TYPE_F32, getSrc(&insn->src[0])); in visit()
2640 mkCvt(OP_CVT, TYPE_F16, tmpH, TYPE_F32, getSrc(&insn->src[1])); in visit()
2647 Instruction *cvt = mkCvt(OP_CVT, TYPE_F32, newDefs[0], TYPE_F16, getSrc(&insn->src[0])); in visit()
2685 mkCvt(OP_CVT, TYPE_F64, newDefs[0], iType, val0); in visit()
Dnv50_ir_build_util.cpp211 BuildUtil::mkCvt(operation op, in mkCvt() function in nv50_ir::BuildUtil