/external/qemu/target-arm/ |
D | neon_helper.c | 185 #define NEON_USAT(dest, src1, src2, type) do { \ argument 186 uint32_t tmp = (uint32_t)src1 + (uint32_t)src2; \ 193 #define NEON_FN(dest, src1, src2) NEON_USAT(dest, src1, src2, uint8_t) argument 196 #define NEON_FN(dest, src1, src2) NEON_USAT(dest, src1, src2, uint16_t) argument 201 #define NEON_SSAT(dest, src1, src2, type) do { \ argument 202 int32_t tmp = (uint32_t)src1 + (uint32_t)src2; \ 205 if (src2 > 0) { \ 213 #define NEON_FN(dest, src1, src2) NEON_SSAT(dest, src1, src2, int8_t) argument 216 #define NEON_FN(dest, src1, src2) NEON_SSAT(dest, src1, src2, int16_t) argument 221 #define NEON_USAT(dest, src1, src2, type) do { \ argument [all …]
|
D | op_helper.c | 578 uint64_t HELPER(neon_add_saturate_s64)(uint64_t src1, uint64_t src2) in HELPER() 582 res = src1 + src2; in HELPER() 583 if (((res ^ src1) & SIGNBIT64) && !((src1 ^ src2) & SIGNBIT64)) { in HELPER() 590 uint64_t HELPER(neon_add_saturate_u64)(uint64_t src1, uint64_t src2) in HELPER() 594 res = src1 + src2; in HELPER() 602 uint64_t HELPER(neon_sub_saturate_s64)(uint64_t src1, uint64_t src2) in HELPER() 606 res = src1 - src2; in HELPER() 607 if (((res ^ src1) & SIGNBIT64) && ((src1 ^ src2) & SIGNBIT64)) { in HELPER() 614 uint64_t HELPER(neon_sub_saturate_u64)(uint64_t src1, uint64_t src2) in HELPER() 618 if (src1 < src2) { in HELPER() [all …]
|
/external/bison/lib/ |
D | bitset_stats.c | 460 bitset_stats_and (bitset dst, bitset src1, bitset src2) in bitset_stats_and() argument 462 BITSET_CHECK3_ (dst, src1, src2); in bitset_stats_and() 463 BITSET_AND_ (dst->s.bset, src1->s.bset, src2->s.bset); in bitset_stats_and() 468 bitset_stats_and_cmp (bitset dst, bitset src1, bitset src2) in bitset_stats_and_cmp() argument 470 BITSET_CHECK3_ (dst, src1, src2); in bitset_stats_and_cmp() 471 return BITSET_AND_CMP_ (dst->s.bset, src1->s.bset, src2->s.bset); in bitset_stats_and_cmp() 476 bitset_stats_andn (bitset dst, bitset src1, bitset src2) in bitset_stats_andn() argument 478 BITSET_CHECK3_ (dst, src1, src2); in bitset_stats_andn() 479 BITSET_ANDN_ (dst->s.bset, src1->s.bset, src2->s.bset); in bitset_stats_andn() 484 bitset_stats_andn_cmp (bitset dst, bitset src1, bitset src2) in bitset_stats_andn_cmp() argument [all …]
|
D | vbitset.c | 502 vbitset_and (bitset dst, bitset src1, bitset src2) in vbitset_and() argument 512 vbitset_resize (dst, max (BITSET_SIZE_ (src1), BITSET_SIZE_ (src2))); in vbitset_and() 516 ssize2 = VBITSET_SIZE (src2); in vbitset_and() 519 src2p = VBITSET_WORDS (src2); in vbitset_and() 529 vbitset_and_cmp (bitset dst, bitset src1, bitset src2) in vbitset_and_cmp() argument 540 vbitset_resize (dst, max (BITSET_SIZE_ (src1), BITSET_SIZE_ (src2))); in vbitset_and_cmp() 544 ssize2 = VBITSET_SIZE (src2); in vbitset_and_cmp() 547 src2p = VBITSET_WORDS (src2); in vbitset_and_cmp() 582 vbitset_andn (bitset dst, bitset src1, bitset src2) in vbitset_andn() argument 592 vbitset_resize (dst, max (BITSET_SIZE_ (src1), BITSET_SIZE_ (src2))); in vbitset_andn() [all …]
|
D | bitset.c | 409 bitset_op4_cmp (bitset dst, bitset src1, bitset src2, bitset src3, in bitset_op4_cmp() argument 428 bitset_or (tmp, src1, src2); in bitset_op4_cmp() 433 bitset_and (tmp, src1, src2); in bitset_op4_cmp() 438 bitset_andn (tmp, src1, src2); in bitset_op4_cmp() 450 bitset_and_or_ (bitset dst, bitset src1, bitset src2, bitset src3) in bitset_and_or_() argument 452 bitset_and_or_cmp_ (dst, src1, src2, src3); in bitset_and_or_() 459 bitset_and_or_cmp_ (bitset dst, bitset src1, bitset src2, bitset src3) in bitset_and_or_cmp_() argument 461 return bitset_op4_cmp (dst, src1, src2, src3, BITSET_OP_AND_OR); in bitset_and_or_cmp_() 467 bitset_andn_or_ (bitset dst, bitset src1, bitset src2, bitset src3) in bitset_andn_or_() argument 469 bitset_andn_or_cmp_ (dst, src1, src2, src3); in bitset_andn_or_() [all …]
|
D | abitset.c | 427 abitset_and (bitset dst, bitset src1, bitset src2) in abitset_and() argument 431 bitset_word *src2p = ABITSET_WORDS (src2); in abitset_and() 441 abitset_and_cmp (bitset dst, bitset src1, bitset src2) in abitset_and_cmp() argument 446 bitset_word *src2p = ABITSET_WORDS (src2); in abitset_and_cmp() 465 abitset_andn (bitset dst, bitset src1, bitset src2) in abitset_andn() argument 469 bitset_word *src2p = ABITSET_WORDS (src2); in abitset_andn() 479 abitset_andn_cmp (bitset dst, bitset src1, bitset src2) in abitset_andn_cmp() argument 484 bitset_word *src2p = ABITSET_WORDS (src2); in abitset_andn_cmp() 503 abitset_or (bitset dst, bitset src1, bitset src2) in abitset_or() argument 507 bitset_word *src2p = ABITSET_WORDS (src2); in abitset_or() [all …]
|
D | ebitset.c | 1029 ebitset_op3_cmp (bitset dst, bitset src1, bitset src2, enum bitset_ops op) in ebitset_op3_cmp() argument 1045 ebitset_resize (dst, max (BITSET_NBITS_ (src1), BITSET_NBITS_ (src2))); in ebitset_op3_cmp() 1048 ssize2 = EBITSET_SIZE (src2); in ebitset_op3_cmp() 1055 selts2 = EBITSET_ELTS (src2); in ebitset_op3_cmp() 1177 ebitset_and_cmp (bitset dst, bitset src1, bitset src2) in ebitset_and_cmp() argument 1181 if (EBITSET_ZERO_P (src2)) in ebitset_and_cmp() 1195 return ebitset_op3_cmp (dst, src1, src2, BITSET_OP_AND); in ebitset_and_cmp() 1200 ebitset_and (bitset dst, bitset src1, bitset src2) in ebitset_and() argument 1202 ebitset_and_cmp (dst, src1, src2); in ebitset_and() 1207 ebitset_andn_cmp (bitset dst, bitset src1, bitset src2) in ebitset_andn_cmp() argument [all …]
|
D | lbitset.c | 1041 lbitset_op3_cmp (bitset dst, bitset src1, bitset src2, enum bitset_ops op) in lbitset_op3_cmp() argument 1044 lbitset_elt *selt2 = LBITSET_HEAD (src2); in lbitset_op3_cmp() 1199 lbitset_and_cmp (bitset dst, bitset src1, bitset src2) in lbitset_and_cmp() argument 1202 lbitset_elt *selt2 = LBITSET_HEAD (src2); in lbitset_and_cmp() 1219 return lbitset_op3_cmp (dst, src1, src2, BITSET_OP_AND); in lbitset_and_cmp() 1224 lbitset_and (bitset dst, bitset src1, bitset src2) in lbitset_and() argument 1226 lbitset_and_cmp (dst, src1, src2); in lbitset_and() 1231 lbitset_andn_cmp (bitset dst, bitset src1, bitset src2) in lbitset_andn_cmp() argument 1234 lbitset_elt *selt2 = LBITSET_HEAD (src2); in lbitset_andn_cmp() 1248 return lbitset_op3_cmp (dst, src1, src2, BITSET_OP_ANDN); in lbitset_andn_cmp() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
D | SDL_blit_A.c | 456 __m64 src1, src2, dst1, dst2, lmask, hmask, dsta; in BlitRGBtoRGBSurfaceAlpha128MMX() local 477 src2 = src1; /* 2 x src -> src2(ARGBARGB) */ in BlitRGBtoRGBSurfaceAlpha128MMX() 480 src2 = _mm_and_si64(src2, hmask); /* src & mask -> src2 */ in BlitRGBtoRGBSurfaceAlpha128MMX() 481 src2 = _mm_add_pi32(src2, dst2); /* dst2 + src2 -> src2 */ in BlitRGBtoRGBSurfaceAlpha128MMX() 482 src2 = _mm_srli_pi32(src2, 1); /* src2 >> 1 -> src2 */ in BlitRGBtoRGBSurfaceAlpha128MMX() 486 dst1 = _mm_add_pi32(dst1, src2); /* src2 + dst1 -> dst1 */ in BlitRGBtoRGBSurfaceAlpha128MMX() 520 __m64 src1, src2, dst1, dst2, mm_alpha, mm_zero, dsta; in BlitRGBtoRGBSurfaceAlphaMMX() local 536 src2 = _mm_cvtsi32_si64(*srcp); /* src(ARGB) -> src2 (0000ARGB)*/ in BlitRGBtoRGBSurfaceAlphaMMX() 537 src2 = _mm_unpacklo_pi8(src2, mm_zero); /* 0A0R0G0B -> src2 */ in BlitRGBtoRGBSurfaceAlphaMMX() 542 src2 = _mm_sub_pi16(src2, dst1); /* src2 - dst2 -> src2 */ in BlitRGBtoRGBSurfaceAlphaMMX() [all …]
|
/external/opencore/codecs_v2/video/avc_h264/enc/src/ |
D | sad_inline.h | 37 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask) in sad_4pixel() argument 41 x7 = src2 ^ src1; /* check odd/even combination */ in sad_4pixel() 42 if ((uint32)src2 >= (uint32)src1) in sad_4pixel() 44 src1 = src2 - src1; /* subs */ in sad_4pixel() 48 src1 = src1 - src2; in sad_4pixel() 184 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask) 190 EOR x7, src2, src1; /* check odd/even combination */ 191 SUBS src1, src2, src1; 203 __inline int32 sad_4pixelN(int32 src1, int32 src2, int32 mask) 209 EOR x7, src2, src1; /* check odd/even combination */ [all …]
|
/external/opencore/codecs_v2/video/m4v_h263/enc/src/ |
D | sad_inline.h | 42 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask) in sad_4pixel() argument 46 x7 = src2 ^ src1; /* check odd/even combination */ in sad_4pixel() 47 if ((uint32)src2 >= (uint32)src1) in sad_4pixel() 49 src1 = src2 - src1; /* subs */ in sad_4pixel() 53 src1 = src1 - src2; in sad_4pixel() 189 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask) 195 EOR x7, src2, src1; /* check odd/even combination */ 196 SUBS src1, src2, src1; 208 __inline int32 sad_4pixelN(int32 src1, int32 src2, int32 mask) 214 EOR x7, src2, src1; /* check odd/even combination */ [all …]
|
D | motion_comp.cpp | 1721 Int *src1, *src2; in Copy_MB_from_Vop() local 1728 src2 = yChan[i+1]; in Copy_MB_from_Vop() 1748 *src2++ = (Int)(temp & 0xFF); in Copy_MB_from_Vop() 1749 *src2++ = (Int)((temp >> 8) & 0xFF); in Copy_MB_from_Vop() 1750 *src2++ = (Int)((temp >> 16) & 0xFF); in Copy_MB_from_Vop() 1751 *src2++ = (Int)((temp >> 24) & 0xFF); in Copy_MB_from_Vop() 1799 Int *src1, *src2; in Copy_MB_into_Vop() local 1808 src2 = yChan[i+1]; in Copy_MB_into_Vop() 1835 tmp = (*src2++); in Copy_MB_into_Vop() 1838 tmp = (*src2++); in Copy_MB_into_Vop() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/audio/ |
D | SDL_mixer.c | 194 Sint16 src1, src2; in SDL_MixAudio() 203 src2 = ((dst[1])<<8|dst[0]); in SDL_MixAudio() 205 dst_sample = src1+src2; in SDL_MixAudio() 226 Sint16 src1, src2; in SDL_MixAudio() 235 src2 = ((dst[0])<<8|dst[1]); in SDL_MixAudio() 237 dst_sample = src1+src2; in SDL_MixAudio()
|
/external/webkit/JavaScriptCore/interpreter/ |
D | Interpreter.cpp | 1535 JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue(callFrame); in privateExecute() local 1536 if (JSFastMath::canDoFastBitwiseOperations(src1, src2)) in privateExecute() 1537 callFrame[dst] = JSFastMath::equal(src1, src2); in privateExecute() 1539 JSValuePtr result = jsBoolean(JSValuePtr::equalSlowCase(callFrame, src1, src2)); in privateExecute() 1575 JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue(callFrame); in privateExecute() local 1576 if (JSFastMath::canDoFastBitwiseOperations(src1, src2)) in privateExecute() 1577 callFrame[dst] = JSFastMath::notEqual(src1, src2); in privateExecute() 1579 JSValuePtr result = jsBoolean(!JSValuePtr::equalSlowCase(callFrame, src1, src2)); in privateExecute() 1615 JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue(callFrame); in privateExecute() local 1616 callFrame[dst] = jsBoolean(JSValuePtr::strictEqual(src1, src2)); in privateExecute() [all …]
|
/external/libpng/contrib/gregbook/ |
D | rpng2-x.c | 1373 uch *src, *src2=NULL; in rpng2_x_display_row() local 1424 src2 = bg_data + row*bg_rowbytes; in rpng2_x_display_row() 1455 bg_red = *src2++; in rpng2_x_display_row() 1456 bg_green = *src2++; in rpng2_x_display_row() 1457 bg_blue = *src2++; in rpng2_x_display_row() 1499 src2 = bg_data + row*bg_rowbytes; in rpng2_x_display_row() 1523 bg_red = *src2++; in rpng2_x_display_row() 1524 bg_green = *src2++; in rpng2_x_display_row() 1525 bg_blue = *src2++; in rpng2_x_display_row() 1614 uch *src, *src2=NULL; in rpng2_x_redisplay_image() local [all …]
|
D | rpng2-win.c | 1050 uch *src, *src2=NULL, *dest; in rpng2_win_display_row() local 1077 src2 = bg_data + row*bg_rowbytes; in rpng2_win_display_row() 1096 bg_red = *src2++; in rpng2_win_display_row() 1097 bg_green = *src2++; in rpng2_win_display_row() 1098 bg_blue = *src2++; in rpng2_win_display_row()
|
/external/jpeg/ |
D | jccolor.c | 324 UINT32 src2 = *in++; in copyquads() local 326 *out0++ = PACK(B0(src0), B3(src0), B2(src1), B1(src2)); in copyquads() 327 *out1++ = PACK(B1(src0), B0(src1), B3(src1), B2(src2)); in copyquads() 328 *out2++ = PACK(B2(src0), B1(src1), B0(src2), B3(src2)); in copyquads()
|
/external/webkit/JavaScriptCore/jit/ |
D | JITInlineMethods.h | 83 ALWAYS_INLINE void JIT::emitGetVirtualRegisters(int src1, RegisterID dst1, int src2, RegisterID dst… in emitGetVirtualRegisters() argument 85 if (src2 == m_lastResultBytecodeRegister) { in emitGetVirtualRegisters() 86 emitGetVirtualRegister(src2, dst2); in emitGetVirtualRegisters() 90 emitGetVirtualRegister(src2, dst2); in emitGetVirtualRegisters()
|
D | JITArithmetic.cpp | 662 void JIT::compileBinaryArithOp(OpcodeID opcodeID, unsigned dst, unsigned src1, unsigned src2, Opera… in compileBinaryArithOp() argument 670 emitGetVirtualRegisters(src1, X86::eax, src2, X86::edx); in compileBinaryArithOp() 679 emitJumpSlowCaseIfNotJSCell(X86::edx, src2); in compileBinaryArithOp() 736 emitJumpSlowCaseIfNotJSCell(X86::edx, src2); in compileBinaryArithOp() 813 …tor<SlowCaseEntry>::iterator& iter, unsigned dst, unsigned src1, unsigned src2, OperandTypes types) in compileBinaryArithOpSlowCase() argument 822 linkSlowCaseIfNotJSCell(iter, src2); in compileBinaryArithOpSlowCase() 831 linkSlowCaseIfNotJSCell(iter, src2); in compileBinaryArithOpSlowCase() 842 emitPutJITStubArgFromVirtualRegister(src2, 2, X86::ecx); in compileBinaryArithOpSlowCase()
|
D | JIT.h | 424 … void compileBinaryArithOp(OpcodeID, unsigned dst, unsigned src1, unsigned src2, OperandTypes opi); 425 …D, Vector<SlowCaseEntry>::iterator&, unsigned dst, unsigned src1, unsigned src2, OperandTypes opi); 429 void emitGetVirtualRegisters(int src1, RegisterID dst1, int src2, RegisterID dst2); 511 void printBytecodeOperandTypes(unsigned src1, unsigned src2);
|
/external/webkit/JavaScriptCore/parser/ |
D | Nodes.cpp | 1125 RegisterID* src2 = generator.emitNode(m_expr2.get()); in emitBytecode() local 1126 …naryOp(opcodeID, generator.finalDestination(dst, src1.get()), src1.get(), src2, OperandTypes(m_exp… in emitBytecode() 1138 RegisterID* src2 = generator.emitNode(m_expr2.get()); in emitBytecode() local 1139 …urn generator.emitEqualityOp(op_eq, generator.finalDestination(dst, src1.get()), src1.get(), src2); in emitBytecode() 1145 RegisterID* src2 = generator.emitNode(m_expr2.get()); in emitBytecode() local 1146 …nerator.emitEqualityOp(op_stricteq, generator.finalDestination(dst, src1.get()), src1.get(), src2); in emitBytecode() 1152 RegisterID* src2 = generator.emitNode(m_expr2.get()); in emitBytecode() local 1153 …return generator.emitBinaryOp(opcodeID(), generator.finalDestination(dst, src1.get()), src2, src1.… in emitBytecode() 1159 RegisterID* src2 = generator.emitNode(m_expr2.get()); in emitBytecode() local 1161 …ryOp(opcodeID(), generator.finalDestination(dst, src1.get()), src1.get(), src2, OperandTypes(m_exp… in emitBytecode() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/wincommon/ |
D | SDL_sysmouse.c | 83 static void memxor(Uint8 *dst, Uint8 *src1, Uint8 *src2, int len) in memxor() argument 86 *dst++ = (*src1++)^(*src2++); in memxor()
|
/external/qemu/audio/ |
D | fmodaudio.c | 145 st_sample_t *src2 = NULL; in fmod_write_sample() local 149 src2 = hw->mix_buf; in fmod_write_sample() 160 hw->clip (dst, src2, src_len2); in fmod_write_sample()
|
D | dsoundaudio.c | 451 st_sample_t *src2 = NULL; in dsound_write_sample() local 455 src2 = hw->mix_buf; in dsound_write_sample() 466 hw->clip (dst, src2, src_len2); in dsound_write_sample()
|
/external/webkit/JavaScriptCore/bytecompiler/ |
D | BytecodeGenerator.cpp | 791 …inaryOp(OpcodeID opcodeID, RegisterID* dst, RegisterID* src1, RegisterID* src2, OperandTypes types) in emitBinaryOp() argument 796 instructions().append(src2->index()); in emitBinaryOp() 806 …deGenerator::emitEqualityOp(OpcodeID opcodeID, RegisterID* dst, RegisterID* src1, RegisterID* src2) in emitEqualityOp() argument 816 && m_codeBlock->isConstantRegisterIndex(src2->index()) in emitEqualityOp() 817 …&& m_codeBlock->constantRegister(src2->index() - m_codeBlock->m_numVars).jsValue(m_scopeChain->glo… in emitEqualityOp() 818 …const UString& value = asString(m_codeBlock->constantRegister(src2->index() - m_codeBlock->m_numVa… in emitEqualityOp() 867 instructions().append(src2->index()); in emitEqualityOp()
|