/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() 124 add = bld.mkOp2(OP_QUADOP, TYPE_F32, crd[c], crd[c], zero); in handleManualTXD() 131 bld.mkOp2(OP_SHFL, TYPE_F32, tmp, i->dPdx[c].get(), bld.mkImm(l)); in handleManualTXD() 132 add = bld.mkOp2(OP_QUADOP, TYPE_F32, crd[c], tmp, crd[c]); in handleManualTXD() 139 bld.mkOp2(OP_SHFL, TYPE_F32, tmp, i->dPdy[c].get(), bld.mkImm(l)); in handleManualTXD() 140 add = bld.mkOp2(OP_QUADOP, TYPE_F32, crd[c], tmp, crd[c]); in handleManualTXD() 148 src[c] = bld.mkOp1v(OP_ABS, TYPE_F32, bld.getSSA(), crd[c]); in handleManualTXD() 150 bld.mkOp2(OP_MAX, TYPE_F32, val, src[0], src[1]); in handleManualTXD() 151 bld.mkOp2(OP_MAX, TYPE_F32, val, src[2], val); in handleManualTXD() 152 bld.mkOp1(OP_RCP, TYPE_F32, val, val); in handleManualTXD() [all …]
|
D | nv50_ir_from_tgsi.cpp | 634 return nv50_ir::TYPE_F32; in inferSrcType() 659 return nv50_ir::TYPE_F32; in inferDstType() 1761 Instruction *insn = new_Instruction(func, op, TYPE_F32); in interpolate() 2061 mkOp2(OP_MUL, TYPE_F32, dotp, src0, src1); in buildDot() 2066 mkOp3(OP_MAD, TYPE_F32, dotp, src0, src1, dotp); in buildDot() 2142 proj = mkOp1v(OP_RCP, TYPE_F32, getSSA(), proj); in loadProjTexCoords() 2159 proj = mkOp1v(OP_RCP, TYPE_F32, getSSA(), fetchSrc(0, 3)); in loadProjTexCoords() 2163 dst[c] = mkOp2v(OP_MUL, TYPE_F32, getSSA(), src[c], proj); in loadProjTexCoords() 2306 Value *x = mkOp1v(OP_RDSV, TYPE_F32, getScratch(), mkSysVal(SV_POSITION, 0)); in handleFBFETCH() 2307 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() 359 case TYPE_F32: in insnCanLoad() 385 if (i->op == OP_ADD && i->sType == TYPE_F32) { in insnCanLoad() 450 if (insn->sType != TYPE_F32) in isModSupported() 498 if (insn->op == OP_ADD && insn->sType == TYPE_F32) { in isSatSupported() 504 return insn->dType == TYPE_F32; in isSatSupported() 540 if (i->op == OP_MUL && i->dType != TYPE_F32) in getLatency() 567 if (i->dType == TYPE_F32) { in getThroughput() 657 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 | 91 i->setType(TYPE_F32); in handleRCPRSQ() 103 assert(i->sType == TYPE_F32); in handleFTZ() 164 if (i->sType == TYPE_F32 && prog->getType() != Program::TYPE_COMPUTE) in visit() 170 if (i->sType != TYPE_F32) in visit() 691 src[c] = bld.mkOp1v(OP_ABS, TYPE_F32, bld.getSSA(), i->getSrc(c)); in handleTEX() 693 bld.mkOp2(OP_MAX, TYPE_F32, val, src[0], src[1]); in handleTEX() 694 bld.mkOp2(OP_MAX, TYPE_F32, val, src[2], val); in handleTEX() 695 bld.mkOp1(OP_RCP, TYPE_F32, val, val); in handleTEX() 697 i->setSrc(c, bld.mkOp2v(OP_MUL, TYPE_F32, bld.getSSA(), in handleTEX() 772 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() 449 case TYPE_F32: in applyLog2() 464 if (reg.type != TYPE_F32) in compare() 593 dType = sType = TYPE_F32; in Instruction() 902 : Instruction(fn, op, TYPE_F32) in TexInstruction() 1041 : Instruction(fn, op, TYPE_F32) in CmpInstruction()
|
D | nv50_ir_peephole.cpp | 449 case TYPE_F32: in applyTo() 530 if (i->dnz && i->dType == TYPE_F32) { in expr() 537 case TYPE_F32: in expr() 561 case TYPE_F32: res.data.f32 = a->data.f32 / b->data.f32; break; in expr() 571 case TYPE_F32: res.data.f32 = a->data.f32 + b->data.f32; break; in expr() 581 case TYPE_F32: res.data.f32 = a->data.f32 - b->data.f32; break; in expr() 591 case TYPE_F32: res.data.f32 = pow(a->data.f32, b->data.f32); break; in expr() 599 case TYPE_F32: res.data.f32 = MAX2(a->data.f32, b->data.f32); break; in expr() 609 case TYPE_F32: res.data.f32 = MIN2(a->data.f32, b->data.f32); break; in expr() 756 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 | 207 return imm && (imm->reg.data.u32 & ((ty == TYPE_F32) ? 0xfff : 0xfff00000)); in isLIMM() 330 if (i->sType == TYPE_F32) { in setShortImmediate() 489 assert(!isLIMM(i->src(1), TYPE_F32)); in emitFMAD() 558 if (isLIMM(i->src(1), TYPE_F32)) { in emitFMUL() 637 if (isLIMM(i->src(1), TYPE_F32)) { in emitFADD() 977 case TYPE_F32: in emitMINMAX() 1073 case TYPE_F32: op2 = 0x1d8; op1 = 0xb58; break; in emitSET() 1100 case TYPE_F32: op2 = 0x000; op1 = 0x800; break; in emitSET() 1119 if (i->dType == TYPE_F32) { in emitSET() 1154 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 | 211 return imm && (imm->reg.data.u32 & ((ty == TYPE_F32) ? 0xfff : 0xfff00000)); in isLIMM() 525 if (isLIMM(i->src(1), TYPE_F32)) { in emitFMAD() 582 if (isLIMM(i->src(1), TYPE_F32)) { in emitFMUL() 652 if (isLIMM(i->src(1), TYPE_F32)) { in emitFADD() 1177 if (i->sType == TYPE_F32) in emitSET() 1209 case TYPE_F32: in emitSLCT() 1779 case TYPE_F32: in emitLoadStoreType() 2112 if (i->dType == TYPE_F32) { in emitATOM() 2886 if (i->dType == TYPE_F32) { in getMinEncodingSize()
|
D | nv50_ir_emit_gm107.cpp | 335 if (insn->sType == TYPE_F32 || insn->sType == TYPE_F16) { in emitIMMD() 1156 emitField(0x34, 1, insn->dType == TYPE_F32); in emitDSET() 1527 emitField(0x34, 1, insn->dType == TYPE_F32); in emitFSET() 1962 emitField(0x2c, 1, insn->dType == TYPE_F32); in emitISET() 2441 case TYPE_F32: dType = 3; break; in emitATOM() 2510 case TYPE_F32: dType = 3; break; in emitRED() 2993 case TYPE_F32: type = 3; break; in emitSUREDx()
|
D | nv50_ir_print.cpp | 452 case TYPE_F32: PRINT("%f", reg.data.f32); break; in print()
|
D | nv50_ir.h | 266 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 | ir3_compiler_nir.c | 407 mov->cat1.src_type = TYPE_F32; in create_uniform() 408 mov->cat1.dst_type = TYPE_F32; in create_uniform() 584 instr = ir3_COV(block, instr, TYPE_U32, TYPE_F32); in create_frag_coord() 726 dst[0] = ir3_COV(b, src[0], TYPE_F32, TYPE_S32); in emit_alu() 729 dst[0] = ir3_COV(b, src[0], TYPE_F32, TYPE_U32); in emit_alu() 732 dst[0] = ir3_COV(b, src[0], TYPE_S32, TYPE_F32); in emit_alu() 735 dst[0] = ir3_COV(b, src[0], TYPE_U32, TYPE_F32); in emit_alu() 741 dst[0] = ir3_MOV(b, src[0], TYPE_F32); in emit_alu() 749 dst[0] = ir3_COV(b, ir3_b2n(b, src[0]), TYPE_U32, TYPE_F32); in emit_alu() 786 dst[0]->cat5.type = TYPE_F32; in emit_alu() [all …]
|
D | instr-a3xx.h | 217 TYPE_F32 = 1, enumerator 229 case TYPE_F32: in type_size() 248 return (type == TYPE_F32) || (type == TYPE_F16); in type_float()
|
D | ir3_print.c | 70 [TYPE_F32] = "f32", in print_instr_name()
|
D | ir3.h | 710 case TYPE_F32: return TYPE_F16; in half_type()
|
D | disasm-a3xx.c | 62 [TYPE_F32] = "f32",
|