/third_party/mesa3d/src/nouveau/codegen/ |
D | nv50_ir_emit_gv100.cpp | 218 if (typeSizeof(insn->sType) != 8 && typeSizeof(insn->dType) != 8) in emitF2F() 225 emitField(75, 2, util_logbase2(typeSizeof(insn->dType))); in emitF2F() 232 if (typeSizeof(insn->sType) != 8 && typeSizeof(insn->dType) != 8) in emitF2I() 240 emitField(75, 2, util_logbase2(typeSizeof(insn->dType))); in emitF2I() 241 emitField(72, 1, isSignedType(insn->dType)); in emitF2I() 269 if (typeSizeof(insn->sType) != 8 && typeSizeof(insn->dType) != 8) in emitFRND() 276 emitField(75, 2, util_logbase2(typeSizeof(insn->dType))); in emitFRND() 282 if (typeSizeof(insn->sType) != 8 && typeSizeof(insn->dType) != 8) in emitI2F() 288 emitField(75, 2, util_logbase2(typeSizeof(insn->dType))); in emitI2F() 692 emitField(73, 1, isSignedType(insn->dType)); in emitFLO() [all …]
|
D | nv50_ir_lowering_gv100.cpp | 65 bld.mkOp2(OP_MERGE, i->dType, i->getDef(0), def[0], def[1]); in handleIADD64() 101 bld.mkCmp(OP_SET, (i->op == OP_MIN) ? CC_LT : CC_GT, i->dType, pred, in handleIMNMX() 103 bld.mkOp3(OP_SELP, i->dType, i->getDef(0), i->getSrc(0), i->getSrc(1), pred); in handleIMNMX() 113 bld.mkOp3(OP_MAD, i->dType, i->getDef(0), i->getSrc(0), i->getSrc(1), in handleIMUL() 182 if (isFloatType(i->dType)) { in handleSET() 231 bld.mkOp3(OP_SHF, i->dType, i->getDef(0), src0, src1, src2)->subOp = subOp; in handleShift() 239 bld.mkOp2(OP_ADD, i->dType, i->getDef(0), i->getSrc(0), i->getSrc(1)); in handleSUB() 252 if (i->sType == TYPE_F32 && i->dType != TYPE_F16 && in visit() 284 if (!isFloatType(i->dType)) in visit() 288 if (!isFloatType(i->dType) && i->subOp == NV50_IR_SUBOP_MUL_HIGH) in visit() [all …]
|
D | nv50_ir_emit_gm107.cpp | 831 emitField(0x08, 2, util_logbase2(typeSizeof(insn->dType))); in emitF2F() 871 emitField(0x0c, 1, isSignedType(insn->dType)); in emitF2I() 873 emitField(0x08, 2, util_logbase2(typeSizeof(insn->dType))); in emitF2I() 915 emitField(0x08, 2, util_logbase2(typeSizeof(insn->dType))); in emitI2F() 946 emitField(0x0c, 1, isSignedType(insn->dType)); in emitI2I() 948 emitField(0x08, 2, util_logbase2(typeSizeof(insn->dType))); in emitI2I() 1226 emitField(0x34, 1, insn->dType == TYPE_F32); in emitDSET() 1614 emitField(0x34, 1, insn->dType == TYPE_F32); in emitFSET() 1844 emitField(0x28, 1, isSignedType(insn->dType)); in emitIMUL() 1849 emitField(0x36, 1, isSignedType(insn->dType)); in emitIMUL() [all …]
|
D | nv50_ir_peephole.cpp | 136 if (i->op != OP_MERGE || typeSizeof(i->dType) != 8) in visit() 172 ((typeSizeof(ld->dType) != 4) && (typeSizeof(ld->dType) != 8))) in isImmdLoad() 325 if (insn->op == OP_ADD && !isFloatType(insn->dType)) { in visit() 333 } else if (insn->op == OP_SUB && !isFloatType(insn->dType)) { in visit() 559 DataType type = i->dType; in expr() 580 if (i->dnz && i->dType == TYPE_F32) { in expr() 586 switch (i->dType) { in expr() 610 switch (i->dType) { in expr() 620 switch (i->dType) { in expr() 630 switch (i->dType) { in expr() [all …]
|
D | nv50_ir_from_nir.cpp | 1653 const DataType dType = getDType(insn); in visit() local 1657 loadFrom(FILE_MEMORY_CONST, 0, dType, newDefs[i], 16 * coffset, i, indirect); in visit() 1664 DataType dType = getSType(insn->src[0], false, false); in visit() local 1696 storeTo(insn, FILE_SHADER_OUTPUT, OP_EXPORT, dType, src, idx, i + offset, indirect); in visit() 1737 const DataType dType = getDType(insn); in visit() local 1768 Symbol *sym = mkSymbol(input ? FILE_SHADER_INPUT : FILE_SHADER_OUTPUT, 0, dType, address); in visit() 1771 if (typeSizeof(dType) == 8) { in visit() 1784 … Symbol *sym1 = mkSymbol(input ? FILE_SHADER_INPUT : FILE_SHADER_OUTPUT, 0, dType, address + 4); in visit() 1793 mkOp2(OP_MERGE, dType, newDefs[i], lo, hi); in visit() 1795 Instruction *interp = mkOp1(nvirOp, dType, newDefs[i], sym); in visit() [all …]
|
D | nv50_ir_lowering_helper.cpp | 61 DataType dTy = insn->dType; in handleABS() 85 DataType dTy = insn->dType; in handleCVT() 115 DataType dTy = insn->dType; in handleMAXMIN() 151 DataType dTy = insn->dType; in handleMOV() 179 if (typeSizeof(insn->dType) != 8 || isFloatType(insn->dType)) in handleNEG() 193 DataType dTy = insn->dType; in handleSAT() 210 DataType dTy = insn->dType; in handleSLCT() 244 DataType dTy = insn->dType; in handleLogOp()
|
D | nv50_ir_target_gv100.cpp | 209 if (isFloatType(i->dType)) in getOpInfo() 213 if (isFloatType(i->dType)) { in getOpInfo() 214 if (i->dType == TYPE_F32) in getOpInfo() 252 } else if (isFloatType(i->dType)) { in getOpInfo() 254 if (i->sType == i->dType) in getOpInfo() 281 if (isFloatType(i->dType)) { in getOpInfo() 282 if (i->dType == TYPE_F32) in getOpInfo() 287 if (typeSizeof(i->dType) != 8) in getOpInfo() 308 if (isFloatType(i->dType)) { in getOpInfo() 309 if (i->dType == TYPE_F32) in getOpInfo() [all …]
|
D | nv50_ir_target_nvc0.cpp | 486 if (!isFloatType(insn->dType)) { in isModSupported() 546 if (insn->dType == TYPE_U32) in isSatSupported() 556 return insn->dType == TYPE_F32; in isSatSupported() 577 if (i->dType == TYPE_F64 || i->sType == TYPE_F64) in getLatency() 592 if (i->op == OP_MUL && i->dType != TYPE_F32) in getLatency() 619 if (i->dType == TYPE_F32) { in getThroughput() 646 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput() 669 if (i->dType == TYPE_F64) { in getThroughput() 709 return (a->dType == TYPE_F32 || a->op == OP_ADD || in canDualIssue() 710 b->dType == TYPE_F32 || b->op == OP_ADD); in canDualIssue() [all …]
|
D | nv50_ir_emit_gk110.cpp | 772 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD() 776 if (i->dType == TYPE_S32) in emitISAD() 917 if (i->dType == TYPE_S32) in emitEXTBF() 928 if (i->dType == TYPE_S32) in emitBFIND() 949 if (isSignedType(i->dType)) in emitShift() 1010 switch (i->dType) { in emitMINMAX() 1032 if (i->dType == TYPE_S32) in emitMINMAX() 1053 const bool f2f = isFloatType(i->dType) && isFloatType(i->sType); in emitCVT() 1054 const bool f2i = !isFloatType(i->dType) && isFloatType(i->sType); in emitCVT() 1055 const bool i2f = isFloatType(i->dType) && !isFloatType(i->sType); in emitCVT() [all …]
|
D | nv50_ir_emit_nv50.cpp | 632 if (typeSizeof(i->dType) == 4) in emitLOAD() 641 if (typeSizeof(i->dType) == 4) in emitLOAD() 658 if (typeSizeof(i->dType) == 4) in emitLOAD() 706 emitLoadStoreSizeLG(i->dType, 21 + 32); in emitSTORE() 712 emitLoadStoreSizeLG(i->dType, 21 + 32); in emitSTORE() 720 switch (typeSizeof(i->dType)) { in emitSTORE() 789 code[0] |= (typeSizeof(i->dType) == 2) ? 0 : 0x00008000; in emitMOV() 793 code[0] |= (typeSizeof(i->dType) == 2) ? 0 : 0x00008000; in emitMOV() 797 code[1] = (typeSizeof(i->dType) == 2) ? 0 : 0x04000000; in emitMOV() 950 if (i->dType == TYPE_F64) { in emitMINMAX() [all …]
|
D | nv50_ir_emit_nvc0.cpp | 655 if (i->dType == TYPE_S32) in emitUMUL() 768 if (isSignedType(i->dType)) in emitIMAD() 845 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD() 850 if (i->dType == TYPE_S32) in emitISAD() 938 if (i->dType == TYPE_S32) in emitEXTBF() 949 if (i->dType == TYPE_S32) in emitBFIND() 970 | (isSignedType(i->dType) ? 0x20 : 0x00)); in emitShift() 1033 if (!isFloatType(i->dType)) { in emitMINMAX() 1034 op |= isSignedType(i->dType) ? 0x23 : 0x03; in emitMINMAX() 1037 if (i->dType == TYPE_F64) in emitMINMAX() [all …]
|
D | nv50_ir_target_nv50.cpp | 352 if ((i->op == OP_MUL || i->op == OP_MAD) && !isFloatType(i->dType)) { in insnCanLoad() 362 ldSize = typeSizeof(ld->dType); in insnCanLoad() 471 if (!isFloatType(insn->dType)) { in isModSupported() 520 if (insn->dType != TYPE_F32) in isSatSupported() 553 if (i->dType == TYPE_F32) { in getThroughput() 567 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput() 570 if (i->dType == TYPE_F64) { in getThroughput()
|
D | nv50_ir_target_gm107.cpp | 115 if (insn->dType == TYPE_F64 || insn->sType == TYPE_F64) in isBarrierRequired() 174 !isFloatType(insn->dType)) in isBarrierRequired() 241 if (insn->dType != TYPE_F64) in getLatency()
|
D | nv50_ir_lowering_nvc0.cpp | 69 switch (i->dType) { in handleDIV() 78 bld.mkClobber(FILE_PREDICATE, (i->dType == TYPE_S32) ? 0xf : 0x3, 0); in handleDIV() 121 assert(i->dType == TYPE_F64); in handleRCPRSQ() 241 DataType type = isSignedIntType(lo->dType) ? TYPE_S32 : TYPE_U32; in handleShift() 272 lo->dType = TYPE_U32; in handleShift() 346 if (i->dType == TYPE_F64) in visit() 783 if (cvt->sType != cvt->dType) in replaceCvt() 863 if (typeSizeof(i->sType) == 8 || typeSizeof(i->dType) == 8) { in visit() 1526 stVal = bld.mkOp2v(op, atom->dType, bld.getSSA(), ld->getDef(0), in handleSharedATOMNVE4() 1619 bld.mkOp2(op, atom->dType, bld.getSSA(), ld->getDef(0), in handleSharedATOM() [all …]
|
D | nv50_ir_lowering_nv50.cpp | 333 if (typeSizeof(i->dType) == 8) { in visit() 584 if (mod->dType != TYPE_U32 && mod->dType != TYPE_S32) in handleMOD() 591 bld.mkOp2(OP_DIV, mod->dType, q, mod->getSrc(0), mod->getSrc(1)); in handleMOD() 1169 if (i->dType == TYPE_F32) { in handleSET() 1171 i->dType = TYPE_U32; in handleSET() 1196 bld.mkOp2(OP_UNION, i->dType, i->getDef(0), src0, src1); in handleSLCT() 1201 i->dType = TYPE_U8; in handleSLCT() 1224 bld.mkOp2(OP_UNION, i->dType, i->getDef(0), src0, src1); in handleSELP() 1240 bld.mkStore(OP_EXPORT, i->dType, sym, i->getIndirect(0, 0), i->getSrc(1)); in handleWRSV() 1289 if (i->dType == TYPE_F32) { in handleRDSV() [all …]
|
D | nv50_ir.cpp | 598 dType = sType = TYPE_F32; in Instruction() 608 dType = sType = ty; in Instruction() 747 i = new_Instruction(pol.context(), op, dType); in clone() 1118 cmp->dType = dType; in clone()
|
D | nv50_ir_target.cpp | 380 if ((typeSizeof(i->sType) == 8 || typeSizeof(i->dType) == 8) && in emitBinary() 381 (isFloatType(i->sType) || isFloatType(i->dType))) in emitBinary()
|
D | nv50_ir.h | 913 inline void setType(DataType type) { dType = sType = type; } in setType() 917 dType = dtype; in setType() 948 DataType dType; // destination or defining type variable
|
D | nv50_ir_print.cpp | 732 PRINT("%s%s", dnz ? "dnz " : (ftz ? "ftz " : ""), DataTypeStr[dType]); in print() 753 if (sType != dType) in print()
|
D | nv50_ir_ra.cpp | 1567 if (insn->dType != TYPE_F32) in allocateRegisters() 2105 cst = new_Instruction(func, OP_CONSTRAINT, i->dType); in addConstraint() 2574 for (size = typeSizeof(i->dType), s = 1; size > 0; ++s) { in visit() 2582 if (i->src(0).isIndirect(0) && typeSizeof(i->dType) >= 8) in visit() 2584 if (i->src(0).isIndirect(1) && typeSizeof(i->dType) >= 8) in visit() 2589 Instruction *nop = new_Instruction(func, OP_NOP, i->dType); in visit() 2602 Instruction *nop = new_Instruction(func, OP_NOP, i->dType); in visit()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cSeparateShaderObjsTests.cpp | 1216 … generateUniformFragSrc(std::string& outFragSrc, glu::GLSLVersion glslVersion, glu::DataType dType) in generateUniformFragSrc() argument 1221 if (isDataTypeMatrix(dType) && isDataTypeSquareMatrix(dType)) in generateUniformFragSrc() 1225 else if (isDataTypeMatrix(dType) && !isDataTypeSquareMatrix(dType)) in generateUniformFragSrc() 1236 if (dType == glu::TYPE_INT) in generateUniformFragSrc() 1242 else if (dType == glu::TYPE_UINT) in generateUniformFragSrc() 1248 else if (dType == glu::TYPE_FLOAT) in generateUniformFragSrc() 1387 …pareUniforms(glw::GLuint pipeline, glw::GLuint programA, glw::GLuint programB, glu::DataType dType, in setAndCompareUniforms() argument 1438 if (dType == glu::TYPE_FLOAT) in setAndCompareUniforms() 1454 if (dType == glu::TYPE_INT) in setAndCompareUniforms() 1458 else if (dType == glu::TYPE_UINT) in setAndCompareUniforms() [all …]
|
/third_party/vk-gl-cts/external/vulkan-docs/src/katex/contrib/ |
D | mhchem.min.js | 1 …dType="kv"},"charge or bond":function(t,e){if(t.beginsWithBond){var n=[];return i.concatArray(n,th… property
|
D | mhchem.js | 1600 buffer.dType = 'kv'; 1720 …if (buffer.o && buffer.dType === 'kv' && mhchemParser.patterns.match_('d-oxidation$', buffer.d || … 1721 buffer.dType = 'oxidation'; 1722 } else if (buffer.o && buffer.dType === 'kv' && !buffer.q) { 1723 buffer.dType = undefined; 1734 d: mhchemParser.go(buffer.d, buffer.dType === 'oxidation' ? 'oxidation' : 'bd'), 1735 dType: buffer.dType property 2842 if (buf.dType === 'kv') { 2854 } else if (buf.dType === 'oxidation') {
|
D | mhchem.mjs | 1490 buffer.dType = 'kv'; 1609 …if (buffer.o && buffer.dType === 'kv' && mhchemParser.patterns.match_('d-oxidation$', buffer.d || … 1610 buffer.dType = 'oxidation'; 1611 } else if (buffer.o && buffer.dType === 'kv' && !buffer.q) { 1612 buffer.dType = undefined; 1623 d: mhchemParser.go(buffer.d, buffer.dType === 'oxidation' ? 'oxidation' : 'bd'), 1624 dType: buffer.dType property 2731 if (buf.dType === 'kv') { 2743 } else if (buf.dType === 'oxidation') {
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderCase.cpp | 446 VkImageUsageFlags getMatchingComputeImageUsageFlags (VkDescriptorType dType) in getMatchingComputeImageUsageFlags() argument 448 switch (dType) in getMatchingComputeImageUsageFlags()
|