Home
last modified time | relevance | path

Searched refs:OP_MUL (Results 1 – 25 of 27) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_target_nvc0.cpp104 { OP_MUL, 0x3, 0x0, 0x0, 0x8, 0x2, 0x2 | 0x8 },
198 OP_ADD, OP_MUL, OP_MAD, OP_FMA, OP_AND, OP_OR, OP_XOR, OP_MAX, OP_MIN, in initOpInfo()
204 OP_ADD, OP_MUL, OP_MAD, OP_FMA, OP_AND, OP_OR, OP_XOR, OP_MAX, OP_MIN in initOpInfo()
558 if (op != OP_MUL) in isPostMultiplySupported()
588 if (i->op == OP_MUL && i->dType != TYPE_F32) in getLatency()
618 case OP_MUL: in getThroughput()
650 case OP_MUL: in getThroughput()
Dnv50_ir_target_nv50.cpp87 { OP_MUL, 0x3, 0x0, 0x0, 0x0, 0x2, 0x1, 0x1, 0x2 },
116 OP_ADD, OP_MUL, OP_MAD, OP_FMA, OP_AND, OP_OR, OP_XOR, OP_MAX, OP_MIN, in initOpInfo()
121 OP_MOV, OP_ADD, OP_SUB, OP_MUL, OP_MAD, OP_SAD, OP_RCP, OP_LINTERP, in initOpInfo()
198 opInfo[OP_MUL].dstMods = NV50_IR_MOD_SAT; in initOpInfo()
345 if ((i->op == OP_MUL || i->op == OP_MAD) && !isFloatType(i->dType)) { in insnCanLoad()
Dnv50_ir_lowering_nv50.cpp93 i[2] = i[3] = bld->mkOp2(OP_MUL, fTy, t[1], a[1], in expandIntegerMUL()
96 i[2] = bld->mkOp2(OP_MUL, fTy, t[0], a[0], in expandIntegerMUL()
467 mul = bld.mkOp2(OP_MUL, add->sType, res, add->getSrc(0), add->getSrc(1)); in handleMUL()
517 bld.mkOp2(OP_MUL, TYPE_F32, (qf = bld.getSSA()), af, bf)->rnd = ROUND_Z; in handleDIV()
522 bld.mkOp2(OP_MUL, TYPE_U32, (t = bld.getSSA()), q0, b)); in handleDIV()
527 bld.mkOp2(OP_MUL, TYPE_F32, (qRf = bld.getSSA()), aR, bf)->rnd = ROUND_Z; in handleDIV()
534 bld.mkOp2(OP_MUL, TYPE_U32, (t = bld.getSSA()), q, b)); in handleDIV()
572 expandIntegerMUL(&bld, bld.mkOp2(OP_MUL, TYPE_U32, m, q, mod->getSrc(1))); in handleMOD()
601 case OP_MUL: in visit()
740 i->setSrc(c, bld.mkOp2v(OP_MUL, TYPE_F32, bld.getSSA(), in handleTEX()
[all …]
Dnv50_ir_target_gm107.cpp173 if ((insn->op == OP_MUL || insn->op == OP_MAD) && in isBarrierRequired()
222 case OP_MUL: in getLatency()
Dnv50_ir_peephole.cpp576 case OP_MUL: in expr()
913 assert(mul2->op == OP_MUL && mul2->dType == TYPE_F32); in tryCollapseChainedMULs()
917 if (!mul2->src(t).mod && insn->op == OP_MUL && insn->dType == TYPE_F32) in tryCollapseChainedMULs()
932 if (prog->getTarget()->isPostMultiplySupported(OP_MUL, f, e)) { in tryCollapseChainedMULs()
955 if (insn->op == OP_MUL && insn->dType == TYPE_F32) in tryCollapseChainedMULs()
958 if (mul2 && prog->getTarget()->isPostMultiplySupported(OP_MUL, f, e)) { in tryCollapseChainedMULs()
974 i->op = OP_MUL; in opnd3()
1077 case OP_MUL: in opnd()
1239 mul = bld.mkOp2(OP_MUL, TYPE_U32, tA, i->getSrc(0), in opnd()
1330 bld.mkOp2v(OP_MUL, i->sType, bld.getSSA(), div, i->getSrc(1))); in opnd()
[all …]
Dnv50_ir_lowering_gv100.cpp279 case OP_MUL: in visit()
407 mul = bld.mkOp2(OP_MUL, TYPE_F32, i->getDef(0), i->getDef(0), i->getSrc(1)); in handlePINTERP()
427 bld.mkOp2(OP_MUL, i->dType, i->getDef(0), i->getSrc(0), bld.mkImm(f)); in handlePRESIN()
Dnv50_ir_from_common.cpp92 res[i] = mkOp2v(OP_MUL, TYPE_F32, getScratch(), clipVtx[c], ucp); in handleUserClipPlanes()
Dnv50_ir_target_gv100.cpp35 OP_ADD, OP_MUL, OP_MAD, OP_FMA, OP_MAX, OP_MIN, in initOpInfo()
317 case OP_MUL: in getOpInfo()
418 case OP_MUL: return true; in isSatSupported()
Dnv50_ir_lowering_nvc0.cpp950 i->setSrc(c, bld.mkOp2v(OP_MUL, TYPE_F32, bld.getSSA(), in handleTEX()
1257 src[c] = bld.mkOp2v(OP_MUL, TYPE_F32, bld.getSSA(), crd[c], val); in handleManualTXD()
1425 bld.mkOp2(OP_MUL, TYPE_F32, i->getDef(def), in handleTXLQ()
2307 …bld.mkOp2(OP_MUL, TYPE_F32, typedDst[i], typedDst[i], bld.loadImm(NULL, 1.0f / ((1 << format->bits… in convertSurfaceFormat()
2309 …bld.mkOp2(OP_MUL, TYPE_F32, typedDst[i], typedDst[i], bld.loadImm(NULL, 1.0f / ((1 << (format->bit… in convertSurfaceFormat()
2417 su->setSrc(0, bld.mkOp2v(OP_MUL, TYPE_U32, bld.getSSA(), src[0], v)); in processSurfaceCoordsNVC0()
2424 su->setSrc(2, bld.mkOp2v(OP_MUL, TYPE_U32, bld.getSSA(), src[2], v)); in processSurfaceCoordsNVC0()
2947 bld.mkOp2(OP_MUL, TYPE_F32, i->getDef(0), i->getDef(0), bld.mkImm(1.0f / 16.0f)); in handleRDSV()
3012 i->op = OP_MUL; in handleDIV()
3024 bld.mkOp2(OP_MUL, i->dType, value, i->getSrc(0), value); in handleMOD()
[all …]
Dnv50_ir_lowering_gm107.cpp162 src[c] = bld.mkOp2v(OP_MUL, TYPE_F32, bld.getSSA(), crd[c], val); in handleManualTXD()
Dnv50_ir_from_tgsi.cpp2179 mkOp2(OP_MUL, TYPE_F32, dotp, src0, src1) in buildDot()
2293 dst[c] = mkOp2v(OP_MUL, TYPE_F32, getSSA(), src[c], proj); in loadProjTexCoords()
3064 mkOp2(OP_MUL, TYPE_F32, offs[c], offs[c], loadImm(NULL, 4096.0f)); in handleINTERP()
3164 if (op == OP_MUL && dstTy == TYPE_F32) in handleInstruction()
3265 mkOp2(OP_MUL, TYPE_F32, dst0[1], dst0[1], src0) in handleInstruction()
3292 mkOp2(OP_MUL, TYPE_F32, dst0[1], src0, src1) in handleInstruction()
Dnv50_ir_emit_nv50.cpp1896 case OP_MUL: in emitInstruction()
2102 if (i->op == OP_MUL && i->rnd != ROUND_N) in getMinEncodingSize()
Dnv50_ir_emit_nvc0.cpp2728 case OP_MUL: in emitInstruction()
3327 if (insn->op == OP_MUL && !isFloatType(insn->dType)) in calcDelay()
3367 if (insn->op == OP_MUL && !isFloatType(insn->dType)) in commitInsn()
Dnv50_ir.h54 OP_MUL, enumerator
Dnv50_ir_from_nir.cpp452 return OP_MUL; in getOperation()
1800 mkOp2(OP_MUL, TYPE_F32, offs[c], offs[c], loadImm(NULL, 4096.0f)); in visit()
2902 return mkOp2v(OP_MUL, TYPE_F32, getScratch(), src, proj); in applyProjection()
Dnv50_ir_emit_gv100.cpp1844 case OP_MUL: in emitInstruction()
/external/deqp/modules/gles2/functional/
Des2fShaderMatrixTests.cpp128 OP_MUL, enumerator
183 case OP_MUL: return "*"; in getOperationName()
208 case OP_MUL: return OPERATIONTYPE_BINARY_OPERATOR; in getOperationType()
243 case OP_MUL: return TESTMATRIXTYPE_DEFAULT; in getOperationTestMatrixType()
272 return op == OP_ADD || op == OP_SUB || op == OP_MUL || op == OP_DIV; in isOperationMatrixScalar()
277 return op == OP_MUL; in isOperationMatrixVector()
282 return op == OP_ADD || op == OP_SUB || op == OP_MUL || op == OP_DIV || op == OP_COMP_MUL; in isOperationMatrixMatrix()
468 struct Evaluator<OP_MUL, In0Type, In0DataType, In1Type, In1DataType>
603 MAKE_EVAL_CASE(OP_MUL, IN0TYPE, IN0DATATYPE, IN1TYPE, IN1DATATYPE); \ in getEvalFunc()
609 MAKE_EVAL_CASE(OP_MUL, IN0TYPE, IN0DATATYPE, IN1TYPE, IN1DATATYPE); \ in getEvalFunc()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderMatrixTests.cpp228 OP_MUL, enumerator
293 case OP_MUL: return "*"; in getOperationName()
323 case OP_MUL: return OPERATIONTYPE_BINARY_OPERATOR; in getOperationType()
364 case OP_MUL: return TESTMATRIXTYPE_DEFAULT; in getOperationTestMatrixType()
397 return op == OP_ADD || op == OP_SUB || op == OP_MUL || op == OP_DIV; in isOperationMatrixScalar()
402 return op == OP_MUL; in isOperationMatrixVector()
407 return op == OP_MUL; in isOperationArithmeticMatrixMatrix()
412 return op == OP_ADD || op == OP_SUB || op == OP_MUL || op == OP_DIV || op == OP_COMP_MUL; in isOperationComponentwiseMatrixMatrix()
897 struct Evaluator<OP_MUL, In0DataType, In1DataType>
1134 MAKE_EVAL_CASE(OP_MUL, IN0DATATYPE, IN1DATATYPE); \ in getEvalFunc()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderMatrixTests.cpp233 OP_MUL, enumerator
298 case OP_MUL: return "*"; in getOperationName()
328 case OP_MUL: return OPERATIONTYPE_BINARY_OPERATOR; in getOperationType()
369 case OP_MUL: return TESTMATRIXTYPE_DEFAULT; in getOperationTestMatrixType()
402 return op == OP_ADD || op == OP_SUB || op == OP_MUL || op == OP_DIV; in isOperationMatrixScalar()
407 return op == OP_MUL; in isOperationMatrixVector()
412 return op == OP_MUL; in isOperationArithmeticMatrixMatrix()
417 return op == OP_ADD || op == OP_SUB || op == OP_MUL || op == OP_DIV || op == OP_COMP_MUL; in isOperationComponentwiseMatrixMatrix()
902 struct Evaluator<OP_MUL, In0DataType, In1DataType>
1139 MAKE_EVAL_CASE(OP_MUL, IN0DATATYPE, IN1DATATYPE); \ in getEvalFunc()
[all …]
/external/mesa3d/docs/relnotes/
D10.1.5.rst58 - nv50/ir: fix constant folding for OP_MUL subop HIGH
/external/lua/src/
Dlopcodes.h191 OP_MUL,/* A B C R(A) := RK(B) * RK(C) */ enumerator
Dluac.c350 case OP_MUL: in PrintCode()
Dlvm.c662 case OP_ADD: case OP_SUB: case OP_MUL: case OP_DIV: case OP_IDIV: in luaV_finishOp()
917 vmcase(OP_MUL) { in luaV_execute()
Dldebug.c516 case OP_ADD: case OP_SUB: case OP_MUL: case OP_MOD: in funcnamefromcode()
/external/clang/include/clang/Basic/
Darm_neon.td329 def OP_MUL : Op<(op "*", $p0, $p1)>;
519 def VMUL : IOpInst<"vmul", "ddd", "csifUcUsUiQcQsQiQfQUcQUsQUi", OP_MUL>;
902 def MUL : IOpInst<"vmul", "ddd", "dQd", OP_MUL>;

12