Home
last modified time | relevance | path

Searched refs:subOp (Results 1 – 24 of 24) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_emit_gv100.cpp226 emitField(60, 2, insn->subOp); // ./.H1/.INVALID2/.INVALID3 in emitF2F()
291 emitField(60, 2, insn->subOp >> 1); in emitI2F()
293 emitField(60, 2, insn->subOp); // ./.B1/.B2/.B3 in emitI2F()
373 emitField(72, 3, insn->subOp); in emitPRMT()
409 if (insn->subOp >= 1) in emitSEL()
410 addInterp(insn->subOp - 1, 0, gv100_selpFlip); in emitSEL()
459 emitField(58, 2, insn->subOp); in emitSHFL()
569 uint8_t subOp = 0; in emitFSWZADD() local
573 uint8_t p = ((insn->subOp >> (i * 2)) & 3); in emitFSWZADD()
576 subOp |= p << (i * 2); in emitFSWZADD()
[all …]
Dnv50_ir_print.cpp665 if (subOp < ARRAY_SIZE(atomSubOpStr)) in print()
666 PRINT("%s ", atomSubOpStr[subOp]); in print()
670 if (subOp < ARRAY_SIZE(ldstSubOpStr)) in print()
671 PRINT("%s ", ldstSubOpStr[subOp]); in print()
674 if (subOp < ARRAY_SIZE(subfmOpStr)) in print()
675 PRINT("%s ", subfmOpStr[subOp]); in print()
678 if (subOp < ARRAY_SIZE(shflOpStr)) in print()
679 PRINT("%s ", shflOpStr[subOp]); in print()
682 if (subOp < ARRAY_SIZE(pixldOpStr)) in print()
683 PRINT("%s ", pixldOpStr[subOp]); in print()
[all …]
Dnv50_ir_emit_gk110.cpp103 void emitLogicOp(const Instruction *, uint8_t subOp);
112 void emitSFnOp(const Instruction *, uint8_t subOp);
558 if (i->subOp == NV50_IR_SUBOP_MADSP_SD) { in emitMADSP()
561 code[1] |= (i->subOp & 0x00f) << 19; // imadp1 in emitMADSP()
562 code[1] |= (i->subOp & 0x0f0) << 20; // imadp2 in emitMADSP()
563 code[1] |= (i->subOp & 0x100) << 11; // imadp3 in emitMADSP()
564 code[1] |= (i->subOp & 0x200) << 15; // imadp3 in emitMADSP()
565 code[1] |= (i->subOp & 0xc00) << 12; // imadp3 in emitMADSP()
641 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) in emitIMUL()
648 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) in emitIMUL()
[all …]
Dnv50_ir_lowering_gv100.cpp110 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) in handleIMUL()
123 uint8_t subOp; in handleLOP2() local
131 case OP_AND: subOp = src0 & src1; break; in handleLOP2()
132 case OP_OR : subOp = src0 | src1; break; in handleLOP2()
133 case OP_XOR: subOp = src0 ^ src1; break; in handleLOP2()
139 bld.mkImm(0))->subOp = subOp; in handleLOP2()
147 bld.mkImm(0))->subOp = (uint8_t)~NV50_IR_SUBOP_LOP3_LUT_SRC1; in handleNOT()
218 uint8_t subOp = i->op == OP_SHL ? NV50_IR_SUBOP_SHF_L : NV50_IR_SUBOP_SHF_R; in handleShift() local
226 subOp |= NV50_IR_SUBOP_SHF_HI; in handleShift()
228 if (i->subOp & NV50_IR_SUBOP_SHIFT_WRAP) in handleShift()
[all …]
Dnv50_ir_emit_nvc0.cpp109 void emitLogicOp(const Instruction *, uint8_t subOp);
117 void emitSFnOp(const Instruction *, uint8_t subOp);
651 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) in emitUMUL()
778 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) in emitIMAD()
828 if (i->subOp == NV50_IR_SUBOP_MADSP_SD) { in emitMADSP()
831 code[0] |= (i->subOp & 0x00f) << 7; in emitMADSP()
832 code[0] |= (i->subOp & 0x0f0) << 1; in emitMADSP()
833 code[0] |= (i->subOp & 0x100) >> 3; in emitMADSP()
834 code[0] |= (i->subOp & 0x200) >> 2; in emitMADSP()
835 code[1] |= (i->subOp & 0xc00) << 13; in emitMADSP()
[all …]
Dnv50_ir_emit_gm107.cpp828 emitField(0x29, 1, insn->subOp); in emitF2F()
911 emitField(0x29, 2, insn->subOp); in emitI2F()
944 emitField(0x29, 2, insn->subOp); in emitI2I()
997 if (insn->subOp >= 1) { in emitSEL()
998 addInterp(insn->subOp - 1, 0, gm107_selpFlip); in emitSEL()
1042 emitField(0x1e, 2, insn->subOp); in emitSHFL()
1450 case OP_RCP: mufu = 4 + 2 * insn->subOp; break; in emitMUFU()
1451 case OP_RSQ: mufu = 5 + 2 * insn->subOp; break; in emitMUFU()
1682 emitField(0x1c, 8, insn->subOp); in emitFSWZADD()
1845 emitField(0x27, 1, insn->subOp == NV50_IR_SUBOP_MUL_HIGH); in emitIMUL()
[all …]
Dnv50_ir_emit_nv50.cpp109 void emitSFnOp(const Instruction *, uint8_t subOp);
646 if (i->subOp == NV50_IR_SUBOP_LOAD_LOCKED) in emitLOAD()
718 if (i->subOp == NV50_IR_SUBOP_STORE_UNLOCKED) in emitSTORE()
1328 if (i->subOp == 1) { in emitSET()
1561 CodeEmitterNV50::emitSFnOp(const Instruction *i, uint8_t subOp) in emitSFnOp() argument
1572 code[1] = subOp << 29; in emitSFnOp()
1576 assert(subOp == 6 && i->op == OP_EX2); in emitSFnOp()
1790 switch (i->subOp) { in emitPRERETEmu()
1797 assert(i->subOp == (NV50_IR_SUBOP_EMU_PRERET + 2)); in emitPRERETEmu()
1834 if (i->subOp >= NV50_IR_SUBOP_EMU_PRERET) { in emitFlow()
[all …]
Dnv50_ir_lowering_nvc0.cpp146 i->subOp = NV50_IR_SUBOP_RCPRSQ_64H; in handleRCPRSQ()
276 hi->subOp |= NV50_IR_SUBOP_SHIFT_HIGH; in handleShift()
317 i->subOp = NV50_IR_SUBOP_EXTBF_REV; in handleBREV()
585 if (prev->subOp > useVec[i].level) in insertTextureBarriers()
586 prev->subOp = useVec[i].level; in insertTextureBarriers()
591 bar->subOp = useVec[i].level; in insertTextureBarriers()
622 min = MIN2(min, i->subOp); in insertTextureBarriers()
623 max = MIN2(max, i->subOp); in insertTextureBarriers()
666 if (i->subOp >= max) { in insertTextureBarriers()
670 max = i->subOp; in insertTextureBarriers()
[all …]
Dnv50_ir_peephole.cpp200 (insn->subOp & NV50_IR_SUBOP_XMAD_CMODE_MASK) == NV50_IR_SUBOP_XMAD_CBCC) in checkSwapSrc01()
202 if (insn->op == OP_XMAD && (insn->subOp & NV50_IR_SUBOP_XMAD_MRG)) in checkSwapSrc01()
209 if (insn->op == OP_SET && insn->subOp) in checkSwapSrc01()
250 uint16_t h1 = (insn->subOp >> 1 & NV50_IR_SUBOP_XMAD_H1(0)) | in checkSwapSrc01()
251 (insn->subOp << 1 & NV50_IR_SUBOP_XMAD_H1(1)); in checkSwapSrc01()
252 insn->subOp = (insn->subOp & ~NV50_IR_SUBOP_XMAD_H1_MASK) | h1; in checkSwapSrc01()
279 if (ld->op == OP_LOAD && ld->subOp == NV50_IR_SUBOP_LOAD_LOCKED) in visit()
592 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) { in expr()
598 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) { in expr()
705 if (i->subOp == NV50_IR_SUBOP_EXTBF_REV) in expr()
[all …]
Dnv50_ir_lowering_gm107.cpp160 add->subOp = qOps[0]; in handleManualTXD()
168 add->subOp = qOps[1]; in handleManualTXD()
245 shfl->subOp = NV50_IR_SUBOP_SHFL_BFLY; in handleDFDX()
247 insn->subOp = qop; in handleDFDX()
Dnv50_ir_target_nvc0.cpp367 (i->subOp & NV50_IR_SUBOP_XMAD_CMODE_MASK) == NV50_IR_SUBOP_XMAD_CBCC) in insnCanLoad()
371 (i->subOp & (NV50_IR_SUBOP_XMAD_PSL | NV50_IR_SUBOP_XMAD_MRG))) in insnCanLoad()
375 i->subOp & NV50_IR_SUBOP_XMAD_H1(s)) in insnCanLoad()
449 (insn->op != OP_LOAD || insn->subOp != NV50_IR_SUBOP_LDC_IS)) in insnCanLoadOffset()
Dnv50_ir_lowering_nv50.cpp64 const bool highResult = mul->subOp == NV50_IR_SUBOP_MUL_HIGH; in expandIntegerMUL()
301 pre->subOp = NV50_IR_SUBOP_EMU_PRERET + 0; in handlePRERET()
313 skip->subOp = NV50_IR_SUBOP_EMU_PRERET + 1; in handlePRERET()
314 call->subOp = NV50_IR_SUBOP_EMU_PRERET + 2; in handlePRERET()
496 mul->subOp = add->subOp; in handleMUL()
497 add->subOp = 0; in handleMUL()
1394 i->subOp = NV50_IR_SUBOP_MOV_FINAL; in handleEXPORT()
1486 ld->subOp = NV50_IR_SUBOP_LOAD_LOCKED; in handleSharedATOM()
1502 if (atom->subOp == NV50_IR_SUBOP_ATOM_EXCH) { in handleSharedATOM()
1505 } else if (atom->subOp == NV50_IR_SUBOP_ATOM_CAS) { in handleSharedATOM()
[all …]
Dnv50_ir_from_nir.cpp1820 ->subOp = 2; in visit()
1821 mkOp1(OP_PIXLD, TYPE_U32, newDefs[0], sample)->subOp = NV50_IR_SUBOP_PIXLD_OFFSET; in visit()
1911 mkOp1(OP_VOTE, TYPE_U32, pred, pred)->subOp = getSubOp(op); in visit()
1919 mkOp1(OP_VOTE, TYPE_U32, newDefs[0], pred)->subOp = NV50_IR_SUBOP_VOTE_ANY; in visit()
1929 mkOp1(OP_VOTE, TYPE_U32, tmp, mkImm(1))->subOp = NV50_IR_SUBOP_VOTE_ANY; in visit()
1931 mkOp1(OP_BFIND, TYPE_U32, tmp, tmp)->subOp = NV50_IR_SUBOP_BFIND_SAMT; in visit()
1937 ->subOp = NV50_IR_SUBOP_SHFL_IDX; in visit()
2072 atom->subOp = getSubOp(op); in visit()
2100 atom->subOp = getSubOp(op); in visit()
2127 atom->subOp = getSubOp(op); in visit()
[all …]
Dnv50_ir_from_tgsi.cpp1705 void handleATOM(Value *dst0[4], DataType, uint16_t subOp);
2928 Converter::handleATOM(Value *dst0[4], DataType ty, uint16_t subOp) in handleATOM() argument
2956 if (subOp == NV50_IR_SUBOP_ATOM_CAS) in handleATOM()
2964 insn->subOp = subOp; in handleATOM()
2976 if (subOp == NV50_IR_SUBOP_ATOM_CAS) in handleATOM()
2985 tex->subOp = subOp; in handleATOM()
3106 ->subOp = 2; in handleINTERP()
3109 insn->subOp = NV50_IR_SUBOP_PIXLD_OFFSET; in handleINTERP()
3222 geni->subOp = tgsi::opcodeToSubOp(tgsi.getOpcode()); in handleInstruction()
3443 ->subOp = tgsi::opcodeToSubOp(tgsi.getOpcode()); in handleInstruction()
[all …]
Dnv50_ir_lowering_helper.cpp134 hi->subOp = NV50_IR_SUBOP_MINMAX_HIGH; in handleMAXMIN()
138 lo->subOp = NV50_IR_SUBOP_MINMAX_LOW; in handleMAXMIN()
Dnv50_ir.cpp570 subOp = 0; in init()
762 i->subOp = subOp; in clone()
Dnv50_ir_target_nv50.cpp358 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH && sf == FILE_MEMORY_CONST) in insnCanLoad()
Dnv50_ir_target_gv100.cpp233 if (!i->defExists(0) && i->subOp < NV50_IR_SUBOP_ATOM_CAS) in getOpInfo()
Dnv50_ir_build_util.cpp269 quadop->subOp = q; in mkQuadop()
Dnv50_ir.h952 uint16_t subOp; // quadop, 1 for mul-high, etc. variable
Dnv50_ir_ra.cpp2384 if (tex->subOp == NV50_IR_SUBOP_ATOM_CAS) in texConstraintGM107()
2586 if (i->op == OP_ATOM && i->subOp == NV50_IR_SUBOP_ATOM_CAS && in visit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiInstrInfo.td272 multiclass ALUbase<bits<3> subOp, string AsmStr, SDNode OpNode,
277 def LO : InstRI<subOp, (outs GPR:$Rd), (ins GPR:$Rs1, LoExt:$imm16),
281 def HI : InstRI<subOp, (outs GPR:$Rd), (ins GPR:$Rs1, HiExt:$imm16),
287 multiclass ALUarith<bits<3> subOp, string AsmStr, SDNode OpNode,
289 defm I_ : ALUbase<subOp, AsmStr, OpNode, LoExt, HiExt, [], []>;
293 def R : InstRR<subOp, (outs GPR:$Rd), (ins GPR:$Rs1, GPR:$Rs2, pred:$DDDI),
298 multiclass ALUlogic<bits<3> subOp, string AsmStr, SDNode OpNode,
300 defm I_ : ALUbase<subOp, AsmStr, OpNode, LoExt, HiExt,
306 def R : InstRR<subOp, (outs GPR:$Rd), (ins GPR:$Rs1, GPR:$Rs2, pred:$DDDI),
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderOperatorTests.cpp1336 const char* subOp = isNormalOp ? "-" : "-="; in init() local
1383 …<< operInfoFunc(subName, subOp, GT, Value(GT, -1.0f, 1.0f), Value(GT, -1.0f, 1.0f), notUsed, 1.… in init()
1384 …<< operInfoFunc(subName, subOp, IGT, Value(IGT, -4.0f, 6.0f), Value(IGT, -6.0f, 5.0f), notUsed, 0.… in init()
1385 …<< operInfoFunc(subName, subOp, IGT, Value(IGT, -2e9f, 2e9f), Value(IGT, -2e9f, 2e9f), notUsed, 4e… in init()
1386 …<< operInfoFunc(subName, subOp, UGT, Value(UGT, 1e2f, 2e2f), Value(UGT, 0.0f, 1e2f), notUsed, 5e… in init()
1387 …<< operInfoFunc(subName, subOp, UGT, Value(UGT, .5e9f, 3.7e9f), Value(UGT, 0.0f, 3.9e9f), notUse… in init()
1388 …<< operInfoFunc(subName, subOp, FV, Value(FV, -1.0f, 1.0f), Value(F, -1.0f, 1.0f), notUsed, 1.… in init()
1389 …<< operInfoFunc(subName, subOp, IV, Value(IV, -4.0f, 6.0f), Value(I, -6.0f, 5.0f), notUsed, 0.… in init()
1390 …<< operInfoFunc(subName, subOp, IV, Value(IV, -2e9f, 2e9f), Value(I, -2e9f, 2e9f), notUsed, 4e… in init()
1391 …<< operInfoFunc(subName, subOp, UV, Value(UV, 1e2f, 2e2f), Value(U, 0.0f, 1e2f), notUsed, 5e… in init()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderOperatorTests.cpp1655 const char* subOp = isNormalOp ? "-" : "-="; local
1702 …<< operInfoFunc(subName, subOp, GT, Value(GT, -1.0f, 1.0f), Value(GT, -1.0f, 1.0f), notUsed, 1.…
1703 …<< operInfoFunc(subName, subOp, IGT, Value(IGT, -4.0f, 6.0f), Value(IGT, -6.0f, 5.0f), notUsed, 0.…
1704 …<< operInfoFunc(subName, subOp, IGT, Value(IGT, -2e9f, 2e9f), Value(IGT, -2e9f, 2e9f), notUsed, 4e…
1705 …<< operInfoFunc(subName, subOp, UGT, Value(UGT, 1e2f, 2e2f), Value(UGT, 0.0f, 1e2f), notUsed, 5e…
1706 …<< operInfoFunc(subName, subOp, UGT, Value(UGT, .5e9f, 3.7e9f), Value(UGT, 0.0f, 3.9e9f), notUse…
1707 …<< operInfoFunc(subName, subOp, FV, Value(FV, -1.0f, 1.0f), Value(F, -1.0f, 1.0f), notUsed, 1.…
1708 …<< operInfoFunc(subName, subOp, IV, Value(IV, -4.0f, 6.0f), Value(I, -6.0f, 5.0f), notUsed, 0.…
1709 …<< operInfoFunc(subName, subOp, IV, Value(IV, -2e9f, 2e9f), Value(I, -2e9f, 2e9f), notUsed, 4e…
1710 …<< operInfoFunc(subName, subOp, UV, Value(UV, 1e2f, 2e2f), Value(U, 0.0f, 1e2f), notUsed, 5e…
[all …]