Home
last modified time | relevance | path

Searched refs:OP_SUB (Results 1 – 25 of 29) sorted by relevance

12

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderMatrixTests.cpp127 OP_SUB, enumerator
182 case OP_SUB: return "-"; in getOperationName()
207 case OP_SUB: return OPERATIONTYPE_BINARY_OPERATOR; in getOperationType()
242 case OP_SUB: return TESTMATRIXTYPE_DEFAULT; in getOperationTestMatrixType()
272 return op == OP_ADD || op == OP_SUB || op == OP_MUL || op == OP_DIV; in isOperationMatrixScalar()
282 return op == OP_ADD || op == OP_SUB || op == OP_MUL || op == OP_DIV || op == OP_COMP_MUL; in isOperationMatrixMatrix()
459 struct Evaluator<OP_SUB, In0Type, In0DataType, In1Type, In1DataType>
602 MAKE_EVAL_CASE(OP_SUB, IN0TYPE, IN0DATATYPE, IN1TYPE, IN1DATATYPE); \ in getEvalFunc()
608 MAKE_EVAL_CASE(OP_SUB, IN0TYPE, IN0DATATYPE, IN1TYPE, IN1DATATYPE); \ in getEvalFunc()
1098 { "sub", "Matrix subtraction tests", OP_SUB, true }, in init()
/third_party/ltp/tools/sparse/sparse-src/
Dsimplify.c658 case OP_SUB: in eval_op()
1510 case OP_SUB: in simplify_const_rightadd()
1513 insn->opcode = OP_SUB; in simplify_const_rightadd()
1546 case OP_SUB: in simplify_constant_rightside()
1598 insn->src1 = eval_op(OP_SUB, size, src1, def->src2); in simplify_const_leftsub()
1602 case OP_SUB: in simplify_const_leftsub()
1604 pseudo_t val = eval_op(OP_SUB, size, src1, def->src1); in simplify_const_leftsub()
1631 case OP_SUB: in simplify_constant_leftside()
1659 case OP_SUB: in simplify_binop_same_args()
1856 return replace_binop(insn, OP_SUB, &insn->src1, src2, &insn->src2, def->src); in simplify_add_one_side()
[all …]
Dcse.c49 case OP_ADD: case OP_SUB: in cse_collect()
191 case OP_SUB: in insn_compare()
Dlinearize.c187 [OP_SUB] = "sub",
1150 int op = expr->op == SPECIAL_INCREMENT ? OP_ADD : OP_SUB; in linearize_inc_dec()
1466 [SPECIAL_SUB_ASSIGN - SPECIAL_BASE] = OP_SUB, in linearize_assignment()
1587 ['+'] = OP_ADD, ['-'] = OP_SUB, in linearize_binop()
2623 insn = alloc_typed_instruction(OP_SUB, &int_ctype); in linearize_isdigit()
Dscheck.c114 case OP_SUB: t = boolector_sub(btor, a, b); break; in binary()
Dexample.c32 [OP_SUB] = "sub",
1408 case OP_SUB: case OP_DIVU: case OP_DIVS: in generate_one_insn()
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_lowering_helper.cpp70 bld.mkOp2(OP_SUB, dTy, neg, bld.mkImm((uint64_t)0), insn->getSrc(0)); in handleABS()
184 insn->op = OP_SUB; in handleNEG()
Dnv50_ir_target_nv50.cpp86 { OP_SUB, 0x3, 0x0, 0x0, 0x8, 0x2, 0x1, 0x1, 0x2 },
121 OP_MOV, OP_ADD, OP_SUB, OP_MUL, OP_MAD, OP_SAD, OP_RCP, OP_LINTERP, in initOpInfo()
487 case OP_SUB: in isModSupported()
Dnv50_ir_target_gm107.cpp237 case OP_SUB: in getLatency()
Dnv50_ir_emit_gk110.cpp663 Modifier(i->op == OP_SUB ? NV50_IR_MOD_NEG : 0); in emitFADD()
681 if (i->op == OP_SUB) code[1] ^= 1 << 27; in emitFADD()
685 if (i->op == OP_SUB) code[1] ^= 1 << 16; in emitFADD()
702 if (i->op == OP_SUB) code[1] ^= 1 << 27; in emitDADD()
706 if (i->op == OP_SUB) code[1] ^= 1 << 16; in emitDADD()
715 if (i->op == OP_SUB) in emitUADD()
2551 case OP_SUB: in emitInstruction()
Dnv50_ir_target_nvc0.cpp103 { OP_SUB, 0x3, 0x3, 0x0, 0x0, 0x2, 0x2 | 0x8 },
511 case OP_SUB: in isModSupported()
Dnv50_ir_peephole.cpp196 insn->op != OP_SUB && insn->op != OP_XMAD) in checkSwapSrc01()
244 if (insn->op == OP_SUB) { in checkSwapSrc01()
333 } else if (insn->op == OP_SUB && !isFloatType(insn->dType)) { in visit()
629 case OP_SUB: in expr()
1193 case OP_SUB: in opnd()
1205 if (i->op == OP_SUB) in opnd()
1248 bld.mkOp2(OP_SUB, TYPE_U32, tB, i->getSrc(0), tA); in opnd()
1288 newi = bld.mkOp2(OP_SUB, TYPE_U32, tD, tB, tA); in opnd()
1513 case OP_SUB: in opnd()
1518 if (si->op != OP_SUB && si->src(0).getImmediate(imm1)) in opnd()
[all …]
Dnv50_ir_from_tgsi.cpp3312 mkOp2(OP_SUB, TYPE_F32, dst0[1], src0, val0); in handleInstruction()
3369 mkOp2v(OP_SUB, TYPE_F32, getSSA(), src1, src2), src0, src2) in handleInstruction()
3385 mkOp2(OP_SUB, TYPE_F32, dst0[c], val0, val1); in handleInstruction()
3387 mkOp2(OP_SUB, TYPE_S32, dst0[c], val1, val0); in handleInstruction()
3410 mkOp2(OP_SUB, TYPE_F32, dst0[c], src0, val0); in handleInstruction()
3986 mkOp2(OP_SUB, dstTy, dst, zero, src0); in handleInstruction()
3998 mkOp2(OP_SUB, dstTy, neg, zero, src0); in handleInstruction()
4034 mkOp2(OP_SUB, TYPE_F64, dst, src0, dst); in handleInstruction()
4176 mkOp2(OP_SUB, TYPE_F32, dstF32, val0, val1); in handleInstruction()
4194 mkOp2(OP_SUB, TYPE_S32, dst0[c], val1, val0); in handleInstruction()
[all …]
Dnv50_ir_emit_nv50.cpp1034 const int neg1 = i->src(1).mod.neg() ^ ((i->op == OP_SUB) ? 1 : 0); in emitFADD()
1068 const int neg1 = i->src(1).mod.neg() ^ ((i->op == OP_SUB) ? 1 : 0); in emitDADD()
1087 const int neg1 = i->src(1).mod.neg() ^ ((i->op == OP_SUB) ? 1 : 0); in emitUADD()
1973 case OP_SUB: in emitInstruction()
Dnv50_ir_emit_nvc0.cpp678 if ((i->op == OP_SUB) != static_cast<bool>(i->src(1).mod.neg())) in emitFADD()
688 if (i->op == OP_SUB) code[0] ^= 1 << 8; in emitFADD()
693 assert(!i->saturate && i->op != OP_SUB && in emitFADD()
713 if (i->op == OP_SUB) in emitDADD()
728 if (i->op == OP_SUB) in emitUADD()
2727 case OP_SUB: in emitInstruction()
Dnv50_ir_lowering_nv50.cpp546 bld.mkOp2(OP_SUB, TYPE_U32, (aRf = bld.getSSA()), a, t); in handleDIV()
558 bld.mkOp2(OP_SUB, TYPE_U32, (m = bld.getSSA()), a, t); in handleDIV()
561 div->op = OP_SUB; in handleDIV()
566 bld.mkOp2(OP_SUB, TYPE_U32, (q = bld.getSSA()), t, s); in handleDIV()
597 mod->op = OP_SUB; in handleMOD()
Dnv50_ir_emit_gm107.cpp1078 if (insn->op == OP_SUB) in emitDADD()
1318 if (insn->op == OP_SUB) in emitFADD()
1330 if (insn->op == OP_SUB) in emitFADD()
1814 if (insn->op == OP_SUB) in emitIADD()
3506 case OP_SUB: in emitInstruction()
Dnv50_ir_lowering_gv100.cpp300 case OP_SUB: in visit()
Dnv50_ir_from_nir.cpp1383 OP_SUB, TYPE_U32, getSSA(), in visit()
2725 mkOp2(OP_SUB, iType, val0, val0, val1); in visit()
2728 mkOp2(OP_SUB, iType, val0, val1, val0); in visit()
2732 mkOp2(OP_SUB, iType, newDefs[0], val0, val1); in visit()
2734 mkOp2(OP_SUB, iType, newDefs[0], val1, val0); in visit()
Dnv50_ir_target_gv100.cpp385 case OP_SUB: return &opInfo_SUB; in getOpInfo()
Dnv50_ir_build_util.cpp613 case OP_SUB: in split64BitOpPostRA()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderMatrixTests.cpp233 OP_SUB, enumerator
298 case OP_SUB: return "-"; in getOperationName()
328 case OP_SUB: return OPERATIONTYPE_BINARY_OPERATOR; in getOperationType()
369 case OP_SUB: return TESTMATRIXTYPE_DEFAULT; in getOperationTestMatrixType()
403 return op == OP_ADD || op == OP_SUB || op == OP_MUL || op == OP_DIV; in isOperationMatrixScalar()
418 return op == OP_ADD || op == OP_SUB || op == OP_MUL || op == OP_DIV || op == OP_COMP_MUL; in isOperationComponentwiseMatrixMatrix()
890 struct Evaluator<OP_SUB, In0DataType, In1DataType>
1139 MAKE_EVAL_CASE(OP_SUB, IN0DATATYPE, IN1DATATYPE); \ in getEvalFunc()
1145 MAKE_EVAL_CASE(OP_SUB, IN0DATATYPE, IN1DATATYPE); \ in getEvalFunc()
1805 { "sub", "Matrix subtraction tests", OP_SUB, true, true }, in init()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderMatrixTests.cpp227 OP_SUB, enumerator
292 case OP_SUB: return "-"; in getOperationName()
322 case OP_SUB: return OPERATIONTYPE_BINARY_OPERATOR; in getOperationType()
363 case OP_SUB: return TESTMATRIXTYPE_DEFAULT; in getOperationTestMatrixType()
397 return op == OP_ADD || op == OP_SUB || op == OP_MUL || op == OP_DIV; in isOperationMatrixScalar()
412 return op == OP_ADD || op == OP_SUB || op == OP_MUL || op == OP_DIV || op == OP_COMP_MUL; in isOperationComponentwiseMatrixMatrix()
884 struct Evaluator<OP_SUB, In0DataType, In1DataType>
1133 MAKE_EVAL_CASE(OP_SUB, IN0DATATYPE, IN1DATATYPE); \ in getEvalFunc()
1139 MAKE_EVAL_CASE(OP_SUB, IN0DATATYPE, IN1DATATYPE); \ in getEvalFunc()
1978 { "sub", "Matrix subtraction tests", OP_SUB, true, true }, in init()
/third_party/ltp/tools/sparse/sparse-src/Documentation/
DIR.rst69 .. op:: OP_SUB
/third_party/ffmpeg/libavcodec/
Dpngdec.c284 #define OP_SUB(x, s, l) ((x) + (s)) in ff_png_filter_row() macro
285 UNROLL_FILTER(OP_SUB); in ff_png_filter_row()

12