/external/libjpeg-turbo/simd/loongson/ |
D | jdsample-mmi.c | 59 mm0 = _mm_srli_si64(mm0, 2 * BYTE_BIT); /* mm0=( 1 2 3 -) */ \ 60 mm4 = _mm_slli_si64(mm4, (SIZEOF_MMWORD - 2) * BYTE_BIT); /* mm4=( - - - 4) */ \ 63 mm5 = _mm_srli_si64(mm5, (SIZEOF_MMWORD - 2) * BYTE_BIT); /* mm5=( 3 - - -) */ \ 64 mm6 = _mm_slli_si64(mm6, 2 * BYTE_BIT); /* mm6=( - 4 5 6) */ \ 71 mm1 = _mm_slli_si64(mm1, 2 * BYTE_BIT); /* mm1=( - 0 1 2) */ \ 72 mm2 = _mm_srli_si64(mm2, 2 * BYTE_BIT); /* mm2=( 5 6 7 -) */ \ 74 mm4 = _mm_srli_si64(mm4, (SIZEOF_MMWORD - 2) * BYTE_BIT); /* mm4=( 7 - - -) */ \ 97 mm0 = _mm_slli_pi16(mm0, BYTE_BIT); \ 98 mm2 = _mm_slli_pi16(mm2, BYTE_BIT); \ 166 mm7 = _mm_srli_si64(mm7, (SIZEOF_MMWORD - 2) * BYTE_BIT); in jsimd_h2v2_fancy_upsample_mmi() [all …]
|
D | jcsample-mmi.c | 53 mm6 = _mm_srli_pi16(mm6, BYTE_BIT); /* mm6={0xFF 0x00 0xFF 0x00 ..} */ in jsimd_h2v2_downsample_mmi() 73 mm4 = _mm_srli_pi16(mm4, BYTE_BIT); in jsimd_h2v2_downsample_mmi() 75 mm5 = _mm_srli_pi16(mm5, BYTE_BIT); in jsimd_h2v2_downsample_mmi() 82 mm4 = _mm_srli_pi16(mm4, BYTE_BIT); in jsimd_h2v2_downsample_mmi() 84 mm5 = _mm_srli_pi16(mm5, BYTE_BIT); in jsimd_h2v2_downsample_mmi()
|
D | jccolext-mmi.c | 200 mmA = _mm_slli_si64(mmA, 4 * BYTE_BIT); in jsimd_rgb_ycc_convert_mmi() 201 mmD = _mm_srli_si64(mmD, 4 * BYTE_BIT); in jsimd_rgb_ycc_convert_mmi() 204 mmG = _mm_slli_si64(mmG, 4 * BYTE_BIT); in jsimd_rgb_ycc_convert_mmi() 210 mmA = _mm_slli_si64(mmA, 4 * BYTE_BIT); in jsimd_rgb_ycc_convert_mmi() 211 mmE = _mm_srli_si64(mmE, 4 * BYTE_BIT); in jsimd_rgb_ycc_convert_mmi() 214 mmD = _mm_slli_si64(mmD, 4 * BYTE_BIT); in jsimd_rgb_ycc_convert_mmi() 322 mmF = _mm_srli_pi16(mmF, BYTE_BIT); in jsimd_rgb_ycc_convert_mmi() 323 mmH = _mm_srli_pi16(mmH, BYTE_BIT); in jsimd_rgb_ycc_convert_mmi() 386 mm7 = _mm_slli_pi16(mm7, BYTE_BIT); in jsimd_rgb_ycc_convert_mmi() 447 mm0 = _mm_slli_pi16(mm0, BYTE_BIT); in jsimd_rgb_ycc_convert_mmi() [all …]
|
D | jdcolext-mmi.c | 118 mm4 = _mm_srli_pi16(mm4, BYTE_BIT); in jsimd_ycc_rgb_convert_mmi() 123 mm5 = _mm_srli_pi16(mm5, BYTE_BIT); /* mm5=Cb(1357)=CbO */ in jsimd_ycc_rgb_convert_mmi() 125 mm1 = _mm_srli_pi16(mm1, BYTE_BIT); /* mm1=Cr(1357)=CrO */ in jsimd_ycc_rgb_convert_mmi() 203 mm4 = _mm_srli_pi16(mm4, BYTE_BIT); /* mm4={0xFF 0x00 0xFF 0x00 ..} */ in jsimd_ycc_rgb_convert_mmi() 205 mm5 = _mm_srli_pi16(mm5, BYTE_BIT); /* mm5=Y(1357)=YO */ in jsimd_ycc_rgb_convert_mmi() 235 mmH = _mm_srli_si64(mmH, 2 * BYTE_BIT); in jsimd_ycc_rgb_convert_mmi() 236 mmE = _mm_srli_si64(mmE, 2 * BYTE_BIT); in jsimd_ycc_rgb_convert_mmi() 243 mmB = _mm_srli_si64(mmB, 2 * BYTE_BIT); /* mmB=(13 23 15 25 17 27 -- --) */ in jsimd_ycc_rgb_convert_mmi()
|
D | jsimd_mmi.h | 37 #define BYTE_BIT 8 macro
|
/external/libjpeg-turbo/simd/i386/ |
D | jquant-sse.asm | 78 psrad mm4, (DWORD_BIT-BYTE_BIT) ; mm4=(01) 79 psrad mm2, (DWORD_BIT-BYTE_BIT) ; mm2=(23) 82 psrad mm5, (DWORD_BIT-BYTE_BIT) ; mm5=(45) 83 psrad mm0, (DWORD_BIT-BYTE_BIT) ; mm0=(67) 92 psrad mm6, (DWORD_BIT-BYTE_BIT) ; mm6=(89) 93 psrad mm3, (DWORD_BIT-BYTE_BIT) ; mm3=(AB) 96 psrad mm4, (DWORD_BIT-BYTE_BIT) ; mm4=(CD) 97 psrad mm1, (DWORD_BIT-BYTE_BIT) ; mm1=(EF)
|
D | jquant-3dn.asm | 78 psrad mm4, (DWORD_BIT-BYTE_BIT) ; mm4=(01) 79 psrad mm2, (DWORD_BIT-BYTE_BIT) ; mm2=(23) 82 psrad mm5, (DWORD_BIT-BYTE_BIT) ; mm5=(45) 83 psrad mm0, (DWORD_BIT-BYTE_BIT) ; mm0=(67) 97 psrad mm6, (DWORD_BIT-BYTE_BIT) ; mm6=(89) 98 psrad mm3, (DWORD_BIT-BYTE_BIT) ; mm3=(AB) 101 psrad mm4, (DWORD_BIT-BYTE_BIT) ; mm4=(CD) 102 psrad mm1, (DWORD_BIT-BYTE_BIT) ; mm1=(EF)
|
D | jcsample-mmx.asm | 105 psrlw mm6, BYTE_BIT ; mm6={0xFF 0x00 0xFF 0x00 ..} 126 psrlw mm2, BYTE_BIT 128 psrlw mm3, BYTE_BIT 248 psrlw mm6, BYTE_BIT ; mm6={0xFF 0x00 0xFF 0x00 ..} 272 psrlw mm4, BYTE_BIT 274 psrlw mm5, BYTE_BIT 281 psrlw mm4, BYTE_BIT 283 psrlw mm5, BYTE_BIT
|
D | jcsample-sse2.asm | 105 psrlw xmm6, BYTE_BIT ; xmm6={0xFF 0x00 0xFF 0x00 ..} 138 psrlw xmm2, BYTE_BIT 140 psrlw xmm3, BYTE_BIT 261 psrlw xmm6, BYTE_BIT ; xmm6={0xFF 0x00 0xFF 0x00 ..} 298 psrlw xmm4, BYTE_BIT 300 psrlw xmm5, BYTE_BIT 307 psrlw xmm4, BYTE_BIT 309 psrlw xmm5, BYTE_BIT
|
D | jcgryext-mmx.asm | 153 psllq mmA, 4*BYTE_BIT ; mmA=(-- -- -- -- 00 10 20 01) 154 psrlq mmD, 4*BYTE_BIT ; mmD=(11 21 02 12 -- -- -- --) 157 psllq mmG, 4*BYTE_BIT ; mmG=(-- -- -- -- 22 03 13 23) 163 psllq mmA, 4*BYTE_BIT ; mmA=(-- -- -- -- 00 04 10 14) 164 psrlq mmE, 4*BYTE_BIT ; mmE=(20 24 01 05 -- -- -- --) 167 psllq mmD, 4*BYTE_BIT ; mmD=(-- -- -- -- 11 15 21 25) 254 psrlw mmF, BYTE_BIT ; mmF=(21 23 25 27) 255 psrlw mmH, BYTE_BIT ; mmH=(31 33 35 37) 320 psllw mm0, BYTE_BIT
|
D | jcsample-avx2.asm | 107 vpsrlw ymm6, ymm6, BYTE_BIT ; ymm6={0xFF 0x00 0xFF 0x00 ..} 153 vpsrlw ymm2, ymm0, BYTE_BIT 155 vpsrlw ymm3, ymm1, BYTE_BIT 280 vpsrlw ymm6, ymm6, BYTE_BIT ; ymm6={0xFF 0x00 0xFF 0x00 ..} 335 vpsrlw ymm0, ymm0, BYTE_BIT 337 vpsrlw ymm1, ymm1, BYTE_BIT 342 vpsrlw ymm2, ymm2, BYTE_BIT 344 vpsrlw ymm3, ymm3, BYTE_BIT
|
D | jccolext-mmx.asm | 161 psllq mmA, 4*BYTE_BIT ; mmA=(-- -- -- -- 00 10 20 01) 162 psrlq mmD, 4*BYTE_BIT ; mmD=(11 21 02 12 -- -- -- --) 165 psllq mmG, 4*BYTE_BIT ; mmG=(-- -- -- -- 22 03 13 23) 171 psllq mmA, 4*BYTE_BIT ; mmA=(-- -- -- -- 00 04 10 14) 172 psrlq mmE, 4*BYTE_BIT ; mmE=(20 24 01 05 -- -- -- --) 175 psllq mmD, 4*BYTE_BIT ; mmD=(-- -- -- -- 11 15 21 25) 262 psrlw mmF, BYTE_BIT ; mmF=(21 23 25 27) 263 psrlw mmH, BYTE_BIT ; mmH=(31 33 35 37) 347 psllw mm7, BYTE_BIT 414 psllw mm0, BYTE_BIT [all …]
|
D | jquantf-sse2.asm | 76 psrad xmm2, (DWORD_BIT-BYTE_BIT) ; xmm2=(0123) 77 psrad xmm0, (DWORD_BIT-BYTE_BIT) ; xmm0=(4567) 80 psrad xmm3, (DWORD_BIT-BYTE_BIT) ; xmm3=(89AB) 81 psrad xmm1, (DWORD_BIT-BYTE_BIT) ; xmm1=(CDEF)
|
D | jdcolext-mmx.asm | 107 psrlw mm4, BYTE_BIT 112 psrlw mm5, BYTE_BIT ; mm5=Cb(1357)=CbO 114 psrlw mm1, BYTE_BIT ; mm1=Cr(1357)=CrO 192 psrlw mm4, BYTE_BIT ; mm4={0xFF 0x00 0xFF 0x00 ..} 194 psrlw mm5, BYTE_BIT ; mm5=Y(1357)=YO 227 psrlq mmH, 2*BYTE_BIT ; mmH=(02 12 04 14 06 16 -- --) 228 psrlq mmE, 2*BYTE_BIT ; mmE=(22 03 24 05 26 07 -- --) 235 psrlq mmB, 2*BYTE_BIT ; mmB=(13 23 15 25 17 27 -- --)
|
D | jdcolext-sse2.asm | 107 psrlw xmm4, BYTE_BIT 112 psrlw xmm5, BYTE_BIT ; xmm5=Cb(13579BDF)=CbO 114 psrlw xmm1, BYTE_BIT ; xmm1=Cr(13579BDF)=CrO 192 psrlw xmm4, BYTE_BIT ; xmm4={0xFF 0x00 0xFF 0x00 ..} 194 psrlw xmm5, BYTE_BIT ; xmm5=Y(13579BDF)=YO
|
D | jccolext-sse2.asm | 291 psrlw xmmF, BYTE_BIT ; xmmF=(21 23 25 27 29 2B 2D 2F) 292 psrlw xmmH, BYTE_BIT ; xmmH=(31 33 35 37 39 3B 3D 3F) 376 psllw xmm7, BYTE_BIT 443 psllw xmm0, BYTE_BIT 464 psllw xmm7, BYTE_BIT
|
D | jdsample-avx2.asm | 170 vpsllw ymm3, ymm3, BYTE_BIT 171 vpsllw ymm6, ymm6, BYTE_BIT 513 vpsllw ymm7, ymm7, BYTE_BIT 514 vpsllw ymm5, ymm5, BYTE_BIT
|
/external/libjpeg-turbo/simd/nasm/ |
D | jsimdext.inc | 137 %define POINTER_BIT QWORD_BIT ; sizeof(POINTER)*BYTE_BIT 141 %define POINTER_BIT DWORD_BIT ; sizeof(POINTER)*BYTE_BIT 146 %define INT_BIT DWORD_BIT ; sizeof(INT)*BYTE_BIT 150 %define FP32_BIT DWORD_BIT ; sizeof(FP32)*BYTE_BIT 154 %define MMWORD_BIT QWORD_BIT ; sizeof(MMWORD)*BYTE_BIT 160 %define XMMWORD_BIT OWORD_BIT ; sizeof(XMMWORD)*BYTE_BIT 164 %define YMMWORD_BIT YWORD_BIT ; sizeof(YMMWORD)*BYTE_BIT 177 %define BYTE_BIT 8 ; CHAR_BIT in C 178 %define WORD_BIT 16 ; sizeof(WORD)*BYTE_BIT 179 %define DWORD_BIT 32 ; sizeof(DWORD)*BYTE_BIT [all …]
|
/external/libjpeg-turbo/simd/x86_64/ |
D | jcsample-sse2.asm | 101 psrlw xmm6, BYTE_BIT ; xmm6={0xFF 0x00 0xFF 0x00 ..} 131 psrlw xmm2, BYTE_BIT 133 psrlw xmm3, BYTE_BIT 246 psrlw xmm6, BYTE_BIT ; xmm6={0xFF 0x00 0xFF 0x00 ..} 280 psrlw xmm4, BYTE_BIT 282 psrlw xmm5, BYTE_BIT 289 psrlw xmm4, BYTE_BIT 291 psrlw xmm5, BYTE_BIT
|
D | jcsample-avx2.asm | 103 vpsrlw ymm6, ymm6, BYTE_BIT ; ymm6={0xFF 0x00 0xFF 0x00 ..} 146 vpsrlw ymm2, ymm0, BYTE_BIT 148 vpsrlw ymm3, ymm1, BYTE_BIT 265 vpsrlw ymm6, ymm6, BYTE_BIT ; ymm6={0xFF 0x00 0xFF 0x00 ..} 317 vpsrlw ymm0, ymm0, BYTE_BIT 319 vpsrlw ymm1, ymm1, BYTE_BIT 324 vpsrlw ymm2, ymm2, BYTE_BIT 326 vpsrlw ymm3, ymm3, BYTE_BIT
|
D | jquantf-sse2.asm | 73 psrad xmm2, (DWORD_BIT-BYTE_BIT) ; xmm2=(0123) 74 psrad xmm0, (DWORD_BIT-BYTE_BIT) ; xmm0=(4567) 77 psrad xmm3, (DWORD_BIT-BYTE_BIT) ; xmm3=(89AB) 78 psrad xmm1, (DWORD_BIT-BYTE_BIT) ; xmm1=(CDEF)
|
D | jdcolext-sse2.asm | 94 psrlw xmm4, BYTE_BIT 99 psrlw xmm5, BYTE_BIT ; xmm5=Cb(13579BDF)=CbO 101 psrlw xmm1, BYTE_BIT ; xmm1=Cr(13579BDF)=CrO 179 psrlw xmm4, BYTE_BIT ; xmm4={0xFF 0x00 0xFF 0x00 ..} 181 psrlw xmm5, BYTE_BIT ; xmm5=Y(13579BDF)=YO
|
D | jccolext-sse2.asm | 275 psrlw xmmF, BYTE_BIT ; xmmF=(21 23 25 27 29 2B 2D 2F) 276 psrlw xmmH, BYTE_BIT ; xmmH=(31 33 35 37 39 3B 3D 3F) 360 psllw xmm7, BYTE_BIT 427 psllw xmm0, BYTE_BIT 448 psllw xmm7, BYTE_BIT
|
D | jdsample-avx2.asm | 416 vpsllw ymm0, ymm0, BYTE_BIT 417 vpsllw ymm2, ymm2, BYTE_BIT 470 vpsllw ymm7, ymm7, BYTE_BIT 471 vpsllw ymm5, ymm5, BYTE_BIT
|
/external/mesa3d/src/mesa/main/ |
D | varray.c | 53 #define BYTE_BIT (1 << 1) macro 69 #define ATTRIB_FORMAT_TYPES_MASK (BYTE_BIT | UNSIGNED_BYTE_BIT | \ 78 #define ATTRIB_IFORMAT_TYPES_MASK (BYTE_BIT | UNSIGNED_BYTE_BIT | \ 93 return BYTE_BIT; in type_to_bit() 601 ? (BYTE_BIT | SHORT_BIT | FLOAT_BIT | FIXED_ES_BIT) in _mesa_VertexPointer() 638 ? (BYTE_BIT | SHORT_BIT | FLOAT_BIT | FIXED_ES_BIT) in _mesa_NormalPointer() 639 : (BYTE_BIT | SHORT_BIT | INT_BIT | in _mesa_NormalPointer() 679 : (BYTE_BIT | UNSIGNED_BYTE_BIT | in _mesa_ColorPointer() 786 const GLbitfield legalTypes = (BYTE_BIT | UNSIGNED_BYTE_BIT | in _mesa_SecondaryColorPointer() 830 ? (BYTE_BIT | SHORT_BIT | FLOAT_BIT | FIXED_ES_BIT) in _mesa_TexCoordPointer() [all …]
|