Home
last modified time | relevance | path

Searched refs:mul1 (Results 1 – 25 of 46) sorted by relevance

12

/third_party/openssl/crypto/bn/asm/
Dsparcv9-mont.pl78 $mul1="%l3";
127 mulx $n0,$acc0,$mul1 ! "t[0]"*n0
128 and $mul1,$mask,$mul1
130 mulx $car1,$mul1,$car1 ! np[0]*"t[0]"*n0
131 mulx $npj,$mul1,$acc1 !prologue! np[1]*"t[0]"*n0
140 mulx $npj,$mul1,$tmp1
159 mulx $npj,$mul1,$tmp1
198 mulx $n0,$acc0,$mul1
199 and $mul1,$mask,$mul1
201 mulx $car1,$mul1,$car1
[all …]
Dx86-mont.pl146 $mul1="mm5";
165 &movd ($mul1,&DWP(0,$ap)); # ap[0]
168 &pmuludq($mul1,$mul0); # ap[0]*bp[0]
169 &movq ($car0,$mul1);
170 &movq ($acc0,$mul1); # I wish movd worked for
173 &pmuludq($mul1,$_n0q); # *=n0
175 &pmuludq($car1,$mul1); # "t[0]"*np[0]*n0
187 &pmuludq($acc1,$mul1); # np[j]*m1
205 &pmuludq($acc1,$mul1); # np[num-1]*m1
225 &movd ($mul1,&DWP(0,$ap)); # ap[0]
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dconfusion_mul_grad_fusion.cc55 AnfNodePtr GetMul0(const FuncGraphPtr &graph, const AnfNodePtr &input2, const AnfNodePtr &mul1) { in GetMul0() argument
68 …auto it = std::find_if(outputs_set.begin(), outputs_set.end(), [&mul1](const std::pair<AnfNodePtr,… in GetMul0()
70 return node_index.first != mul1 && node_index.second == kMul0InputIndex2; in GetMul0()
103 auto mul1 = mul1_anf->cast<CNodePtr>(); in QuitFusion() local
104 MS_EXCEPTION_IF_NULL(mul1); in QuitFusion()
112 if (IsDepend(*graph, mul1->input(1), {mul0})) { in QuitFusion()
121 VectorRef mul1({prim::kPrimMul, input3_, input2_}); in DefinePattern() local
122 VectorRef reduce_sum({prim::kPrimReduceSum, mul1}); in DefinePattern()
135 auto mul1 = reduce_sum->input(1); in Process() local
136 if (IsUsedByOthers(graph, mul1)) { in Process()
[all …]
Dsoftmax_grad_ext_fusion.cc30 VectorRef mul1({prim::kPrimMul, input2_, input1_}); in DefinePattern() local
31 VectorRef mul_grad({prim::kPrimMul, mul1, sub}); in DefinePattern()
39 VectorRef mul1({prim::kPrimMul, input1_, sub}); in DefinePattern() local
40 VectorRef mul_grad({prim::kPrimMul, input2_, mul1}); in DefinePattern()
48 VectorRef mul1({prim::kPrimMul, input1_, sub}); in DefinePattern() local
49 VectorRef mul_grad({prim::kPrimMul, mul1, input2_}); in DefinePattern()
Dadam_apply_one_with_decay_rule.cc51 VectorRef mul1({prim::kPrimMul, mul1_x_, input0_}); in DefinePattern() local
53 VectorRef add0({add0_var_, mul0, mul1}); in DefinePattern()
71 VectorRef mul1({prim::kPrimMul, input0_, mul1_x_}); in DefinePattern() local
73 VectorRef add0({add0_var_, mul0, mul1}); in DefinePattern()
91 VectorRef mul1({prim::kPrimMul, mul1_x_, input0_}); in DefinePattern() local
93 VectorRef add0({add0_var_, mul0, mul1}); in DefinePattern()
111 VectorRef mul1({prim::kPrimMul, mul1_x_, input0_}); in DefinePattern() local
113 VectorRef add0({add0_var_, mul0, mul1}); in DefinePattern()
131 VectorRef mul1({prim::kPrimMul, mul1_x_, input0_}); in DefinePattern() local
133 VectorRef add0({add0_var_, mul0, mul1}); in DefinePattern()
[all …]
Dadam_apply_one_fusion.cc29 VectorRef mul1 = VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex1], input_vars_[kIndex0]}); in DefinePattern() local
31 VectorRef add0 = VectorRef({add0_var_, mul0, mul1}); in DefinePattern()
44 VectorRef mul1 = VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex1], input_vars_[kIndex0]}); in DefinePattern() local
46 VectorRef add0 = VectorRef({add0_var_, mul0, mul1}); in DefinePattern()
59 VectorRef mul1 = VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex1], input_vars_[kIndex0]}); in DefinePattern() local
61 VectorRef add0 = VectorRef({add0_var_, mul0, mul1}); in DefinePattern()
74 VectorRef mul1 = VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex1], input_vars_[kIndex0]}); in DefinePattern() local
76 VectorRef add0 = VectorRef({add0_var_, mul0, mul1}); in DefinePattern()
89 VectorRef mul1 = VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex1], input_vars_[kIndex0]}); in DefinePattern() local
91 VectorRef add0 = VectorRef({add0_var_, mul0, mul1}); in DefinePattern()
[all …]
Dlamb_next_mv_rule.cc123 auto mul1 = VectorRef({prim::kPrimMul, mul1_sub_, input3_}); in DefinePattern() local
127 auto add0 = VectorRef({add0_var_, mul0, mul1}); in DefinePattern()
159 auto mul1 = VectorRef({prim::kPrimMul, input3_, mul1_sub_}); in DefinePattern() local
163 auto add0 = VectorRef({add0_var_, mul0, mul1}); in DefinePattern()
195 auto mul1 = VectorRef({prim::kPrimMul, input3_, mul1_sub_}); in DefinePattern() local
199 auto add0 = VectorRef({add0_var_, mul0, mul1}); in DefinePattern()
231 auto mul1 = VectorRef({prim::kPrimMul, mul1_sub_, input3_}); in DefinePattern() local
235 auto add0 = VectorRef({add0_var_, mul0, mul1}); in DefinePattern()
Dlamb_next_mv_with_decay_rule.cc145 …VectorRef mul1 = VectorRef({prim::kPrimMul, input_vars_[kIndex3], constant_mul_input_vars_[kIndex1… in DefinePattern() local
146 VectorRef add0 = VectorRef({add0_var_, mul0, mul1}); in DefinePattern()
186 …VectorRef mul1 = VectorRef({prim::kPrimMul, constant_mul_input_vars_[kIndex1], input_vars_[kIndex3… in DefinePattern() local
187 VectorRef add0 = VectorRef({add0_var_, mul0, mul1}); in DefinePattern()
227 …VectorRef mul1 = VectorRef({prim::kPrimMul, input_vars_[kIndex3], constant_mul_input_vars_[kIndex1… in DefinePattern() local
228 VectorRef add0 = VectorRef({add0_var_, mul0, mul1}); in DefinePattern()
269 …VectorRef mul1 = VectorRef({prim::kPrimMul, constant_mul_input_vars_[kIndex1], input_vars_[kIndex3… in DefinePattern() local
270 VectorRef add0 = VectorRef({add0_var_, mul0, mul1}); in DefinePattern()
Dlamb_update_with_lr_v2.cc34 VectorRef mul1({prim::kPrimMul, mul0, input_varptr_[kIndex3]}); in DefinePattern() local
36 return VectorRef({prim::kPrimSub, input_varptr_[kIndex4], mul1}); in DefinePattern()
Dfused_batch_norm_fusion.cc256 VectorRef mul1 = VectorRef({prim::kPrimMul, sub1, constant_input1_var_}); in DefinePattern() local
258 VectorRef assign_sub1 = VectorRef({assign_sub1_var_, variable_input1_var_, mul1, monad1_var_}); in DefinePattern()
277 VectorRef mul1 = VectorRef({prim::kPrimMul, sub1, constant_input1_var_}); in DefinePattern() local
279 VectorRef cast3 = VectorRef({prim::kPrimCast, mul1}); in DefinePattern()
302 VectorRef mul1 = VectorRef({prim::kPrimMul, cast1, constant_input1_var_}); in DefinePattern() local
304 VectorRef assign_sub1 = VectorRef({assign_sub1_var_, variable_input1_var_, mul1, monad1_var_}); in DefinePattern()
/third_party/mindspore/tests/ut/python/parallel/
Dtest_reduce_method_info.py87 self.mul1 = P.Mul().shard(strategy1)
92 out = self.mul1(x, y)
114 self.mul1 = P.Mul().shard(strategy1)
119 out = self.mul1(x, y)
141 self.mul1 = P.Mul().shard(strategy1)
146 out = self.mul1(x, y)
168 self.mul1 = P.Mul().shard(strategy1)
173 out = self.mul1(x, y)
195 self.mul1 = P.Mul().shard(strategy1)
199 out = self.mul1(x, y)
[all …]
Dtest_auto_parallel_reduce_method.py61 self.mul1 = P.Mul()
66 out = self.mul1(x, y)
85 self.mul1 = P.Mul()
90 out = self.mul1(x, y)
109 self.mul1 = P.Mul()
114 out = self.mul1(x, y)
Dtest_auto_parallel_star_partial_strategy.py50 self.mul1 = P.Mul()
62 self.mul1.shard(strategy_dict["mul1"])
70 x = self.mul1(inputs, self.weight)
/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/pre_activate/
Dadam_apply_one_fusion_test.py51 mul1 = Mul(mul1_x, input0)
55 add0 = Add(mul0, mul1)
69 mul1 = Mul(mul1_x, input0)
73 add0 = Add(mul0, mul1)
87 mul1 = Mul(mul1_x, input0)
91 add0 = Add(mul0, mul1)
105 mul1 = Mul(mul1_x, input0)
109 add0 = Add(mul0, mul1)
123 mul1 = Mul(mul1_x, input0)
127 add0 = Add(mul0, mul1)
[all …]
Dadam_apply_one_with_decay_rule.py51 mul1 = mul(mul1_x, input0)
53 add0 = add(mul0, mul1)
69 mul1 = mul(input0, mul1_x)
71 add0 = add(mul0, mul1)
87 mul1 = mul(mul1_x, input0)
89 add0 = add(mul0, mul1)
105 mul1 = mul(mul1_x, input0)
107 add0 = add(mul0, mul1)
123 mul1 = mul(mul1_x, input0)
125 add0 = add(mul0, mul1)
[all …]
Dlamb_next_mv_rule_test.py45 mul1 = Mul(constant_mul1_sub, input3)
46 add0 = Add(mul0, mul1)
80 mul1 = Mul(constant_mul1_sub, input3)
81 add0 = Add(mul0, mul1)
104 mul1 = Mul(constant_mul1_sub, input3)
105 add0 = Add(mul0, mul1)
128 mul1 = Mul(constant_mul1_sub, input3)
129 add0 = Add(mul0, mul1)
152 mul1 = Mul(constant_mul1_sub, input3)
153 add0 = Add(mul0, mul1)
[all …]
Dlamb_next_mv_with_decay_rule_test.py44 mul1 = Mul(constant_mul1_sub, input3)
46 add0 = Add(mul0, mul1)
81 mul1 = Mul(constant_mul1_sub, input3)
83 add0 = Add(mul0, mul1)
106 mul1 = Mul(constant_mul1_sub, input3)
108 add0 = Add(mul0, mul1)
131 mul1 = Mul(constant_mul1_sub, input3)
133 add0 = Add(mul0, mul1)
156 mul1 = Mul(constant_mul1_sub, input3)
158 add0 = Add(mul0, mul1)
[all …]
Dsoftmax_grad_ext_fusion.py48 mul1 = Mul(input2, input1)
49 mul_grad = Mul(mul1, sub)
68 mul1 = Mul(input1, sub)
69 mul_grad = Mul(input2, mul1)
88 mul1 = Mul(input1, sub)
89 mul_grad = Mul(mul1, input2)
Dlamb_next_mv_with_decay_v1_rule.py53 mul1 = mul(mul1_sub, input3)
56 add0 = add(mul0, mul1)
88 mul1 = mul(mul1_sub, input3)
91 add0 = add(mul0, mul1)
112 mul1 = mul(mul1_sub, input3)
116 add0 = add(mul0, mul1)
137 mul1 = mul(mul1_sub, input3)
140 add0 = add(mul0, mul1)
Dfused_batch_norm_fusion_test.py58 mul1 = Mul(sub1, constant1)
61 assign_sub1 = AssignSub(var1, mul1, u0)
75 mul1 = Mul(sub1, constant1)
78 assign_sub1 = AssignSub(var1, Cast(mul1, mstype.float32), u0)
92 mul1 = Mul(Cast(sub1, mstype.float32), constant1)
95 assign_sub1 = AssignSub(var1, mul1, u0)
Dconfusion_mul_grad_fusion.py47 mul1 = mul(input3, addn0)
49 output2 = reduce_sum(mul1, axis)
Dlamb_update_with_lr_v2_test.py51 mul1 = Mul(mul0, input3)
52 sub0 = Sub(input4, mul1)
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/simd/
Dgeometric.h72 glm_vec4 const mul1 = _mm_mul_ps(swp1, swp2); in glm_vec4_cross() local
73 glm_vec4 const sub0 = _mm_sub_ps(mul0, mul1); in glm_vec4_cross()
90 glm_vec4 const mul1 = _mm_mul_ps(N, mul0); in glm_vec4_faceforward() local
91 return mul1; in glm_vec4_faceforward()
98 glm_vec4 const mul1 = _mm_mul_ps(mul0, _mm_set1_ps(2.0f)); in glm_vec4_reflect() local
99 glm_vec4 const sub0 = _mm_sub_ps(I, mul1); in glm_vec4_reflect()
107 glm_vec4 const mul1 = _mm_mul_ps(dot0, dot0); in glm_vec4_refract() local
109 glm_vec4 const sub1 = _mm_sub_ps(_mm_set1_ps(1.0f), mul1); in glm_vec4_refract()
/third_party/cmsis/CMSIS/DSP/Source/ComplexMathFunctions/
Darm_cmplx_mult_real_q15.c123 … q31_t mul1, mul2, mul3, mul4; /* Temporary variables to hold intermediate data */ in arm_cmplx_mult_real_q15() local
143 mul1 = (q31_t) ((q15_t) (inA1) * (q15_t) (inB1)); in arm_cmplx_mult_real_q15()
149 mul1 = (q31_t) ((q15_t) inA1 * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15()
155 out1 = (q15_t) __SSAT(mul1 >> 15U, 16); in arm_cmplx_mult_real_q15()
169 mul1 = (q31_t) ((q15_t) (inA1) * (q15_t) (inB1)); in arm_cmplx_mult_real_q15()
175 mul1 = (q31_t) ((q15_t) inA1 * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15()
180 out1 = (q15_t) __SSAT(mul1 >> 15U, 16); in arm_cmplx_mult_real_q15()
/third_party/cmsis/CMSIS/DSP/Source/BasicMathFunctions/
Darm_mult_q15.c114 q31_t mul1, mul2, mul3, mul4; /* Temporary variables */ in arm_mult_q15() local
135 mul1 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1 >> 16)); in arm_mult_q15()
141 out1 = (q15_t) __SSAT(mul1 >> 15, 16); in arm_mult_q15()

12