/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
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() 140 add = bld.mkOp2(OP_QUADOP, TYPE_F32, crd[c], tmp, crd[c]); in handleManualTXD() 147 bld.mkOp3(OP_SHFL, TYPE_F32, tmp, i->dPdy[c].get(), lane, quad); in handleManualTXD() 148 add = bld.mkOp2(OP_QUADOP, TYPE_F32, crd[c], tmp, crd[c]); in handleManualTXD() 156 src[c] = bld.mkOp1v(OP_ABS, TYPE_F32, bld.getSSA(), 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() [all …]
|
D | nv50_ir_from_tgsi.cpp | 692 return nv50_ir::TYPE_F32; in inferSrcType() 725 return nv50_ir::TYPE_F32; in inferDstType() 1888 Instruction *insn = new_Instruction(func, op, TYPE_F32); in interpolate() 2249 mkOp2(OP_MUL, TYPE_F32, dotp, src0, src1) in buildDot() 2255 mkOp3(OP_MAD, TYPE_F32, dotp, src0, src1, dotp) in buildDot() 2342 proj = mkOp1v(OP_RCP, TYPE_F32, getSSA(), proj); in loadProjTexCoords() 2359 proj = mkOp1v(OP_RCP, TYPE_F32, getSSA(), fetchSrc(0, 3)); in loadProjTexCoords() 2363 dst[c] = mkOp2v(OP_MUL, TYPE_F32, getSSA(), src[c], proj); in loadProjTexCoords() 2511 Value *x = mkOp1v(OP_RDSV, TYPE_F32, getScratch(), mkSysVal(SV_POSITION, 0)); in handleFBFETCH() 2512 Value *y = mkOp1v(OP_RDSV, TYPE_F32, getScratch(), mkSysVal(SV_POSITION, 1)); in handleFBFETCH() [all …]
|
D | nv50_ir_target_nvc0.cpp | 194 opInfo[i].srcTypes = 1 << (int)TYPE_F32; in initOpInfo() 195 opInfo[i].dstTypes = 1 << (int)TYPE_F32; in initOpInfo() 364 case TYPE_F32: in insnCanLoad() 384 if (i->op == OP_ADD && i->sType == TYPE_F32) { in insnCanLoad() 449 if (insn->sType != TYPE_F32) in isModSupported() 497 if (insn->op == OP_ADD && insn->sType == TYPE_F32) { in isSatSupported() 503 return insn->dType == TYPE_F32; in isSatSupported() 539 if (i->op == OP_MUL && i->dType != TYPE_F32) in getLatency() 566 if (i->dType == TYPE_F32) { in getThroughput() 656 return (a->dType == TYPE_F32 || a->op == OP_ADD || in canDualIssue() [all …]
|
D | nv50_ir_lowering_nv50.cpp | 499 bld.mkCvt(OP_CVT, TYPE_F32, af, ty, div->getSrc(0)); in handleDIV() 500 bld.mkCvt(OP_CVT, TYPE_F32, bf, ty, div->getSrc(1)); in handleDIV() 514 bf = bld.mkOp1v(OP_RCP, TYPE_F32, bld.getSSA(), bf); in handleDIV() 517 bld.mkOp2(OP_MUL, TYPE_F32, (qf = bld.getSSA()), af, bf)->rnd = ROUND_Z; in handleDIV() 518 bld.mkCvt(OP_CVT, ty, (q0 = bld.getSSA()), TYPE_F32, qf)->rnd = ROUND_Z; in handleDIV() 525 bld.mkCvt(OP_CVT, TYPE_F32, (aR = bld.getSSA()), TYPE_U32, aRf); in handleDIV() 527 bld.mkOp2(OP_MUL, TYPE_F32, (qRf = bld.getSSA()), aR, bf)->rnd = ROUND_Z; in handleDIV() 528 bld.mkCvt(OP_CVT, TYPE_U32, (qR = bld.getSSA()), TYPE_F32, qRf) in handleDIV() 734 src[c] = bld.mkOp1v(OP_ABS, TYPE_F32, bld.getSSA(), i->getSrc(c)); in handleTEX() 736 bld.mkOp2(OP_MAX, TYPE_F32, val, src[0], src[1]); in handleTEX() [all …]
|
D | nv50_ir_lowering_nvc0.cpp | 107 i->setType(TYPE_F32); in handleRCPRSQ() 119 assert(i->sType == TYPE_F32); in handleFTZ() 289 if (i->sType == TYPE_F32 && prog->getType() != Program::TYPE_COMPUTE) in visit() 295 if (i->sType != TYPE_F32) in visit() 830 src[c] = bld.mkOp1v(OP_ABS, TYPE_F32, bld.getSSA(), i->getSrc(c)); in handleTEX() 832 bld.mkOp2(OP_MAX, TYPE_F32, val, src[0], src[1]); in handleTEX() 833 bld.mkOp2(OP_MAX, TYPE_F32, val, src[2], val); in handleTEX() 834 bld.mkOp1(OP_RCP, TYPE_F32, val, val); in handleTEX() 836 i->setSrc(c, bld.mkOp2v(OP_MUL, TYPE_F32, bld.getSSA(), in handleTEX() 913 DataType sTy = (i->op == OP_TXF) ? TYPE_U32 : TYPE_F32; in handleTEX() [all …]
|
D | nv50_ir_target_nv50.cpp | 146 opInfo[i].srcTypes = 1 << (int)TYPE_F32; in initOpInfo() 147 opInfo[i].dstTypes = 1 << (int)TYPE_F32; in initOpInfo() 476 if (insn->sType != TYPE_F32) in isModSupported() 504 if (insn->dType != TYPE_F32) in isSatSupported() 537 if (i->dType == TYPE_F32) { in getThroughput()
|
D | nv50_ir_inlines.h | 64 case TYPE_F32: in typeSizeof() 88 case TYPE_F32: in typeSizeofLog2() 116 return flt ? TYPE_F32 : (sgn ? TYPE_S32 : TYPE_U32);
|
D | nv50_ir.cpp | 338 reg.type = TYPE_F32; in ImmediateValue() 399 case TYPE_F32: in isInteger() 416 case TYPE_F32: return reg.data.u32 & (1 << 31); in isNegative() 443 case TYPE_F32: in applyLog2() 458 if (reg.type != TYPE_F32) in compare() 588 dType = sType = TYPE_F32; in Instruction() 897 : Instruction(fn, op, TYPE_F32) in TexInstruction() 1039 : Instruction(fn, op, TYPE_F32) in CmpInstruction()
|
D | nv50_ir_peephole.cpp | 451 case TYPE_F32: in applyTo() 532 if (i->dnz && i->dType == TYPE_F32) { in expr() 539 case TYPE_F32: in expr() 563 case TYPE_F32: res.data.f32 = a->data.f32 / b->data.f32; break; in expr() 573 case TYPE_F32: res.data.f32 = a->data.f32 + b->data.f32; break; in expr() 583 case TYPE_F32: res.data.f32 = a->data.f32 - b->data.f32; break; in expr() 593 case TYPE_F32: res.data.f32 = pow(a->data.f32, b->data.f32); break; in expr() 601 case TYPE_F32: res.data.f32 = MAX2(a->data.f32, b->data.f32); break; in expr() 611 case TYPE_F32: res.data.f32 = MIN2(a->data.f32, b->data.f32); break; in expr() 760 case TYPE_F32: in expr() [all …]
|
D | nv50_ir_emit_nv50.cpp | 585 case TYPE_F32: // fall through in emitLoadStoreSizeLG() 611 case TYPE_F32: in emitLoadStoreSizeCS() 953 case TYPE_F32: code[0] |= 0x80000000; break; in emitMINMAX() 1301 case TYPE_F32: code[0] |= 0x80000000; break; in emitSET() 1371 case TYPE_F32: code[1] = 0xc4400000; break; in emitCVT() 1382 case TYPE_F32: code[1] = 0x8c400000; break; in emitCVT() 1391 case TYPE_F32: code[1] = 0x84400000; break; in emitCVT() 1397 case TYPE_F32: in emitCVT() 1402 case TYPE_F32: code[1] = 0xc4004000; break; in emitCVT() 1415 case TYPE_F32: code[1] = 0x8c004000; break; in emitCVT() [all …]
|
D | nv50_ir_emit_gk110.cpp | 210 return imm && (imm->reg.data.u32 & ((ty == TYPE_F32) ? 0xfff : 0xfff00000)); in isLIMM() 333 if (i->sType == TYPE_F32) { in setShortImmediate() 494 if (isLIMM(i->src(1), TYPE_F32)) { in emitFMAD() 577 if (isLIMM(i->src(1), TYPE_F32)) { in emitFMUL() 656 if (isLIMM(i->src(1), TYPE_F32)) { in emitFADD() 1014 case TYPE_F32: in emitMINMAX() 1113 case TYPE_F32: op2 = 0x1d8; op1 = 0xb58; break; in emitSET() 1140 case TYPE_F32: op2 = 0x000; op1 = 0x800; break; in emitSET() 1159 if (i->dType == TYPE_F32) { in emitSET() 1196 if (i->dType == TYPE_F32) { in emitSLCT() [all …]
|
D | nv50_ir_build_util.cpp | 154 DataType ty = TYPE_F32; in mkInterp() 266 Instruction *quadop = mkOp2(OP_QUADOP, TYPE_F32, def, src0, src1); in mkQuadop() 404 return mkOp1v(OP_MOV, TYPE_F32, dst ? dst : getScratch(), mkImm(f)); in loadImm() 455 sym->reg.type = TYPE_F32; in mkSysVal()
|
D | nv50_ir_emit_nvc0.cpp | 216 return imm && (imm->reg.data.u32 & ((ty == TYPE_F32) ? 0xfff : 0xfff00000)); in isLIMM() 540 if (isLIMM(i->src(1), TYPE_F32)) { in emitFMAD() 597 if (isLIMM(i->src(1), TYPE_F32)) { in emitFMUL() 667 if (isLIMM(i->src(1), TYPE_F32)) { in emitFADD() 1197 if (i->sType == TYPE_F32) in emitSET() 1231 case TYPE_F32: in emitSLCT() 1801 case TYPE_F32: in emitLoadStoreType() 2140 if (i->dType == TYPE_F32) { in emitATOM() 2981 if (i->dType == TYPE_F32) { in getMinEncodingSize()
|
D | nv50_ir_emit_gm107.cpp | 343 if (insn->sType == TYPE_F32 || insn->sType == TYPE_F16) { in emitIMMD() 1179 emitField(0x34, 1, insn->dType == TYPE_F32); in emitDSET() 1566 emitField(0x34, 1, insn->dType == TYPE_F32); in emitFSET() 2004 emitField(0x2c, 1, insn->dType == TYPE_F32); in emitISET() 2524 case TYPE_F32: dType = 3; break; in emitATOM() 2593 case TYPE_F32: dType = 3; break; in emitRED() 3093 case TYPE_F32: type = 3; break; in emitSUREDx()
|
D | nv50_ir_print.cpp | 456 case TYPE_F32: PRINT("%f", reg.data.f32); break; in print()
|
D | nv50_ir.h | 271 TYPE_F32, enumerator
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_group.c | 53 ir3_MOV(instr->block, instr, TYPE_F32); in arr_insert_mov_out() 73 instr->cat1.src_type = TYPE_F32; in arr_insert_mov_in() 74 instr->cat1.dst_type = TYPE_F32; in arr_insert_mov_in() 89 ir3_MOV(instr->block, instr, TYPE_F32); in instr_insert_mov()
|
D | instr-a3xx.h | 221 TYPE_F32 = 1, enumerator 233 case TYPE_F32: in type_size() 252 return (type == TYPE_F32) || (type == TYPE_F16); in type_float()
|
D | ir3_compiler_nir.c | 591 mov->cat1.src_type = TYPE_F32; in create_uniform() 592 mov->cat1.dst_type = TYPE_F32; in create_uniform() 721 instr = ir3_COV(block, instr, TYPE_U32, TYPE_F32); in create_frag_coord() 868 type_t type = (alu->op == nir_op_imov) ? TYPE_U32 : TYPE_F32; in emit_alu() 901 dst[0] = ir3_COV(b, src[0], TYPE_F32, TYPE_S32); in emit_alu() 904 dst[0] = ir3_COV(b, src[0], TYPE_F32, TYPE_U32); in emit_alu() 907 dst[0] = ir3_COV(b, src[0], TYPE_S32, TYPE_F32); in emit_alu() 910 dst[0] = ir3_COV(b, src[0], TYPE_U32, TYPE_F32); in emit_alu() 918 dst[0] = ir3_COV(b, ir3_b2n(b, src[0]), TYPE_U32, TYPE_F32); in emit_alu() 955 dst[0]->cat5.type = TYPE_F32; in emit_alu() [all …]
|
D | ir3_print.c | 70 [TYPE_F32] = "f32", in print_instr_name()
|
D | ir3.h | 781 case TYPE_F32: return TYPE_F16; in half_type()
|
D | disasm-a3xx.c | 62 [TYPE_F32] = "f32",
|