/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonDepMapAsm2Intrin.td | 14 def: Pat<(int_hexagon_S2_asr_r_p_or DoubleRegs:$src1, DoubleRegs:$src2, IntRegs:$src3), 15 (S2_asr_r_p_or DoubleRegs:$src1, DoubleRegs:$src2, IntRegs:$src3)>, Requires<[HasV5]>; 16 def: Pat<(int_hexagon_S2_vsatwh DoubleRegs:$src1), 17 (S2_vsatwh DoubleRegs:$src1)>, Requires<[HasV5]>; 18 def: Pat<(int_hexagon_M2_mpysu_up IntRegs:$src1, IntRegs:$src2), 19 (M2_mpysu_up IntRegs:$src1, IntRegs:$src2)>, Requires<[HasV5]>; 20 def: Pat<(int_hexagon_M2_mpyud_acc_ll_s0 DoubleRegs:$src1, IntRegs:$src2, IntRegs:$src3), 21 (M2_mpyud_acc_ll_s0 DoubleRegs:$src1, IntRegs:$src2, IntRegs:$src3)>, Requires<[HasV5]>; 22 def: Pat<(int_hexagon_M2_mpyud_acc_ll_s1 DoubleRegs:$src1, IntRegs:$src2, IntRegs:$src3), 23 (M2_mpyud_acc_ll_s1 DoubleRegs:$src1, IntRegs:$src2, IntRegs:$src3)>, Requires<[HasV5]>; [all …]
|
D | HexagonMapAsm2IntrinV65.gen.td | 9 …at<(int_hexagon_A6_vcmpbeq_notany DoubleRegs:$src1, DoubleRegs:$src2), (A6_vcmpbeq_notany DoubleRe… 10 …ef: Pat<(int_hexagon_V6_vasruwuhsat HvxVR:$src1, HvxVR:$src2, IntRegsLow8:$src3), (V6_vasruwuhsat … 11 …at<(int_hexagon_V6_vasruwuhsat_128B HvxVR:$src1, HvxVR:$src2, IntRegsLow8:$src3), (V6_vasruwuhsat … 12 …ef: Pat<(int_hexagon_V6_vasruhubsat HvxVR:$src1, HvxVR:$src2, IntRegsLow8:$src3), (V6_vasruhubsat … 13 …at<(int_hexagon_V6_vasruhubsat_128B HvxVR:$src1, HvxVR:$src2, IntRegsLow8:$src3), (V6_vasruhubsat … 14 …Pat<(int_hexagon_V6_vasruhubrndsat HvxVR:$src1, HvxVR:$src2, IntRegsLow8:$src3), (V6_vasruhubrndsa… 15 …int_hexagon_V6_vasruhubrndsat_128B HvxVR:$src1, HvxVR:$src2, IntRegsLow8:$src3), (V6_vasruhubrndsa… 16 def: Pat<(int_hexagon_V6_vabsb HvxVR:$src1), (V6_vabsb HvxVR:$src1)>, Requires<[HasV65, UseHVX]>; 17 def: Pat<(int_hexagon_V6_vabsb_128B HvxVR:$src1), (V6_vabsb HvxVR:$src1)>, Requires<[HasV65, UseHVX… 18 def: Pat<(int_hexagon_V6_vabsb_sat HvxVR:$src1), (V6_vabsb_sat HvxVR:$src1)>, Requires<[HasV65, Use… [all …]
|
D | HexagonMapAsm2IntrinV62.gen.td | 10 def: Pat<(IntID HvxVR:$src1, IntRegs:$src2), 11 (MI HvxVR:$src1, IntRegs:$src2)>; 12 def: Pat<(!cast<Intrinsic>(IntID#"_128B") HvxVR:$src1, IntRegs:$src2), 13 (MI HvxVR:$src1, IntRegs:$src2)>; 17 def: Pat<(IntID HvxVR:$src1, HvxVR:$src2, IntRegsLow8:$src3), 18 (MI HvxVR:$src1, HvxVR:$src2, IntRegsLow8:$src3)>; 19 def: Pat<(!cast<Intrinsic>(IntID#"_128B") HvxVR:$src1, HvxVR:$src2, 21 (MI HvxVR:$src1, HvxVR:$src2, IntRegsLow8:$src3)>; 25 def: Pat<(IntID HvxVR:$src1, HvxVR:$src2), 26 (MI HvxVR:$src1, HvxVR:$src2)>; [all …]
|
D | HexagonIntrinsicsV60.td | 15 def : Pat < (v16i32 (int_hexagon_V6_lo (v32i32 HvxWR:$src1))), 16 (v16i32 (EXTRACT_SUBREG (v32i32 HvxWR:$src1), vsub_lo)) >; 18 def : Pat < (v16i32 (int_hexagon_V6_hi (v32i32 HvxWR:$src1))), 19 (v16i32 (EXTRACT_SUBREG (v32i32 HvxWR:$src1), vsub_hi)) >; 21 def : Pat < (v32i32 (int_hexagon_V6_lo_128B (v64i32 HvxWR:$src1))), 22 (v32i32 (EXTRACT_SUBREG (v64i32 HvxWR:$src1), vsub_lo)) >; 24 def : Pat < (v32i32 (int_hexagon_V6_hi_128B (v64i32 HvxWR:$src1))), 25 (v32i32 (EXTRACT_SUBREG (v64i32 HvxWR:$src1), vsub_hi)) >; 28 def : Pat <(v512i1 (bitconvert (v16i32 HvxVR:$src1))), 29 (v512i1 (V6_vandvrt(v16i32 HvxVR:$src1), (A2_tfrsi 0x01010101)))>; [all …]
|
D | HexagonIntrinsics.td | 127 def : Pat <(int_hexagon_C2_cmpgei I32:$src1, s32_0ImmPred_timm:$src2), 128 (C2_tfrpr (C2_cmpgti I32:$src1, (SDEC1 s32_0ImmPred:$src2)))>; 130 def : Pat <(int_hexagon_C2_cmpgeui I32:$src1, u32_0ImmPred_timm:$src2), 131 (C2_tfrpr (C2_cmpgtui I32:$src1, (UDEC1 u32_0ImmPred:$src2)))>; 135 def : Pat <(int_hexagon_C2_cmplt I32:$src1, I32:$src2), 136 (C2_tfrpr (C2_cmpgt I32:$src2, I32:$src1))>; 137 def : Pat <(int_hexagon_C2_cmpltu I32:$src1, I32:$src2), 138 (C2_tfrpr (C2_cmpgtu I32:$src2, I32:$src1))>; 145 : Pat <(IntID I32:$src1, I32:$src2, u4_0ImmPred_timm:$src3, u5_0ImmPred_timm:$src4), 146 (OutputInst I32:$src1, I32:$src2, u4_0ImmPred:$src3, [all …]
|
/third_party/ffmpeg/tests/checkasm/ |
D | fixed_dsp.c | 35 src1[i] = sign_extend(rnd(), 24); \ 40 static void check_vector_fmul(const int *src0, const int *src1) in check_vector_fmul() argument 45 declare_func(void, int *dst, const int *src0, const int *src1, int len); in check_vector_fmul() 47 call_ref(ref, src0, src1, BUF_SIZE); in check_vector_fmul() 48 call_new(new, src0, src1, BUF_SIZE); in check_vector_fmul() 51 bench_new(new, src0, src1, BUF_SIZE); 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() argument 59 declare_func(void, int *dst, const int *src0, const int *src1, const int *src2, int len); in check_vector_fmul_add() 61 call_ref(ref, src0, src1, src2, BUF_SIZE); in check_vector_fmul_add() 62 call_new(new, src0, src1, src2, BUF_SIZE); in check_vector_fmul_add() [all …]
|
D | float_dsp.c | 44 static void test_vector_fmul(const float *src0, const float *src1) in test_vector_fmul() argument 50 declare_func(void, float *dst, const float *src0, const float *src1, in test_vector_fmul() 53 call_ref(cdst, src0, src1, LEN); in test_vector_fmul() 54 call_new(odst, src0, src1, LEN); in test_vector_fmul() 56 double t = fabs(src0[i]) + fabs(src1[i]) + fabs(src0[i] * src1[i]) + 1.0; in test_vector_fmul() 64 bench_new(odst, src0, src1, LEN); in test_vector_fmul() 67 static void test_vector_dmul(const double *src0, const double *src1) in test_vector_dmul() argument 73 declare_func(void, double *dst, const double *src0, const double *src1, in test_vector_dmul() 76 call_ref(cdst, src0, src1, LEN); in test_vector_dmul() 77 call_new(odst, src0, src1, LEN); in test_vector_dmul() [all …]
|
D | llviddsp.c | 50 uint8_t *src1 = av_mallocz_array(width, sizeof(uint8_t)); in check_add_bytes() local 53 init_buffer(src0, src1, uint8_t, width); in check_add_bytes() 61 call_new(dst1, src1, width); in check_add_bytes() 64 bench_new(dst1, src1, width); in check_add_bytes() 68 av_free(src1); in check_add_bytes() 78 uint8_t *src1 = av_mallocz_array(width, sizeof(uint8_t)); in check_add_median_pred() local 81 declare_func_emms(AV_CPU_FLAG_MMX, void, uint8_t *dst, const uint8_t *src1, in check_add_median_pred() 85 init_buffer(src0, src1, uint8_t, width); in check_add_median_pred() 96 call_new(dst1, src1, diff1, width, &A1, &B1); in check_add_median_pred() 99 bench_new(dst1, src1, diff1, width, &A1, &B1); in check_add_median_pred() [all …]
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | simplify.c | 352 kill_use(&insn->src1); in kill_insn() 498 replace_pseudo(insn, &insn->src1, src); in replace_with_unop() 546 pseudo_t old_a = in->src1; in replace_insn_pair() 548 pseudo_t old_1 = out->src1; in replace_insn_pair() 551 use_pseudo(in, a, &in->src1); in replace_insn_pair() 553 use_pseudo(out, in->target, &out->src1); in replace_insn_pair() 556 remove_usage(old_a, &in->src1); in replace_insn_pair() 558 remove_usage(old_1, &out->src1); in replace_insn_pair() 629 static pseudo_t eval_op(int op, unsigned size, pseudo_t src1, pseudo_t src2) in eval_op() argument 632 long long left = src1->value; in eval_op() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86InstrXOP.td | 97 (ins VR128:$src1, VR128:$src2), 98 !strconcat(OpcodeStr, "\t{$src2, $src1, $dst|$dst, $src1, $src2}"), 100 (vt128 (OpNode (vt128 VR128:$src1), (vt128 VR128:$src2))))]>, 103 (ins VR128:$src1, i128mem:$src2), 104 !strconcat(OpcodeStr, "\t{$src2, $src1, $dst|$dst, $src1, $src2}"), 106 (vt128 (OpNode (vt128 VR128:$src1), 110 (ins i128mem:$src1, VR128:$src2), 111 !strconcat(OpcodeStr, "\t{$src2, $src1, $dst|$dst, $src1, $src2}"), 113 (vt128 (OpNode (vt128 (load addr:$src1)), 119 (ins VR128:$src1, VR128:$src2), [all …]
|
D | X86InstrShiftRotate.td | 17 let Constraints = "$src1 = $dst", SchedRW = [WriteShift] in { 19 def SHL8rCL : I<0xD2, MRM4r, (outs GR8 :$dst), (ins GR8 :$src1), 21 [(set GR8:$dst, (shl GR8:$src1, CL))]>; 22 def SHL16rCL : I<0xD3, MRM4r, (outs GR16:$dst), (ins GR16:$src1), 24 [(set GR16:$dst, (shl GR16:$src1, CL))]>, OpSize16; 25 def SHL32rCL : I<0xD3, MRM4r, (outs GR32:$dst), (ins GR32:$src1), 27 [(set GR32:$dst, (shl GR32:$src1, CL))]>, OpSize32; 28 def SHL64rCL : RI<0xD3, MRM4r, (outs GR64:$dst), (ins GR64:$src1), 30 [(set GR64:$dst, (shl GR64:$src1, CL))]>; 34 def SHL8ri : Ii8<0xC0, MRM4r, (outs GR8 :$dst), (ins GR8 :$src1, u8imm:$src2), [all …]
|
D | X86InstrSSE.td | 26 def rr : SI<opc, MRMSrcReg, (outs RC:$dst), (ins RC:$src1, RC:$src2), 29 !strconcat(OpcodeStr, "\t{$src2, $src1, $dst|$dst, $src1, $src2}")), 30 [(set RC:$dst, (OpNode RC:$src1, RC:$src2))], d>, 33 def rm : SI<opc, MRMSrcMem, (outs RC:$dst), (ins RC:$src1, x86memop:$src2), 36 !strconcat(OpcodeStr, "\t{$src2, $src1, $dst|$dst, $src1, $src2}")), 37 [(set RC:$dst, (OpNode RC:$src1, (load addr:$src2)))], d>, 49 def rr_Int : SI_Int<opc, MRMSrcReg, (outs RC:$dst), (ins RC:$src1, RC:$src2), 52 !strconcat(asm, "\t{$src2, $src1, $dst|$dst, $src1, $src2}")), 53 [(set RC:$dst, (VT (OpNode RC:$src1, RC:$src2)))], d>, 56 def rm_Int : SI_Int<opc, MRMSrcMem, (outs RC:$dst), (ins RC:$src1, memopr:$src2), [all …]
|
/third_party/pcre2/pcre2/src/sljit/ |
D | sljitNativePPC_32.c | 45 sljit_s32 dst, sljit_s32 src1, sljit_s32 src2) in emit_single_op() argument 52 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 59 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 74 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 86 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 90 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 96 …return push_inst(compiler, ADD | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src2… in emit_single_op() 104 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); in emit_single_op() 107 …FAIL_IF(push_inst(compiler, ADDIS | D(dst) | A(src1) | (((compiler->imm >> 16) & 0xffff) + ((compi… in emit_single_op() 108 src1 = dst; in emit_single_op() [all …]
|
D | sljitNativePPC_64.c | 130 FAIL_IF(push_inst(compiler, EXTSW | S(src1) | A(TMP_REG1))); \ 131 src1 = TMP_REG1; \ 141 FAIL_IF(push_inst(compiler, EXTSW | S(src1) | A(TMP_REG1))); \ 142 src1 = TMP_REG1; \ 146 sljit_s32 dst, sljit_s32 src1, sljit_s32 src2) in emit_single_op() argument 151 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 158 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 171 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 186 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 198 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
D | ShaderCore.cpp | 766 void ShaderCore::add(Vector4f &dst, const Vector4f &src0, const Vector4f &src1) in add() argument 768 dst.x = src0.x + src1.x; in add() 769 dst.y = src0.y + src1.y; in add() 770 dst.z = src0.z + src1.z; in add() 771 dst.w = src0.w + src1.w; in add() 774 void ShaderCore::iadd(Vector4f &dst, const Vector4f &src0, const Vector4f &src1) in iadd() argument 776 dst.x = As<Float4>(As<Int4>(src0.x) + As<Int4>(src1.x)); in iadd() 777 dst.y = As<Float4>(As<Int4>(src0.y) + As<Int4>(src1.y)); in iadd() 778 dst.z = As<Float4>(As<Int4>(src0.z) + As<Int4>(src1.z)); in iadd() 779 dst.w = As<Float4>(As<Int4>(src0.w) + As<Int4>(src1.w)); in iadd() [all …]
|
D | ShaderCore.hpp | 247 void add(Vector4f &dst, const Vector4f &src0, const Vector4f &src1); 248 void iadd(Vector4f &dst, const Vector4f &src0, const Vector4f &src1); 249 void sub(Vector4f &dst, const Vector4f &src0, const Vector4f &src1); 250 void isub(Vector4f &dst, const Vector4f &src0, const Vector4f &src1); 251 void mad(Vector4f &dst, const Vector4f &src0, const Vector4f &src1, const Vector4f &src2); 252 void imad(Vector4f &dst, const Vector4f &src0, const Vector4f &src1, const Vector4f &src2); 253 void mul(Vector4f &dst, const Vector4f &src0, const Vector4f &src1); 254 void imul(Vector4f &dst, const Vector4f &src0, const Vector4f &src1); 256 void div(Vector4f &dst, const Vector4f &src0, const Vector4f &src1); 257 void idiv(Vector4f &dst, const Vector4f &src0, const Vector4f &src1); [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/ |
D | SDL_mixer.c | 148 Sint16 src1, src2; in SDL_MixAudioFormat() local 155 src1 = ((src[1]) << 8 | src[0]); in SDL_MixAudioFormat() 156 ADJUST_VOLUME(src1, volume); in SDL_MixAudioFormat() 159 dst_sample = src1 + src2; in SDL_MixAudioFormat() 179 Sint16 src1, src2; in SDL_MixAudioFormat() 186 src1 = ((src[0]) << 8 | src[1]); in SDL_MixAudioFormat() 187 ADJUST_VOLUME(src1, volume); in SDL_MixAudioFormat() 190 dst_sample = src1 + src2; in SDL_MixAudioFormat() 207 Uint16 src1, src2; in SDL_MixAudioFormat() local 213 src1 = ((src[1]) << 8 | src[0]); in SDL_MixAudioFormat() [all …]
|
/third_party/mesa3d/src/imagination/vulkan/pds/ |
D | pvr_pds_printer.c | 70 char src1[32]; in pvr_pds_disassemble_instruction_add64() local 73 pvr_pds_disassemble_operand(add->src1, src1, sizeof(src1)); in pvr_pds_disassemble_instruction_add64() 84 src1, in pvr_pds_disassemble_instruction_add64() 94 char src1[32]; in pvr_pds_disassemble_instruction_add32() local 97 pvr_pds_disassemble_operand(add->src1, src1, sizeof(src1)); in pvr_pds_disassemble_instruction_add32() 108 src1, in pvr_pds_disassemble_instruction_add32() 119 char src1[32]; in pvr_pds_disassemble_instruction_sftlp32() local 123 pvr_pds_disassemble_operand(instruction->src1, src1, sizeof(src1)); in pvr_pds_disassemble_instruction_sftlp32() 160 src1, in pvr_pds_disassemble_instruction_sftlp32() 171 char src1[32]; in pvr_pds_disassemble_instruction_stm() local [all …]
|
/third_party/ffmpeg/libavcodec/mips/ |
D | simple_idct_mmi.c | 62 #define IDCT_ROW_COND_DC(src1, src2) \ in ff_simple_idct_8_mmi() argument 63 "dmfc1 $11, "#src1" \n\t" \ in ff_simple_idct_8_mmi() 69 "punpcklhw $f30, "#src1", "#src2" \n\t" \ in ff_simple_idct_8_mmi() 70 "punpckhhw $f31, "#src1", "#src2" \n\t" \ in ff_simple_idct_8_mmi() 72 "punpcklhw "#src1", $f30, $f31 \n\t" \ in ff_simple_idct_8_mmi() 76 "pmaddhw $f30, "#src1", $f18 \n\t" \ in ff_simple_idct_8_mmi() 87 "pmaddhw $f30, "#src1", $f20 \n\t" \ in ff_simple_idct_8_mmi() 98 "pmaddhw $f30, "#src1", $f22 \n\t" \ in ff_simple_idct_8_mmi() 109 "pmaddhw $f30, "#src1", $f24 \n\t" \ in ff_simple_idct_8_mmi() 111 "paddw "#src1", $f30, $f31 \n\t" \ in ff_simple_idct_8_mmi() [all …]
|
/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gstvalue.c | 1086 GValue src1 = { 0 }; in GST_START_TEST() local 1091 g_value_init (&src1, G_TYPE_INT); in GST_START_TEST() 1092 g_value_set_int (&src1, 10); in GST_START_TEST() 1095 ret = gst_value_intersect (&dest, &src1, &src2); in GST_START_TEST() 1097 g_value_unset (&src1); in GST_START_TEST() 1100 g_value_init (&src1, G_TYPE_STRING); in GST_START_TEST() 1101 g_value_set_static_string (&src1, "YUY2"); in GST_START_TEST() 1111 fail_unless (gst_value_intersect (&dest, &src1, &src2)); in GST_START_TEST() 1115 g_value_unset (&src1); in GST_START_TEST() 1126 GValue src1 = { 0 }; in GST_START_TEST() local [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/image_util/ |
D | imageformats.cpp | 31 void L8::average(L8 *dst, const L8 *src1, const L8 *src2) in average() argument 33 dst->L = gl::average(src1->L, src2->L); in average() 62 void R8::average(R8 *dst, const R8 *src1, const R8 *src2) in average() argument 64 dst->R = gl::average(src1->R, src2->R); in average() 80 void A8::average(A8 *dst, const A8 *src1, const A8 *src2) in average() argument 82 dst->A = gl::average(src1->A, src2->A); in average() 100 void L8A8::average(L8A8 *dst, const L8A8 *src1, const L8A8 *src2) in average() argument 102 *(uint16_t *)dst = (((*(uint16_t *)src1 ^ *(uint16_t *)src2) & 0xFEFE) >> 1) + in average() 103 (*(uint16_t *)src1 & *(uint16_t *)src2); in average() 121 void A8L8::average(A8L8 *dst, const A8L8 *src1, const A8L8 *src2) in average() argument [all …]
|
/third_party/skia/third_party/externals/angle2/src/image_util/ |
D | imageformats.cpp | 31 void L8::average(L8 *dst, const L8 *src1, const L8 *src2) in average() argument 33 dst->L = gl::average(src1->L, src2->L); in average() 62 void R8::average(R8 *dst, const R8 *src1, const R8 *src2) in average() argument 64 dst->R = gl::average(src1->R, src2->R); in average() 80 void A8::average(A8 *dst, const A8 *src1, const A8 *src2) in average() argument 82 dst->A = gl::average(src1->A, src2->A); in average() 100 void L8A8::average(L8A8 *dst, const L8A8 *src1, const L8A8 *src2) in average() argument 102 *(uint16_t *)dst = (((*(uint16_t *)src1 ^ *(uint16_t *)src2) & 0xFEFE) >> 1) + in average() 103 (*(uint16_t *)src1 & *(uint16_t *)src2); in average() 121 void A8L8::average(A8L8 *dst, const A8L8 *src1, const A8L8 *src2) in average() argument [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | lossless_videoencdsp.c | 28 static void diff_bytes_c(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, intptr_t w) in diff_bytes_c() argument 33 if (((long)src1 | (long)src2) & (sizeof(long) - 1)) { in diff_bytes_c() 35 dst[i + 0] = src1[i + 0] - src2[i + 0]; in diff_bytes_c() 36 dst[i + 1] = src1[i + 1] - src2[i + 1]; in diff_bytes_c() 37 dst[i + 2] = src1[i + 2] - src2[i + 2]; in diff_bytes_c() 38 dst[i + 3] = src1[i + 3] - src2[i + 3]; in diff_bytes_c() 39 dst[i + 4] = src1[i + 4] - src2[i + 4]; in diff_bytes_c() 40 dst[i + 5] = src1[i + 5] - src2[i + 5]; in diff_bytes_c() 41 dst[i + 6] = src1[i + 6] - src2[i + 6]; in diff_bytes_c() 42 dst[i + 7] = src1[i + 7] - src2[i + 7]; in diff_bytes_c() [all …]
|
/third_party/mesa3d/src/compiler/nir/tests/ |
D | ssa_def_bits_used_tests.cpp | 59 nir_ssa_def *src0, nir_ssa_def *src1) in build_alu_instr() argument 61 nir_ssa_def *def = nir_build_alu(&bld, op, src0, src1, NULL, NULL); in build_alu_instr() 84 nir_ssa_def *src1 = nir_imm_int(&bld, 0xffffffff); in TEST_F() local 86 nir_alu_instr *alu = build_alu_instr(nir_op_iand, src0, src1); in TEST_F() 95 ASSERT_TRUE(is_used_once(src1)); in TEST_F() 113 nir_ssa_def *src1 = nir_imm_int(&bld, 0xffffffff); in TEST_F() local 115 nir_alu_instr *alu = build_alu_instr(nir_op_ior, src0, src1); in TEST_F() 124 ASSERT_TRUE(is_used_once(src1)); in TEST_F() 141 nir_ssa_def *src1 = nir_imm_ivec4(&bld, in TEST_F() local 147 nir_alu_instr *alu = build_alu_instr(nir_op_extract_i16, src0, src1); in TEST_F() [all …]
|
/third_party/ffmpeg/libavfilter/opencl/ |
D | xfade.cl | 23 __read_only image2d_t src1, 29 float4 val1 = read_imagef(src1, sampler, p); 36 __read_only image2d_t src1, 40 int s = (int)(get_image_dim(src1).x * progress); 43 float4 val1 = read_imagef(src1, sampler, p); 50 __read_only image2d_t src1, 54 int s = (int)(get_image_dim(src1).x * (1.f - progress)); 57 float4 val1 = read_imagef(src1, sampler, p); 64 __read_only image2d_t src1, 68 int s = (int)(get_image_dim(src1).y * progress); [all …]
|