/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/loongson/ |
D | jdsample-mmi.c | 70 mm2 = mm3; \ 72 mm2 = _mm_srli_si64(mm2, 2 * BYTE_BIT); /* mm2=( 5 6 7 -) */ \ 77 mm2 = _mm_or_si64(mm2, wk[r + 2]); /* mm2=( 5 6 6 8) */ \ 86 mm2 = _mm_add_pi16(mm2, PW_SEVEN); \ 93 mm2 = _mm_add_pi16(mm2, mm3); \ 95 mm2 = _mm_srli_pi16(mm2, 4); /* mm2=OutrHO=( 9 11 13 15) */ \ 98 mm2 = _mm_slli_pi16(mm2, BYTE_BIT); \ 100 mm5 = _mm_or_si64(mm5, mm2); /* mm5=OutrH=( 8 9 10 11 12 13 14 15) */ \ 114 __m64 mm0, mm1, mm2, mm3 = 0.0, mm4, mm5, mm6, mm7 = 0.0; in jsimd_h2v2_fancy_upsample_mmi() local 149 mm2 = _mm_load_si64((__m64 *)inptr1); /* mm2 = row[ 1][0] */ in jsimd_h2v2_fancy_upsample_mmi() [all …]
|
D | jcsample-mmi.c | 45 __m64 mm0, mm1, mm2, mm3, mm4, mm5, mm6 = 0.0, mm7; in jsimd_h2v2_downsample_mmi() local 67 mm2 = _mm_load_si64((__m64 *)&inptr0[8]); in jsimd_h2v2_downsample_mmi() 79 mm4 = mm2; in jsimd_h2v2_downsample_mmi() 81 mm2 = _mm_and_si64(mm2, mm6); in jsimd_h2v2_downsample_mmi() 85 mm2 = _mm_add_pi16(mm2, mm4); in jsimd_h2v2_downsample_mmi() 89 mm2 = _mm_add_pi16(mm2, mm3); in jsimd_h2v2_downsample_mmi() 91 mm2 = _mm_add_pi16(mm2, mm7); in jsimd_h2v2_downsample_mmi() 93 mm2 = _mm_srli_pi16(mm2, 2); in jsimd_h2v2_downsample_mmi() 95 mm0 = _mm_packs_pu16(mm0, mm2); in jsimd_h2v2_downsample_mmi()
|
D | jdcolext-mmi.c | 39 #define mmA mm2 53 #define mmC mm2 67 #define mmE mm2 81 #define mmG mm2 98 __m64 mm0, mm1, mm2, mm3, mm4, mm5, mm6, mm7; in jsimd_ycc_rgb_convert_mmi() local 142 mm2 = mm4; /* mm2 = CbE */ in jsimd_ycc_rgb_convert_mmi() 165 mm4 = _mm_add_pi16(mm4, mm2); in jsimd_ycc_rgb_convert_mmi() 167 mm4 = _mm_add_pi16(mm4, mm2); /* mm4=(CbE * FIX(1.77200))=(B-Y)E */ in jsimd_ycc_rgb_convert_mmi() 175 mm4 = mm2; in jsimd_ycc_rgb_convert_mmi() 177 mm2 = _mm_unpacklo_pi16(mm2, mm6); in jsimd_ycc_rgb_convert_mmi() [all …]
|
D | jquanti-mmi.c | 37 mm2 = _mm_load_si64((__m64 *)&workspace[0]); \ 40 mm0 = mm2; \ 43 mm2 = _mm_srai_pi16(mm2, (WORD_BIT - 1)); /* -1 if value < 0, */ \ 47 mm0 = _mm_xor_si64(mm0, mm2); /* val = -val */ \ 49 mm0 = _mm_sub_pi16(mm0, mm2); \ 101 mm0 = _mm_xor_si64(mm0, mm2); /* val = -val */ \ 103 mm0 = _mm_sub_pi16(mm0, mm2); \ 119 __m64 mm0, mm1, mm2, mm3, mm4, mm5, mm6, mm7; in jsimd_quantize_mmi() local
|
/third_party/libjpeg-turbo/simd/loongson/ |
D | jdsample-mmi.c | 70 mm2 = mm3; \ 72 mm2 = _mm_srli_si64(mm2, 2 * BYTE_BIT); /* mm2=( 5 6 7 -) */ \ 77 mm2 = _mm_or_si64(mm2, wk[r + 2]); /* mm2=( 5 6 6 8) */ \ 86 mm2 = _mm_add_pi16(mm2, PW_SEVEN); \ 93 mm2 = _mm_add_pi16(mm2, mm3); \ 95 mm2 = _mm_srli_pi16(mm2, 4); /* mm2=OutrHO=( 9 11 13 15) */ \ 98 mm2 = _mm_slli_pi16(mm2, BYTE_BIT); \ 100 mm5 = _mm_or_si64(mm5, mm2); /* mm5=OutrH=( 8 9 10 11 12 13 14 15) */ \ 114 __m64 mm0, mm1, mm2, mm3 = 0.0, mm4, mm5, mm6, mm7 = 0.0; in jsimd_h2v2_fancy_upsample_mmi() local 149 mm2 = _mm_load_si64((__m64 *)inptr1); /* mm2 = row[ 1][0] */ in jsimd_h2v2_fancy_upsample_mmi() [all …]
|
D | jcsample-mmi.c | 45 __m64 mm0, mm1, mm2, mm3, mm4, mm5, mm6 = 0.0, mm7; in jsimd_h2v2_downsample_mmi() local 67 mm2 = _mm_load_si64((__m64 *)&inptr0[8]); in jsimd_h2v2_downsample_mmi() 79 mm4 = mm2; in jsimd_h2v2_downsample_mmi() 81 mm2 = _mm_and_si64(mm2, mm6); in jsimd_h2v2_downsample_mmi() 85 mm2 = _mm_add_pi16(mm2, mm4); in jsimd_h2v2_downsample_mmi() 89 mm2 = _mm_add_pi16(mm2, mm3); in jsimd_h2v2_downsample_mmi() 91 mm2 = _mm_add_pi16(mm2, mm7); in jsimd_h2v2_downsample_mmi() 93 mm2 = _mm_srli_pi16(mm2, 2); in jsimd_h2v2_downsample_mmi() 95 mm0 = _mm_packs_pu16(mm0, mm2); in jsimd_h2v2_downsample_mmi()
|
D | jdcolext-mmi.c | 39 #define mmA mm2 53 #define mmC mm2 67 #define mmE mm2 81 #define mmG mm2 98 __m64 mm0, mm1, mm2, mm3, mm4, mm5, mm6, mm7; in jsimd_ycc_rgb_convert_mmi() local 142 mm2 = mm4; /* mm2 = CbE */ in jsimd_ycc_rgb_convert_mmi() 165 mm4 = _mm_add_pi16(mm4, mm2); in jsimd_ycc_rgb_convert_mmi() 167 mm4 = _mm_add_pi16(mm4, mm2); /* mm4=(CbE * FIX(1.77200))=(B-Y)E */ in jsimd_ycc_rgb_convert_mmi() 175 mm4 = mm2; in jsimd_ycc_rgb_convert_mmi() 177 mm2 = _mm_unpacklo_pi16(mm2, mm6); in jsimd_ycc_rgb_convert_mmi() [all …]
|
D | jquanti-mmi.c | 37 mm2 = _mm_load_si64((__m64 *)&workspace[0]); \ 40 mm0 = mm2; \ 43 mm2 = _mm_srai_pi16(mm2, (WORD_BIT - 1)); /* -1 if value < 0, */ \ 47 mm0 = _mm_xor_si64(mm0, mm2); /* val = -val */ \ 49 mm0 = _mm_sub_pi16(mm0, mm2); \ 101 mm0 = _mm_xor_si64(mm0, mm2); /* val = -val */ \ 103 mm0 = _mm_sub_pi16(mm0, mm2); \ 119 __m64 mm0, mm1, mm2, mm3, mm4, mm5, mm6, mm7; in jsimd_quantize_mmi() local
|
/third_party/ffmpeg/libavcodec/x86/ |
D | h264_intrapred.asm | 195 movq mm2, [r0+8] 197 movq mm3, mm2 200 punpcklbw mm2, mm7 214 paddw mm6, mm2 812 pxor mm2, mm2 815 punpcklbw mm0, mm2 816 psadbw mm1, mm2 ; s1 818 psadbw mm0, mm2 ; s0 821 pavgw mm1, mm2 823 pavgw mm0, mm2 [all …]
|
D | hpeldsp_rnd_template.c | 42 PAVGBP(%%mm0, %%mm1, %%mm4, %%mm2, %%mm3, %%mm5) in DEF() 51 PAVGBP(%%mm0, %%mm1, %%mm4, %%mm2, %%mm3, %%mm5) in DEF() 74 PAVGBP(%%mm0, %%mm1, %%mm4, %%mm2, %%mm3, %%mm5) in DEF() 81 PAVGBP(%%mm0, %%mm1, %%mm4, %%mm2, %%mm3, %%mm5) in DEF() 90 PAVGBP(%%mm0, %%mm1, %%mm4, %%mm2, %%mm3, %%mm5) in DEF() 97 PAVGBP(%%mm0, %%mm1, %%mm4, %%mm2, %%mm3, %%mm5) in DEF() 119 PAVGBP(%%mm1, %%mm0, %%mm4, %%mm2, %%mm1, %%mm5) in DEF() 126 PAVGBP(%%mm1, %%mm2, %%mm4, %%mm0, %%mm1, %%mm5) in DEF() 147 PAVGB(%%mm0, %%mm1, %%mm2, %%mm6) in DEF() 148 PAVGB_MMX(%%mm3, %%mm2, %%mm0, %%mm6) in DEF() [all …]
|
D | simple_idct.asm | 85 movq mm2, [blockq + %3] ; R3 R1 r3 r1 90 por mm4, mm2 105 pmaddwd mm7, mm2 ; C3R3+C1R1 C3r3+C1r1 116 pmaddwd mm2, [coeffs + 64] ; -C7R3+C3R1 -C7r3+C3r1 123 paddd mm5, mm2 ; B1 b1 126 movq mm2, mm1 ; A1 a1 128 psubd mm2, mm5 ; A1-B1 a1-b1 130 psrad mm2, %7 132 packssdw mm2, mm4 ; A0-B0 a0-b0 A1-B1 a1-b1 136 movq [24 + %5], mm2 [all …]
|
/third_party/openh264/codec/encoder/core/x86/ |
D | intra_pred.asm | 354 LOAD_COLUMN_C mm0, mm2, mm3, mm4, r1, r2 363 LOAD_COLUMN_C mm7, mm2, mm3, mm4, r1, r2 426 movq mm2,[r1-8] ;get value of 6 mm2[8] = 6 428 punpckhbw mm2,[r1-8] ;mm2[8](high 8th byte of mm2) = [0](value of 0), mm2[7]= [6] 430 punpckhwd mm1,mm2 ;mm1[8]=[0],mm1[7]=[6],mm1[6]=[11] 440 …movq mm2,mm3 ;mm2[7]=[3],mm2[6]=[2],mm2[5]=[1],mm2[4]=[0],mm2[3]=[6],mm2[2]=[11… 450 pavgb mm2,mm3 ;mm2=(([11]+[21]+1)/2+1+[16])/2 452 movd [r0+12],mm2 453 psrlq mm2,8 454 movd [r0+8],mm2 [all …]
|
/third_party/mesa3d/src/mesa/x86/ |
D | read_rgba_span_x86.S | 95 LOAD_MASK(movq,%mm1,%mm2) 133 pand %mm2, %mm3 136 pand %mm2, %mm4 194 LOAD_MASK(movq,%mm1,%mm2) 233 pand %mm2, %mm3 236 pand %mm2, %mm4 268 pand %mm2, %mm3 269 pand %mm2, %mm6 277 pand %mm2, %mm4 278 pand %mm2, %mm7 [all …]
|
/third_party/gstreamer/gstplugins_good/gst/deinterlace/tvtime/tomsmocomp/ |
D | WierdBob.inc | 31 "movq %%mm0, %%mm2\n\t" 32 // pavgb %%mm2, %%mm1 // avg(c,d) 33 V_PAVGB ("%%mm2", "%%mm1", "%%mm3", _ShiftMask) // avg(c,d) 46 "pand %%mm3, %%mm2\n\t" 51 "por %%mm2, %%mm6\n\t" // and merge new & old vals keeping best 59 "movq %%mm0, %%mm2\n\t" 60 // pavgb %%mm2, %%mm1 // avg(j,n) 61 V_PAVGB ("%%mm2", "%%mm1", "%%mm3", _ShiftMask) // avg(j,n) 74 "pand %%mm2, %%mm3\n\t" 95 "movq %%mm4, %%mm2\n\t" // avg(k,m) [all …]
|
D | StrangeBob.inc | 52 "movq %%mm0, %%mm2\n\t" 53 V_PAVGB ("%%mm2", "%%mm1", "%%mm3", _ShiftMask) // avg(j,n) 65 "pand %%mm1, %%mm2\n\t" 75 "por %%mm2, %%mm6\n\t" 95 "movq %%mm0, %%mm2\n\t" 96 V_PAVGB ("%%mm2", "%%mm1", "%%mm3", _ShiftMask) // avg(k,m) 109 "pand %%mm1, %%mm2\n\t" 119 "por %%mm2, %%mm6\n\t" 139 "movq %%mm0, %%mm2\n\t" 140 V_PAVGB ("%%mm2", "%%mm1", "%%mm3", _ShiftMask) // avg(c,d) [all …]
|
/third_party/openh264/codec/decoder/core/x86/ |
D | intra_pred.asm | 430 LOAD_COLUMN_C mm0, mm2, mm3, mm4, r0, r1 439 LOAD_COLUMN_C mm7, mm2, mm3, mm4, r0, r1 507 movq mm2,[r2-8] ;get value of 6 mm2[8] = 6 509 punpckhbw mm2,[r2-8] ;mm2[8](high 8th byte of mm2) = [0](value of 0), mm2[7]= [6] 511 punpckhwd mm1,mm2 ;mm1[8]=[0],mm1[7]=[6],mm1[6]=[11] 521 …movq mm2,mm3 ;mm2[7]=[3],mm2[6]=[2],mm2[5]=[1],mm2[4]=[0],mm2[3]=[6],mm2[2]=[11… 531 pavgb mm2,mm3 ;mm2=(([11]+[21]+1)/2+1+[16])/2 534 movd [r0+2*r1],mm2 536 psrlq mm2,8 537 movd [r0+2*r1],mm2 [all …]
|
/third_party/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap19.c | 27 static char *mm1 = NULL, *mm2 = NULL; variable 41 mm2 = SAFE_MMAP(0, LEN, PROT_READ, MAP_PRIVATE, f2, 0); in run() 44 save_mm2 = mm2; in run() 49 if (strncmp(str2, mm2, strlen(str2))) in run() 53 SAFE_MUNMAP(mm2, LEN); in run() 56 mm2 = SAFE_MMAP(save_mm1, LEN, PROT_READ, MAP_PRIVATE, f2, 0); in run() 58 if (mm1 != save_mm2 || mm2 != save_mm1) in run() 64 if (strncmp(str2, mm2, strlen(str2))) in run() 84 if (mm2) in cleanup() 85 SAFE_MUNMAP(mm2, LEN); in cleanup()
|
/third_party/ffmpeg/libavcodec/ |
D | xvididct.c | 160 int mm0, mm1, mm2, mm3, mm4, mm5, mm6, mm7, spill; in idct_col_8() local 171 mm2 = MULT(TAN3, mm5, 16) + mm6; in idct_col_8() 174 mm7 = mm0 + mm2; in idct_col_8() 176 mm0 = mm0 - mm2; in idct_col_8() 187 mm2 = (int) in[6 * 8]; in idct_col_8() 188 mm3 = MULT(TAN2, mm2, 16) + mm1; in idct_col_8() 189 mm2 = MULT(TAN2, mm1, 16) - mm2; in idct_col_8() 201 BUTTERFLY(mm1, mm2, mm0); in idct_col_8() 205 BUTTERFLY(mm2, mm5, mm0); in idct_col_8() 206 in[8 * 2] = (int16_t) (mm2 >> COL_SHIFT); in idct_col_8() [all …]
|
/third_party/skia/third_party/externals/libjpeg-turbo/simd/i386/ |
D | jdsample-mmx.asm | 289 movq mm6, mm2 290 punpcklbw mm2, mm3 ; mm2=row[+1][0]( 0 1 2 3) 301 paddw mm2, mm0 ; mm2=Int1L=( 0 1 2 3) 306 movq MMWORD [edi+0*SIZEOF_MMWORD], mm2 310 pand mm2, mm7 ; mm2=( 0 - - -) 313 movq MMWORD [wk(1)], mm2 331 movq mm2, mm1 334 pand mm2, MMWORD [edi+1*SIZEOF_MMWORD] ; mm2=( - - - 7) 337 movq MMWORD [wk(3)], mm2 347 movq mm2, MMWORD [esi+1*SIZEOF_MMWORD] ; mm2=row[+1][1] [all …]
|
D | jquant-3dn.asm | 66 punpcklbw mm2, mm0 ; mm2=(*0*1*2*3) 71 punpcklwd mm4, mm2 ; mm4=(***0***1) 72 punpckhwd mm2, mm2 ; mm2=(***2***3) 77 psrad mm2, (DWORD_BIT-BYTE_BIT) ; mm2=(23) 79 pi2fd mm2, mm2 86 movq MMWORD [MMBLOCK(0,1,edi,SIZEOF_FAST_FLOAT)], mm2 163 movq mm2, MMWORD [MMBLOCK(0,2,esi,SIZEOF_FAST_FLOAT)] 165 pfmul mm2, MMWORD [MMBLOCK(0,2,edx,SIZEOF_FAST_FLOAT)] 170 pfadd mm2, mm7 ; mm0=(04 ** 05 **) 176 movq mm5, mm2 [all …]
|
/third_party/libjpeg-turbo/simd/i386/ |
D | jdsample-mmx.asm | 289 movq mm6, mm2 290 punpcklbw mm2, mm3 ; mm2=row[+1][0]( 0 1 2 3) 301 paddw mm2, mm0 ; mm2=Int1L=( 0 1 2 3) 306 movq MMWORD [edi+0*SIZEOF_MMWORD], mm2 310 pand mm2, mm7 ; mm2=( 0 - - -) 313 movq MMWORD [wk(1)], mm2 331 movq mm2, mm1 334 pand mm2, MMWORD [edi+1*SIZEOF_MMWORD] ; mm2=( - - - 7) 337 movq MMWORD [wk(3)], mm2 347 movq mm2, MMWORD [esi+1*SIZEOF_MMWORD] ; mm2=row[+1][1] [all …]
|
D | jquant-3dn.asm | 66 punpcklbw mm2, mm0 ; mm2=(*0*1*2*3) 71 punpcklwd mm4, mm2 ; mm4=(***0***1) 72 punpckhwd mm2, mm2 ; mm2=(***2***3) 77 psrad mm2, (DWORD_BIT-BYTE_BIT) ; mm2=(23) 79 pi2fd mm2, mm2 86 movq MMWORD [MMBLOCK(0,1,edi,SIZEOF_FAST_FLOAT)], mm2 163 movq mm2, MMWORD [MMBLOCK(0,2,esi,SIZEOF_FAST_FLOAT)] 165 pfmul mm2, MMWORD [MMBLOCK(0,2,edx,SIZEOF_FAST_FLOAT)] 170 pfadd mm2, mm7 ; mm0=(04 ** 05 **) 176 movq mm5, mm2 [all …]
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/i386/ |
D | jquant-3dn.asm | 68 punpcklbw mm2, mm0 ; mm2=(*0*1*2*3) 73 punpcklwd mm4, mm2 ; mm4=(***0***1) 74 punpckhwd mm2, mm2 ; mm2=(***2***3) 79 psrad mm2, (DWORD_BIT-BYTE_BIT) ; mm2=(23) 81 pi2fd mm2, mm2 88 movq MMWORD [MMBLOCK(0,1,edi,SIZEOF_FAST_FLOAT)], mm2 165 movq mm2, MMWORD [MMBLOCK(0,2,esi,SIZEOF_FAST_FLOAT)] 167 pfmul mm2, MMWORD [MMBLOCK(0,2,edx,SIZEOF_FAST_FLOAT)] 172 pfadd mm2, mm7 ; mm0=(04 ** 05 **) 178 movq mm5, mm2 [all …]
|
D | jdsample-mmx.asm | 291 movq mm6, mm2 292 punpcklbw mm2, mm3 ; mm2=row[+1][0]( 0 1 2 3) 303 paddw mm2, mm0 ; mm2=Int1L=( 0 1 2 3) 308 movq MMWORD [edi+0*SIZEOF_MMWORD], mm2 312 pand mm2, mm7 ; mm2=( 0 - - -) 315 movq MMWORD [wk(1)], mm2 333 movq mm2, mm1 336 pand mm2, MMWORD [edi+1*SIZEOF_MMWORD] ; mm2=( - - - 7) 339 movq MMWORD [wk(3)], mm2 349 movq mm2, MMWORD [esi+1*SIZEOF_MMWORD] ; mm2=row[+1][1] [all …]
|
/third_party/ffmpeg/libpostproc/ |
D | postprocess_template.c | 137 PMAXUB(%%mm2, %%mm4) in RENAME() 138 PMINUB(%%mm2, %%mm3, %%mm5) in RENAME() 155 PMAXUB(%%mm2, %%mm4) in RENAME() 156 PMINUB(%%mm2, %%mm3, %%mm5) in RENAME() 171 PMAXUB(%%mm2, %%mm4) in RENAME() 172 PMINUB(%%mm2, %%mm3, %%mm5) in RENAME() 283 PAVGB((%%FF_REGa), %%mm2) // 11 /2 in RENAME() 284 PAVGB((%0, %1, 2), %%mm2) // 211 /4 in RENAME() 307 PAVGB(%%mm2, %%mm0) //22242211/16 in RENAME() 315 PAVGB(%%mm2, %%mm1) // 11 /2 in RENAME() [all …]
|