Home
last modified time | relevance | path

Searched defs:src1 (Results 1 – 25 of 348) sorted by relevance

12345678910>>...14

/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/intrinsics/
Dms_simd_neon_instructions.h50 #define MS_MLAQ_F32(src1, src2, src3) vmlaq_f32(src1, src2, src3) argument
61 #define MS_MULQ_F32(src1, src2) vmulq_f32(src1, src2) argument
62 #define MS_MULQ_EPI32(src1, src2) vmulq_s32(src1, src2) argument
65 #define MS_MUL128_F32(src1, src2) vmulq_f32(src1, src2) argument
66 #define MS_MUL128_EPI32(src1, src2) vmulq_s32(src1, src2) argument
67 #define MS_FMADD128_F32(src1, src2, src3) vmlaq_f32(src3, src1, src2) argument
68 #define MS_FSMUL128_F32(src1, src2, src3) vmlsq_f32(src1, src2, src3) argument
69 #define MS_FMSUB128_EPI32(src1, src2, src3) vmlsq_s32(src3, src1, src2) argument
71 #define MS_DIVQ_F32(src1, src2) vdivq_f32(src1, src2) argument
72 #define MS_DIV128_F32(src1, src2) vdivq_f32(src1, src2) argument
[all …]
Dms_simd_sse_instructions.h52 #define MS_MLAQ_F32(src1, src2, src3) _mm_add_ps(src1, _mm_mul_ps(src2, src3)) argument
55 #define MS_STQ_EPI32(src1, src2) _mm_storeu_si128((__m128i *)(src1), src2) argument
56 #define MS_ST128_EPI32(src1, src2) _mm_storeu_si128((__m128i *)(src1), src2) argument
73 #define MS_MULQ_F32(src1, src2) _mm_mul_ps(src1, src2) argument
74 #define MS_MULQ_EPI32(src1, src2) _mm_mullo_epi32(src1, src2) argument
77 #define MS_MUL128_F32(src1, src2) _mm_mul_ps(src1, src2) argument
78 #define MS_MUL128_EPI32(src1, src2) _mm_mullo_epi32(src1, src2) argument
79 #define MS_DIVQ_F32(src1, src2) _mm_div_ps(src1, src2) argument
80 #define MS_DIV128_F32(src1, src2) _mm_div_ps(src1, src2) argument
81 #define MS_MULQ_N_F32(src1, src2) _mm_mul_ps(src1, _mm_set1_ps(src2)) argument
[all …]
Dms_simd_avx512_instructions.h51 #define MS_MLA512_F32(src1, src2, src3) _mm512_fmadd_ps(src2, src3, src1) argument
53 #define MS_ST512_EPI32(src1, src2) _mm512_storeu_si512((__m512i *)(src1), src2) argument
54 #define MS_ST512_HALF_EPI32(src1, src2) _mm256_storeu_si256((__m256i *)(src1), src2) argument
72 #define MS_MUL512_F32(src1, src2) _mm512_mul_ps(src1, src2) argument
73 #define MS_MUL512_EPI32(src1, src2) _mm512_mullo_epi32(src1, src2) argument
74 #define MS_FMADD512_F32(src1, src2, src3) _mm512_fmadd_ps(src1, src2, src3) argument
75 #define MS_FMSUB512_F32(src1, src2, src3) _mm512_fmsub_ps(src1, src2, src3) argument
76 #define MS_FSMUL512_F32(src1, src2, src3) _mm512_fnmadd_ps(src3, src2, src1) // src1 - src2 * src3 argument
77 #define MS_DIV512_F32(src1, src2) _mm512_div_ps(src1, src2) argument
78 #define MS_MUL512_N_F32(src1, src2) _mm512_mul_ps(src1, _mm512_set1_ps(src2)) argument
[all …]
Dms_simd_avx_instructions.h46 #define MS_MLA256_F32(src1, src2, src3) _mm256_fmadd_ps(src2, src3, src1) argument
48 #define MS_ST256_EPI32(src1, src2) _mm256_storeu_si256((__m256i *)(src1), src2) argument
62 #define MS_MUL256_F32(src1, src2) _mm256_mul_ps(src1, src2) argument
63 #define MS_MUL256_EPI32(src1, src2) _mm256_mullo_epi32(src1, src2) argument
64 #define MS_FMADD256_F32(src1, src2, src3) _mm256_fmadd_ps(src1, src2, src3) argument
65 #define MS_FMSUB256_F32(src1, src2, src3) _mm256_fmsub_ps(src1, src2, src3) argument
66 #define MS_FSMUL256_F32(src1, src2, src3) _mm256_fnmadd_ps(src3, src2, src1) // src1 - src2 * src3 argument
67 #define MS_DIV256_F32(src1, src2) _mm256_div_ps(src1, src2) argument
68 #define MS_MUL256_N_F32(src1, src2) _mm256_mul_ps(src1, _mm256_set1_ps(src2)) argument
69 #define MS_MUL256_N_EPI32(src1, src2) _mm256_mullo_epi32(src1, _mm256_set1_epi32(src2)) argument
[all …]
Dms_simd_instructions_fp16.h80 #define MS_DIV_F16(src1, src2) ms_vdiv_f16(src1, src2) argument
81 #define MS_DIVQ_F16(src1, src2) ms_vdivq_f16(src1, src2) argument
82 #define MS_FMAQ_N_F16(src1, src2, src3) vfmaq_f16(src1, src2, vdupq_n_f16(src3)) argument
88 #define MS_DIV_F16(src1, src2) vdiv_f16(src1, src2) argument
89 #define MS_DIVQ_F16(src1, src2) vdivq_f16(src1, src2) argument
90 #define MS_FMAQ_N_F16(src1, src2, src3) vfmaq_n_f16(src1, src2, src3) argument
113 #define MS_CMPGTQ_F16(src1, src2) vcgtq_f16(src1, src2) argument
/third_party/ffmpeg/tests/checkasm/
Dfloat_dsp.c44 static void test_vector_fmul(const float *src0, const float *src1) in test_vector_fmul()
67 static void test_vector_dmul(const double *src0, const double *src1) in test_vector_dmul()
91 static void test_vector_fmul_add(const float *src0, const float *src1, const float *src2) in test_vector_fmul_add()
113 static void test_vector_fmul_scalar(const float *src0, const float *src1) in test_vector_fmul_scalar()
136 static void test_vector_fmul_window(const float *src0, const float *src1, const float *win) in test_vector_fmul_window()
159 static void test_vector_fmac_scalar(const float *src0, const float *src1, const float *src2) in test_vector_fmac_scalar()
184 static void test_vector_dmul_scalar(const double *src0, const double *src1) in test_vector_dmul_scalar()
207 static void test_vector_dmac_scalar(const double *src0, const double *src1, const double *src2) in test_vector_dmac_scalar()
231 static void test_butterflies_float(const float *src0, const float *src1) in test_butterflies_float()
266 static void test_scalarproduct_float(const float *src0, const float *src1) in test_scalarproduct_float()
Dfixed_dsp.c40 static void check_vector_fmul(const int *src0, const int *src1) in check_vector_fmul()
54 static void check_vector_fmul_add(const int *src0, const int *src1, const int *src2) in check_vector_fmul_add()
68 static void check_vector_fmul_window(const int32_t *src0, const int32_t *src1, const int32_t *win) in check_vector_fmul_window()
82 static void check_vector_fmul_window_scaled(const int32_t *src0, const int32_t *src1, const int32_t… in check_vector_fmul_window_scaled()
96 static void check_butterflies(const int *src0, const int *src1) in check_butterflies()
120 static void check_scalarproduct_fixed(const int *src0, const int *src1) in check_scalarproduct_fixed()
Dllviddsp.c50 uint8_t *src1 = av_calloc(width, sizeof(*src1)); in check_add_bytes() local
78 uint8_t *src1 = av_calloc(width, sizeof(*src1)); in check_add_median_pred() local
116 uint8_t *src1 = av_calloc(width, sizeof(*src1)); in check_add_left_pred() local
145 uint16_t *src1 = av_calloc(width, sizeof(*src1)); in check_add_left_pred_16() local
170 uint8_t *src0, *src1; in check_add_gradient_pred() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/fp32_grad/
Dactivation_grad_fp32.c26 int ReluGrad(const float *src0, const float *src1, int length, float *dst) { in ReluGrad()
44 int Relu6Grad(const float *src0, const float *src1, size_t length, float *dst) { in Relu6Grad()
65 int LReluGrad(const float *src0, const float *src1, size_t length, float *dst, float alpha) { in LReluGrad()
72 int SigmoidGrad(const float *src0, const float *src1, size_t length, float *dst) { in SigmoidGrad()
79 int TanhGrad(const float *src0, const float *src1, size_t length, float *dst) { in TanhGrad()
86 int HSwishGrad(const float *src0, const float *src1, size_t length, float *dst) { in HSwishGrad()
94 int HSigmoidGrad(const float *src0, const float *src1, size_t length, float *dst) { in HSigmoidGrad()
102 int EluGrad(const float *src0, const float *src1, size_t length, float *dst, float alpha) { in EluGrad()
109 int GeluGrad(const float *src0, const float *src1, size_t length, float *dst) { in GeluGrad()
117 int SoftplusGrad(const float *src0, const float *src1, int length, float *dst) { in SoftplusGrad()
[all …]
/third_party/ffmpeg/libavfilter/dnn/
Ddnn_backend_native_layer_mathbinary.c31 static float sub(float src0, float src1) in sub()
35 static float add(float src0, float src1) in add()
39 static float mul(float src0, float src1) in mul()
43 static float realdiv(float src0, float src1) in realdiv()
47 static float minimum(float src0, float src1) in minimum()
51 static float floormod(float src0, float src1) in floormod()
70 const float *src1 = input1->data; in math_binary_commutative() local
94 const float *src1 = input1->data; in math_binary_not_commutative() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/intrinsics/avx/
DPostFuncBiasReluC8.c42 __m256 src1 = _mm256_loadu_ps(src); in PostFuncBiasReluC8() local
105 __m256 src1 = _mm256_loadu_ps(src); in PostFuncBiasReluC8() local
138 __m256 src1 = _mm256_loadu_ps(src); in PostFuncBiasReluC8() local
185 __m256 src1 = _mm256_loadu_ps(src); in PostFuncBiasReluC8() local
215 __m256 src1 = _mm256_loadu_ps(src); in PostFuncBiasReluC8() local
249 __m256 src1 = _mm256_loadu_ps(src); in PostFuncBiasReluC8() local
272 __m256 src1 = _mm256_loadu_ps(src); in PostFuncBiasReluC8() local
294 __m256 src1 = _mm256_loadu_ps(src); in PostFuncBiasReluC8() local
314 __m256 src1 = _mm256_loadu_ps(src); in PostFuncBiasReluC8() local
DWinogradPostFuncBiasReluC8.c43 __m256 src1 = _mm256_loadu_ps(src); in WinogradPostFuncBiasReluC8() local
106 __m256 src1 = _mm256_loadu_ps(src); in WinogradPostFuncBiasReluC8() local
140 __m256 src1 = _mm256_loadu_ps(src); in WinogradPostFuncBiasReluC8() local
187 __m256 src1 = _mm256_loadu_ps(src); in WinogradPostFuncBiasReluC8() local
218 __m256 src1 = _mm256_loadu_ps(src); in WinogradPostFuncBiasReluC8() local
252 __m256 src1 = _mm256_loadu_ps(src); in WinogradPostFuncBiasReluC8() local
276 __m256 src1 = _mm256_loadu_ps(src); in WinogradPostFuncBiasReluC8() local
298 __m256 src1 = _mm256_loadu_ps(src); in WinogradPostFuncBiasReluC8() local
319 __m256 src1 = _mm256_loadu_ps(src); in WinogradPostFuncBiasReluC8() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/fp16_grad/
Dactivation_grad_fp16.c28 int ReluFp16Grad(const float16_t *src0, const float16_t *src1, int length, float16_t *dst) { in ReluFp16Grad()
46 int Relu6Fp16Grad(const float16_t *src0, const float16_t *src1, int length, float16_t *dst) { in Relu6Fp16Grad()
67 int LReluFp16Grad(const float16_t *src0, const float16_t *src1, int length, float16_t *dst, float16… in LReluFp16Grad()
83 int SigmoidFp16Grad(const float16_t *src0, const float16_t *src1, int length, float16_t *dst) { in SigmoidFp16Grad()
100 int TanhFp16Grad(const float16_t *src0, const float16_t *src1, int length, float16_t *dst) { in TanhFp16Grad()
107 int HSwishFp16Grad(const float16_t *src0, const float16_t *src1, int length, float16_t *dst) { in HSwishFp16Grad()
115 int HSigmoidFp16Grad(const float16_t *src0, const float16_t *src1, int length, float16_t *dst) { in HSigmoidFp16Grad()
122 int EluFp16Grad(const float16_t *src0, const float16_t *src1, int length, float16_t *dst, float16_t… in EluFp16Grad()
145 int GeluFp16Grad(const float16_t *src0, const float16_t *src1, int length, float16_t *dst) { in GeluFp16Grad()
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/intrinsics/sse/
DWinogradPostFuncBiasReluC4.c43 __m128 src1 = _mm_loadu_ps(src); in WinogradPostFuncBiasReluC4() local
106 __m128 src1 = _mm_loadu_ps(src); in WinogradPostFuncBiasReluC4() local
140 __m128 src1 = _mm_loadu_ps(src); in WinogradPostFuncBiasReluC4() local
187 __m128 src1 = _mm_loadu_ps(src); in WinogradPostFuncBiasReluC4() local
219 __m128 src1 = _mm_loadu_ps(src); in WinogradPostFuncBiasReluC4() local
253 __m128 src1 = _mm_loadu_ps(src); in WinogradPostFuncBiasReluC4() local
278 __m128 src1 = _mm_loadu_ps(src); in WinogradPostFuncBiasReluC4() local
300 __m128 src1 = _mm_loadu_ps(src); in WinogradPostFuncBiasReluC4() local
321 __m128 src1 = _mm_loadu_ps(src); in WinogradPostFuncBiasReluC4() local
DPostFuncBiasReluC8.c34 __m128 src1 = _mm_loadu_ps(src); in PostFuncBiasReluC8() local
67 __m128 src1 = _mm_loadu_ps(src); in PostFuncBiasReluC8() local
90 __m128 src1 = _mm_loadu_ps(src); in PostFuncBiasReluC8() local
/third_party/mesa3d/src/intel/compiler/
Dtest_fs_saturate_propagation.cpp119 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
155 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
192 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
261 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
299 fs_reg src1 = brw_imm_f(1.0f); in TEST_F() local
337 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
375 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
416 fs_reg src1 = brw_imm_f(-2.0f); in TEST_F() local
462 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
504 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
[all …]
Dtest_vec4_cmod_propagation.cpp160 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F() local
196 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F() local
302 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F() local
342 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F() local
381 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F() local
423 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F() local
464 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F() local
500 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F() local
536 src_reg src1 = src_reg(v, glsl_type::int_type); in TEST_F() local
609 src_reg src1 = src_reg(v, glsl_type::vec4_type); in TEST_F() local
[all …]
Dtest_fs_cmod_propagation.cpp128 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
160 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
194 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
291 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
329 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
371 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
410 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
451 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
492 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
530 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() local
[all …]
/third_party/mesa3d/src/compiler/nir/tests/
Dssa_def_bits_used_tests.cpp59 nir_ssa_def *src0, nir_ssa_def *src1) in build_alu_instr()
84 nir_ssa_def *src1 = nir_imm_int(&bld, 0xffffffff); in TEST_F() local
113 nir_ssa_def *src1 = nir_imm_int(&bld, 0xffffffff); in TEST_F() local
141 nir_ssa_def *src1 = nir_imm_ivec4(&bld, in TEST_F() local
172 nir_ssa_def *src1 = nir_imm_ivec4(&bld, in TEST_F() local
203 nir_ssa_def *src1 = nir_imm_ivec4(&bld, in TEST_F() local
234 nir_ssa_def *src1 = nir_imm_ivec4(&bld, in TEST_F() local
/third_party/skia/third_party/externals/angle2/src/image_util/
Dimageformats.cpp31 void L8::average(L8 *dst, const L8 *src1, const L8 *src2) in average()
62 void R8::average(R8 *dst, const R8 *src1, const R8 *src2) in average()
80 void A8::average(A8 *dst, const A8 *src1, const A8 *src2) in average()
100 void L8A8::average(L8A8 *dst, const L8A8 *src1, const L8A8 *src2) in average()
121 void A8L8::average(A8L8 *dst, const A8L8 *src1, const A8L8 *src2) in average()
155 void R8G8::average(R8G8 *dst, const R8G8 *src1, const R8G8 *src2) in average()
191 void R8G8B8::average(R8G8B8 *dst, const R8G8B8 *src1, const R8G8B8 *src2) in average()
228 void B8G8R8::average(B8G8R8 *dst, const B8G8R8 *src1, const B8G8R8 *src2) in average()
250 void R5G6B5::average(R5G6B5 *dst, const R5G6B5 *src1, const R5G6B5 *src2) in average()
275 void B5G6R5::average(B5G6R5 *dst, const B5G6R5 *src1, const B5G6R5 *src2) in average()
[all …]
/third_party/mesa3d/src/imagination/vulkan/pds/
Dpvr_pds_printer.c70 char src1[32]; in pvr_pds_disassemble_instruction_add64() local
94 char src1[32]; in pvr_pds_disassemble_instruction_add32() local
119 char src1[32]; in pvr_pds_disassemble_instruction_sftlp32() local
171 char src1[32]; in pvr_pds_disassemble_instruction_stm() local
226 char src1[32]; in pvr_pds_disassemble_instruction_sftlp64() local
278 char src1[32]; in pvr_pds_disassemble_instruction_cmp() local
386 char src1[PVR_PDS_MAX_INST_STR_LEN]; in pvr_pds_disassemble_instruction_ddmad() local
487 char src1[PVR_PDS_MAX_INST_STR_LEN]; in pvr_pds_disassemble_instruction_mad() local
514 char src1[PVR_PDS_MAX_INST_STR_LEN]; in pvr_pds_disassemble_instruction_dout() local
Dpvr_rogue_pds_encode.h67 uint32_t src1, in pvr_pds_inst_encode_stflp64()
119 uint32_t src1, in pvr_pds_inst_encode_stflp32()
201 uint32_t src1, in pvr_rogue_inst_encode_mad()
230 uint32_t src1, in pvr_pds_inst_encode_add64()
256 uint32_t src1, in pvr_pds_inst_encode_add32()
281 uint32_t src1) in pvr_pds_inst_encode_cmp()
393 uint32_t src1, in pvr_pds_inst_encode_limm()
490 uint32_t src1, in pvr_pds_inst_encode_ddmad()
516 uint32_t src1, in pvr_pds_inst_encode_dout()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DShaderCore.cpp766 void ShaderCore::add(Vector4f &dst, const Vector4f &src0, const Vector4f &src1) in add()
774 void ShaderCore::iadd(Vector4f &dst, const Vector4f &src0, const Vector4f &src1) in iadd()
782 void ShaderCore::sub(Vector4f &dst, const Vector4f &src0, const Vector4f &src1) in sub()
790 void ShaderCore::isub(Vector4f &dst, const Vector4f &src0, const Vector4f &src1) in isub()
798 …void ShaderCore::mad(Vector4f &dst, const Vector4f &src0, const Vector4f &src1, const Vector4f &sr… in mad()
806 …void ShaderCore::imad(Vector4f &dst, const Vector4f &src0, const Vector4f &src1, const Vector4f &s… in imad()
814 void ShaderCore::mul(Vector4f &dst, const Vector4f &src0, const Vector4f &src1) in mul()
822 void ShaderCore::imul(Vector4f &dst, const Vector4f &src0, const Vector4f &src1) in imul()
840 void ShaderCore::div(Vector4f &dst, const Vector4f &src0, const Vector4f &src1) in div()
848 void ShaderCore::idiv(Vector4f &dst, const Vector4f &src0, const Vector4f &src1) in idiv()
[all …]
/third_party/vixl/src/aarch64/
Dlogic-aarch64.cc509 const LogicVRegister& src1, in cmp()
553 const LogicVRegister& src1, in cmp()
564 const LogicVRegister& src1, in cmptst()
578 const LogicVRegister& src1, in add()
608 const LogicVRegister& src1, in add_uint()
637 const LogicVRegister& src1, in addp()
651 const LogicVRegister& src1, in sdiv()
673 const LogicVRegister& src1, in udiv()
694 const LogicVRegister& src1, in mla()
706 const LogicVRegister& src1, in mls()
[all …]
/third_party/ffmpeg/libavutil/
Dfixed_dsp.c51 static void vector_fmul_add_c(int *dst, const int *src0, const int *src1, const int *src2, int len){ in vector_fmul_add_c()
61 static void vector_fmul_reverse_c(int *dst, const int *src0, const int *src1, int len) in vector_fmul_reverse_c()
74 const int32_t *src1, const int32_t *win, in vector_fmul_window_scaled_c()
95 const int32_t *src1, const int32_t *win, in vector_fmul_window_c()
114 static void vector_fmul_c(int *dst, const int *src0, const int *src1, int len) in vector_fmul_c()

12345678910>>...14