Home
last modified time | relevance | path

Searched refs:FILE_GPR (Results 1 – 21 of 21) sorted by relevance

/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_emit_gm107.cpp731 case FILE_GPR: in emitMOV()
806 case FILE_GPR: in emitF2F()
849 case FILE_GPR: in emitF2I()
891 case FILE_GPR: in emitI2F()
923 case FILE_GPR: in emitI2I()
975 case FILE_GPR: in emitSEL()
1010 case FILE_GPR: in emitSHFL()
1023 case FILE_GPR: in emitSHFL()
1056 case FILE_GPR: in emitDADD()
1089 case FILE_GPR: in emitDMUL()
[all …]
Dnv50_ir_emit_gv100.cpp108 switch ((src1 < 0) ? FILE_GPR : insn->src(src1 & FA_SRC_MASK).getFile()) { in emitFormA()
109 case FILE_GPR: in emitFormA()
110 switch ((src2 < 0) ? FILE_GPR : insn->src(src2 & FA_SRC_MASK).getFile()) { in emitFormA()
111 case FILE_GPR: in emitFormA()
129 assert((src2 < 0) || insn->src(src2 & FA_SRC_MASK).getFile() == FILE_GPR); in emitFormA()
134 assert((src2 < 0) || insn->src(src2 & FA_SRC_MASK).getFile() == FILE_GPR); in emitFormA()
144 assert(insn->src(src0 & FA_SRC_MASK).getFile() == FILE_GPR); in emitFormA()
300 case FILE_GPR: in emitMOV()
302 case FILE_GPR: in emitMOV()
341 case FILE_GPR: in emitMOV()
[all …]
Dnv50_ir_target_gv100.cpp50 nativeFileMap[FILE_ADDRESS] = FILE_GPR; in initOpInfo()
63 opInfo[i].srcFiles[j] = 1 << (int)FILE_GPR; in initOpInfo()
66 opInfo[i].dstFiles = 1 << (int)FILE_GPR; in initOpInfo()
92 #define SRC_R (1 << FILE_GPR)
490 if ((s == 1 && i->srcExists(2) && i->src(2).getFile() != FILE_GPR) || in insnCanLoad()
491 (s == 2 && i->srcExists(1) && i->src(1).getFile() != FILE_GPR)) { in insnCanLoad()
496 ((s == 0 && i->srcExists(1) && i->src(1).getFile() != FILE_GPR) || in insnCanLoad()
497 (s == 1 && i->srcExists(0) && i->src(0).getFile() != FILE_GPR))) { in insnCanLoad()
Dnv50_ir_target_nv50.cpp152 opInfo[i].srcFiles[j] = 1 << (int)FILE_GPR; in initOpInfo()
155 opInfo[i].dstFiles = 1 << (int)FILE_GPR; in initOpInfo()
206 case FILE_GPR: return 254; // in 16-bit units ** in getFileSize()
230 if (file == FILE_GPR || file == FILE_ADDRESS) in getFileUnit()
297 if (s == 2 && i->src(1).getFile() != FILE_GPR) in insnCanLoad()
311 case FILE_GPR: in insnCanLoad()
Dnv50_ir_target_nvc0.cpp224 nativeFileMap[FILE_ADDRESS] = FILE_GPR; in initOpInfo()
236 opInfo[i].srcFiles[j] = 1 << (int)FILE_GPR; in initOpInfo()
239 opInfo[i].dstFiles = 1 << (int)FILE_GPR; in initOpInfo()
273 case FILE_GPR: return MIN2(gprs, smregs / threads); in getFileSize()
297 if (file == FILE_GPR || file == FILE_ADDRESS || file == FILE_SYSTEM_VALUE || in getFileUnit()
387 if (i->src(k).getFile() != FILE_GPR && in insnCanLoad()
Dnv50_ir_emit_nvc0.cpp421 case FILE_GPR: in emitForm_A()
458 case FILE_GPR: in emitForm_B()
503 if (i->src(s).getFile() == FILE_GPR) { in emitForm_S()
524 assert(src.getFile() == FILE_GPR); in emitShortSrc2()
804 case FILE_GPR: in emitSHLADD()
1007 assert(i->src(0).getFile() == FILE_GPR); in emitSFnOp()
1566 if (i->src(0).getFile() == FILE_GPR) { in emitBAR()
1576 if (i->src(1).getFile() == FILE_GPR) { in emitBAR()
1596 if (i->def(0).getFile() == FILE_GPR) in emitBAR()
1602 if (i->def(1).getFile() == FILE_GPR) in emitBAR()
[all …]
Dnv50_ir_emit_gk110.cpp383 case FILE_GPR: in emitForm_L()
411 case FILE_GPR: in emitForm_C()
453 case FILE_GPR: in emitForm_21()
808 case FILE_GPR: in emitSHLADD()
839 case FILE_GPR: in emitNOT()
1463 if (i->src(0).getFile() == FILE_GPR) { in emitBAR()
1473 if (i->src(1).getFile() == FILE_GPR) { in emitBAR()
1595 case FILE_GPR: in emitSHFL()
1610 case FILE_GPR: in emitSHFL()
1649 } else if (i->def(d).getFile() == FILE_GPR) { in emitVOTE()
[all …]
Dnv50_ir_ra.cpp939 if (regs.restrictedGPR16Range && f == FILE_GPR && (lval->reg.size == 2 || isShortRegVal(lval))) in init()
1511 if (lval->reg.file == FILE_GPR) in selectRegisters()
1545 if (lval->inFile(FILE_GPR) && lval->getInsn() != NULL) { in allocateRegisters()
1551 if (insn->src(0).getFile() != FILE_GPR || in allocateRegisters()
1552 insn->src(1).getFile() != FILE_GPR || in allocateRegisters()
1553 insn->src(2).getFile() != FILE_GPR) in allocateRegisters()
1597 regs.reset(FILE_GPR, true); in allocateRegisters()
1603 prog->maxGPR = std::max(prog->maxGPR, regs.getMaxAssigned(FILE_GPR)); in allocateRegisters()
1733 st->setDef(d, new_LValue(func, FILE_GPR)); in spill()
1778 l->setDef(0, (val = new_LValue(func, FILE_GPR))); in unspill()
[all …]
Dnv50_ir_peephole.cpp205 if (insn->src(1).getFile() != FILE_GPR) in checkSwapSrc01()
1844 sub->src(0).getFile() != FILE_GPR || sub->src(0).mod || in handleABS()
1845 sub->src(1).getFile() != FILE_GPR || sub->src(1).mod) in handleABS()
1879 if (src0->reg.file != FILE_GPR || src1->reg.file != FILE_GPR) in handleADD()
1965 if (src0 != src1 || src0->reg.file != FILE_GPR) in handleMINMAX()
2028 if (src0->reg.file != FILE_GPR || src1->reg.file != FILE_GPR) in handleLOGOP()
2277 assert(insn->srcExists(0) && insn->src(0).getFile() == FILE_GPR); in handleSUCLAMP()
2300 if (add->src(s).getFile() != FILE_GPR || add->src(s).mod != Modifier(0)) in handleSUCLAMP()
2446 if (src0->reg.file != FILE_GPR || src1->reg.file != FILE_GPR) in handleADD()
3015 if (st->getSrc(s)->reg.file != FILE_GPR) in replaceLdFromSt()
[all …]
Dnv50_ir_build_util.cpp189 insn->setDef(0, new_LValue(func, FILE_GPR)); in mkMovToReg()
203 insn->setSrc(0, new_LValue(func, FILE_GPR)); in mkMovFromReg()
656 assert(hi->src(s).getFile() == FILE_GPR); in split64BitOpPostRA()
Dnv50_ir_lowering_nv50.cpp246 r63 = new_LValue(fn, FILE_GPR); in visit()
426 if (i->op != OP_SHL || i->src(0).getFile() != FILE_GPR) in isARL()
445 if (i->op == OP_SHL && i->src(0).getFile() == FILE_GPR) in handleAddrDef()
705 Value *arg = new_LValue(func, FILE_GPR); in visit()
719 Value *tmp = new_LValue(func, FILE_GPR); in loadTexMsInfo()
738 Value *off = new_LValue(func, FILE_ADDRESS), *t = new_LValue(func, FILE_GPR); in loadMsInfo()
805 Value *tx = new_LValue(func, FILE_GPR), *ty = new_LValue(func, FILE_GPR), in handleTEX()
832 LValue *src = new_LValue(func, FILE_GPR); in handleTEX()
846 a2d[c] = new_LValue(func, FILE_GPR); in handleTEX()
1397 i->setDef(0, new_LValue(func, FILE_GPR)); in handleEXPORT()
Dnv50_ir_build_util.h48 inline LValue *getScratch(int size = 4, DataFile = FILE_GPR);
50 inline LValue *getSSA(int size = 4, DataFile = FILE_GPR);
Dnv50_ir_emit_nv50.cpp363 case FILE_GPR: in setSrcFileBits()
468 unsigned int id = (reg->file == FILE_GPR) ? in setSrc()
760 assert(sf == FILE_GPR || df == FILE_GPR); in emitMOV()
2173 i->def(d).rep()->reg.file != FILE_GPR) in getMinEncodingSize()
2179 if (sf != FILE_GPR) in getMinEncodingSize()
Dnv50_ir_lowering_nvc0.cpp77 bld.mkClobber(FILE_GPR, (i->op == OP_DIV) ? 0xe : 0xd, 2); in handleDIV()
106 bld.mkClobber(FILE_GPR, 0x3fc, 2); in handleRCPRSQLib()
468 if (insn->def(d).getFile() != FILE_GPR || in findFirstUsesBB()
478 if (insn->src(s).getFile() != FILE_GPR || in findFirstUsesBB()
693 rZero = new_LValue(fn, FILE_GPR); in visit()
787 if (cvt->src(0).getFile() != FILE_GPR && in replaceCvt()
1025 LValue *layer = new_LValue(func, FILE_GPR); in handleTEX()
1062 LValue *src = new_LValue(func, FILE_GPR); // 0xttxsaaaa in handleTEX()
1376 LValue *src = new_LValue(func, FILE_GPR); // 0xttxsaaaa in handleTXQ()
1430 LValue *t = new_LValue(func, FILE_GPR); in handleTXLQ()
[all …]
Dnv50_ir_inlines.h339 if (reg.file >= FILE_GPR && reg.file <= LAST_REGISTER_FILE) in asLValue()
Dnv50_ir_lowering_gm107.cpp51 if (i->src(0).getFile() == FILE_GPR && !i->srcExists(1)) in handlePFETCH()
Dnv50_ir_lowering_gv100.cpp220 if (i->op == OP_SHL && i->src(0).getFile() == FILE_GPR) { in handleShift()
Dnv50_ir_print.cpp466 case FILE_GPR: in print()
Dnv50_ir_from_tgsi.cpp422 case TGSI_FILE_TEMPORARY: return nv50_ir::FILE_GPR; in translateFile()
4270 tData.setup(TGSI_FILE_TEMPORARY, 0, 0, tSize, 4, 4, FILE_GPR, 0); in Converter()
4272 aData.setup(TGSI_FILE_ADDRESS, 0, 0, aSize, 4, 4, FILE_GPR, 0); in Converter()
4273 oData.setup(TGSI_FILE_OUTPUT, 0, 0, oSize, 4, 4, FILE_GPR, 0); in Converter()
Dnv50_ir.h386 FILE_GPR, enumerator
/third_party/mesa3d/src/freedreno/ir3/
Ddisasm-a3xx.c96 FILE_GPR = 1, enumerator
467 ctx->reg.file = FILE_GPR; in disasm_field_cb()
489 } else if (ctx->reg.file == FILE_GPR) { in disasm_field_cb()