Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_print.cpp590 if (subOp < ARRAY_SIZE(atomSubOpStr)) in print()
591 PRINT("%s ", atomSubOpStr[subOp]); in print()
595 if (subOp < ARRAY_SIZE(ldstSubOpStr)) in print()
596 PRINT("%s ", ldstSubOpStr[subOp]); in print()
599 if (subOp < ARRAY_SIZE(subfmOpStr)) in print()
600 PRINT("%s ", subfmOpStr[subOp]); in print()
603 if (subOp < ARRAY_SIZE(shflOpStr)) in print()
604 PRINT("%s ", shflOpStr[subOp]); in print()
607 if (subOp < ARRAY_SIZE(pixldOpStr)) in print()
608 PRINT("%s ", pixldOpStr[subOp]); in print()
[all …]
Dnv50_ir_emit_gk110.cpp105 void emitLogicOp(const Instruction *, uint8_t subOp);
114 void emitSFnOp(const Instruction *, uint8_t subOp);
556 if (i->subOp == NV50_IR_SUBOP_MADSP_SD) { in emitMADSP()
559 code[1] |= (i->subOp & 0x00f) << 19; // imadp1 in emitMADSP()
560 code[1] |= (i->subOp & 0x0f0) << 20; // imadp2 in emitMADSP()
561 code[1] |= (i->subOp & 0x100) << 11; // imadp3 in emitMADSP()
562 code[1] |= (i->subOp & 0x200) << 15; // imadp3 in emitMADSP()
563 code[1] |= (i->subOp & 0xc00) << 12; // imadp3 in emitMADSP()
639 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) in emitIMUL()
646 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) in emitIMUL()
[all …]
Dnv50_ir_emit_nvc0.cpp111 void emitLogicOp(const Instruction *, uint8_t subOp);
119 void emitSFnOp(const Instruction *, uint8_t subOp);
649 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) in emitUMUL()
776 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) in emitIMAD()
826 if (i->subOp == NV50_IR_SUBOP_MADSP_SD) { in emitMADSP()
829 code[0] |= (i->subOp & 0x00f) << 7; in emitMADSP()
830 code[0] |= (i->subOp & 0x0f0) << 1; in emitMADSP()
831 code[0] |= (i->subOp & 0x100) >> 3; in emitMADSP()
832 code[0] |= (i->subOp & 0x200) >> 2; in emitMADSP()
833 code[1] |= (i->subOp & 0xc00) << 13; in emitMADSP()
[all …]
Dnv50_ir_emit_gm107.cpp790 emitField(0x29, 1, insn->subOp); in emitF2F()
873 emitField(0x29, 2, insn->subOp); in emitI2F()
906 emitField(0x29, 2, insn->subOp); in emitI2I()
950 if (insn->subOp == 1) { in emitSEL()
995 emitField(0x1e, 2, insn->subOp); in emitSHFL()
1403 case OP_RCP: mufu = 4 + 2 * insn->subOp; break; in emitMUFU()
1404 case OP_RSQ: mufu = 5 + 2 * insn->subOp; break; in emitMUFU()
1634 emitField(0x1c, 8, insn->subOp); in emitFSWZADD()
1797 emitField(0x27, 1, insn->subOp == NV50_IR_SUBOP_MUL_HIGH); in emitIMUL()
1802 emitField(0x35, 1, insn->subOp == NV50_IR_SUBOP_MUL_HIGH); in emitIMUL()
[all …]
Dnv50_ir_lowering_nvc0.cpp108 i->subOp = NV50_IR_SUBOP_RCPRSQ_64H; in handleRCPRSQ()
238 hi->subOp |= NV50_IR_SUBOP_SHIFT_HIGH; in handleShift()
536 if (prev->subOp > useVec[i].level) in insertTextureBarriers()
537 prev->subOp = useVec[i].level; in insertTextureBarriers()
542 bar->subOp = useVec[i].level; in insertTextureBarriers()
573 min = MIN2(min, i->subOp); in insertTextureBarriers()
574 max = MIN2(max, i->subOp); in insertTextureBarriers()
617 if (i->subOp >= max) { in insertTextureBarriers()
621 max = i->subOp; in insertTextureBarriers()
622 if (prev && prev->op == OP_TEXBAR && prev->subOp >= max) { in insertTextureBarriers()
[all …]
Dnv50_ir_emit_nv50.cpp111 void emitSFnOp(const Instruction *, uint8_t subOp);
1320 if (i->subOp == 1) { in emitSET()
1487 CodeEmitterNV50::emitSFnOp(const Instruction *i, uint8_t subOp) in emitSFnOp() argument
1498 code[1] = subOp << 29; in emitSFnOp()
1502 assert(subOp == 6 && i->op == OP_EX2); in emitSFnOp()
1712 switch (i->subOp) { in emitPRERETEmu()
1719 assert(i->subOp == (NV50_IR_SUBOP_EMU_PRERET + 2)); in emitPRERETEmu()
1756 if (i->subOp >= NV50_IR_SUBOP_EMU_PRERET) { in emitFlow()
1802 if (i->subOp == NV50_IR_SUBOP_BAR_SYNC) in emitBAR()
1809 uint8_t subOp; in emitATOM() local
[all …]
Dnv50_ir_lowering_gm107.cpp141 add->subOp = qOps[0]; in handleManualTXD()
149 add->subOp = qOps[1]; in handleManualTXD()
226 shfl->subOp = NV50_IR_SUBOP_SHFL_BFLY; in handleDFDX()
228 insn->subOp = qop; in handleDFDX()
Dnv50_ir_peephole.cpp201 if (insn->op == OP_SET && insn->subOp) in checkSwapSrc01()
544 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) { in expr()
550 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) { in expr()
657 if (i->subOp == NV50_IR_SUBOP_EXTBF_REV) in expr()
735 i->subOp = 0; in expr()
768 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) { in expr()
774 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) { in expr()
962 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) { in opnd()
974 i->subOp = 0; in opnd()
982 i->subOp = 0; in opnd()
[all …]
Dnv50_ir_from_tgsi.cpp1717 void handleATOM(Value *dst0[4], DataType, uint16_t subOp);
2940 Converter::handleATOM(Value *dst0[4], DataType ty, uint16_t subOp) in handleATOM() argument
2966 if (subOp == NV50_IR_SUBOP_ATOM_CAS) in handleATOM()
2974 insn->subOp = subOp; in handleATOM()
2985 if (subOp == NV50_IR_SUBOP_ATOM_CAS) in handleATOM()
2994 tex->subOp = subOp; in handleATOM()
3110 insn->subOp = NV50_IR_SUBOP_PIXLD_OFFSET; in handleINTERP()
3246 geni->subOp = tgsi::opcodeToSubOp(tgsi.getOpcode()); in handleInstruction()
3467 ->subOp = tgsi::opcodeToSubOp(tgsi.getOpcode()); in handleInstruction()
3475 mkOp1(op, TYPE_U32, dst0[0], val0)->subOp = NV50_IR_SUBOP_VOTE_ANY; in handleInstruction()
[all …]
Dnv50_ir_lowering_nv50.cpp46 const bool highResult = mul->subOp == NV50_IR_SUBOP_MUL_HIGH; in expandIntegerMUL()
278 pre->subOp = NV50_IR_SUBOP_EMU_PRERET + 0; in handlePRERET()
290 skip->subOp = NV50_IR_SUBOP_EMU_PRERET + 1; in handlePRERET()
291 call->subOp = NV50_IR_SUBOP_EMU_PRERET + 2; in handlePRERET()
473 mul->subOp = add->subOp; in handleMUL()
474 add->subOp = 0; in handleMUL()
1274 i->subOp = NV50_IR_SUBOP_MOV_FINAL; in handleEXPORT()
Dnv50_ir.cpp559 subOp = 0; in init()
749 i->subOp = subOp; in clone()
Dnv50_ir_target_nv50.cpp347 if (i->subOp == NV50_IR_SUBOP_MUL_HIGH && sf == FILE_MEMORY_CONST) in insnCanLoad()
Dnv50_ir_target_nvc0.cpp399 (insn->op != OP_LOAD || insn->subOp != NV50_IR_SUBOP_LDC_IS)) in insnCanLoadOffset()
Dnv50_ir_build_util.cpp267 quadop->subOp = q; in mkQuadop()
Dnv50_ir.h873 uint16_t subOp; // quadop, 1 for mul-high, etc. variable
Dnv50_ir_ra.cpp2110 if (tex->subOp == NV50_IR_SUBOP_ATOM_CAS) in texConstraintGM107()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
DLanaiInstrInfo.td273 multiclass ALUbase<bits<3> subOp, string AsmStr, SDNode OpNode,
278 def LO : InstRI<subOp, (outs GPR:$Rd), (ins GPR:$Rs1, LoExt:$imm16),
282 def HI : InstRI<subOp, (outs GPR:$Rd), (ins GPR:$Rs1, HiExt:$imm16),
288 multiclass ALUarith<bits<3> subOp, string AsmStr, SDNode OpNode,
290 defm I_ : ALUbase<subOp, AsmStr, OpNode, LoExt, HiExt, [], []>;
294 def R : InstRR<subOp, (outs GPR:$Rd), (ins GPR:$Rs1, GPR:$Rs2, pred:$DDDI),
299 multiclass ALUlogic<bits<3> subOp, string AsmStr, SDNode OpNode,
301 defm I_ : ALUbase<subOp, AsmStr, OpNode, LoExt, HiExt,
307 def R : InstRR<subOp, (outs GPR:$Rd), (ins GPR:$Rs1, GPR:$Rs2, pred:$DDDI),
/external/llvm/lib/Target/Lanai/
DLanaiInstrInfo.td275 multiclass ALUbase<bits<3> subOp, string AsmStr, SDNode OpNode,
280 def LO : InstRI<subOp, (outs GPR:$Rd), (ins GPR:$Rs1, LoExt:$imm16),
284 def HI : InstRI<subOp, (outs GPR:$Rd), (ins GPR:$Rs1, HiExt:$imm16),
290 multiclass ALUarith<bits<3> subOp, string AsmStr, SDNode OpNode,
292 defm I_ : ALUbase<subOp, AsmStr, OpNode, LoExt, HiExt, [], []>;
296 def R : InstRR<subOp, (outs GPR:$Rd), (ins GPR:$Rs1, GPR:$Rs2, pred:$DDDI),
301 multiclass ALUlogic<bits<3> subOp, string AsmStr, SDNode OpNode,
303 defm I_ : ALUbase<subOp, AsmStr, OpNode, LoExt, HiExt,
309 def R : InstRR<subOp, (outs GPR:$Rd), (ins GPR:$Rs1, GPR:$Rs2, pred:$DDDI),
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderOperatorTests.cpp1411 const char* subOp = isNormalOp ? "-" : "-="; in init() local
1458 …<< operInfoFunc(subName, subOp, GT, Value(GT, -1.0f, 1.0f), Value(GT, -1.0f, 1.0f), notUsed, 1.… in init()
1459 …<< operInfoFunc(subName, subOp, IGT, Value(IGT, -4.0f, 6.0f), Value(IGT, -6.0f, 5.0f), notUsed, 0.… in init()
1460 …<< operInfoFunc(subName, subOp, IGT, Value(IGT, -2e9f, 2e9f), Value(IGT, -2e9f, 2e9f), notUsed, 4e… in init()
1461 …<< operInfoFunc(subName, subOp, UGT, Value(UGT, 1e2f, 2e2f), Value(UGT, 0.0f, 1e2f), notUsed, 5e… in init()
1462 …<< operInfoFunc(subName, subOp, UGT, Value(UGT, .5e9f, 3.7e9f), Value(UGT, 0.0f, 3.9e9f), notUse… in init()
1463 …<< operInfoFunc(subName, subOp, FV, Value(FV, -1.0f, 1.0f), Value(F, -1.0f, 1.0f), notUsed, 1.… in init()
1464 …<< operInfoFunc(subName, subOp, IV, Value(IV, -4.0f, 6.0f), Value(I, -6.0f, 5.0f), notUsed, 0.… in init()
1465 …<< operInfoFunc(subName, subOp, IV, Value(IV, -2e9f, 2e9f), Value(I, -2e9f, 2e9f), notUsed, 4e… in init()
1466 …<< operInfoFunc(subName, subOp, UV, Value(UV, 1e2f, 2e2f), Value(U, 0.0f, 1e2f), notUsed, 5e… in init()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderOperatorTests.cpp1442 const char* subOp = isNormalOp ? "-" : "-="; in init() local
1489 …<< operInfoFunc(subName, subOp, GT, Value(GT, -1.0f, 1.0f), Value(GT, -1.0f, 1.0f), notUsed, 1.… in init()
1490 …<< operInfoFunc(subName, subOp, IGT, Value(IGT, -4.0f, 6.0f), Value(IGT, -6.0f, 5.0f), notUsed, 0.… in init()
1491 …<< operInfoFunc(subName, subOp, IGT, Value(IGT, -2e9f, 2e9f), Value(IGT, -2e9f, 2e9f), notUsed, 4e… in init()
1492 …<< operInfoFunc(subName, subOp, UGT, Value(UGT, 1e2f, 2e2f), Value(UGT, 0.0f, 1e2f), notUsed, 5e… in init()
1493 …<< operInfoFunc(subName, subOp, UGT, Value(UGT, .5e9f, 3.7e9f), Value(UGT, 0.0f, 3.9e9f), notUse… in init()
1494 …<< operInfoFunc(subName, subOp, FV, Value(FV, -1.0f, 1.0f), Value(F, -1.0f, 1.0f), notUsed, 1.… in init()
1495 …<< operInfoFunc(subName, subOp, IV, Value(IV, -4.0f, 6.0f), Value(I, -6.0f, 5.0f), notUsed, 0.… in init()
1496 …<< operInfoFunc(subName, subOp, IV, Value(IV, -2e9f, 2e9f), Value(I, -2e9f, 2e9f), notUsed, 4e… in init()
1497 …<< operInfoFunc(subName, subOp, UV, Value(UV, 1e2f, 2e2f), Value(U, 0.0f, 1e2f), notUsed, 5e… in init()
[all …]