/external/speex/libspeex/ |
D | kiss_fft.c | 96 kiss_fft_cpx scratch[6]; in kf_bfly4() local 110 C_MUL(scratch[0],Fout[m] , *tw1 ); in kf_bfly4() 111 C_MUL(scratch[1],Fout[m2] , *tw2 ); in kf_bfly4() 112 C_MUL(scratch[2],Fout[m3] , *tw3 ); in kf_bfly4() 114 C_SUB( scratch[5] , *Fout, scratch[1] ); in kf_bfly4() 115 C_ADDTO(*Fout, scratch[1]); in kf_bfly4() 116 C_ADD( scratch[3] , scratch[0] , scratch[2] ); in kf_bfly4() 117 C_SUB( scratch[4] , scratch[0] , scratch[2] ); in kf_bfly4() 118 C_SUB( Fout[m2], *Fout, scratch[3] ); in kf_bfly4() 122 C_ADDTO( *Fout , scratch[3] ); in kf_bfly4() [all …]
|
/external/libopus/celt/mips/ |
D | kiss_fft_mipsr1.h | 99 kiss_fft_cpx scratch[13]; in kf_bfly5() local 128 scratch[0] = *Fout0; in kf_bfly5() 131 C_MUL(scratch[1] ,*Fout1, tw[u*fstride]); in kf_bfly5() 132 C_MUL(scratch[2] ,*Fout2, tw[2*u*fstride]); in kf_bfly5() 133 C_MUL(scratch[3] ,*Fout3, tw[3*u*fstride]); in kf_bfly5() 134 C_MUL(scratch[4] ,*Fout4, tw[4*u*fstride]); in kf_bfly5() 136 C_ADD( scratch[7],scratch[1],scratch[4]); in kf_bfly5() 137 C_SUB( scratch[10],scratch[1],scratch[4]); in kf_bfly5() 138 C_ADD( scratch[8],scratch[2],scratch[3]); in kf_bfly5() 139 C_SUB( scratch[9],scratch[2],scratch[3]); in kf_bfly5() [all …]
|
/external/eigen/unsupported/Eigen/src/FFT/ |
D | ei_kissfft_impl.h | 111 Complex scratch[6]; in bfly4() local 114 scratch[0] = Fout[k+m] * m_twiddles[k*fstride]; in bfly4() 115 scratch[1] = Fout[k+2*m] * m_twiddles[k*fstride*2]; in bfly4() 116 scratch[2] = Fout[k+3*m] * m_twiddles[k*fstride*3]; in bfly4() 117 scratch[5] = Fout[k] - scratch[1]; in bfly4() 119 Fout[k] += scratch[1]; in bfly4() 120 scratch[3] = scratch[0] + scratch[2]; in bfly4() 121 scratch[4] = scratch[0] - scratch[2]; in bfly4() 122 …scratch[4] = Complex( scratch[4].imag()*negative_if_inverse , -scratch[4].real()* negative_if_inve… in bfly4() 124 Fout[k+2*m] = Fout[k] - scratch[3]; in bfly4() [all …]
|
/external/libopus/celt/ |
D | kiss_fft.c | 137 kiss_fft_cpx scratch[6]; in kf_bfly4() local 149 C_MUL(scratch[0],Fout[m] , *tw1 ); in kf_bfly4() 150 C_MUL(scratch[1],Fout[m2] , *tw2 ); in kf_bfly4() 151 C_MUL(scratch[2],Fout[m3] , *tw3 ); in kf_bfly4() 153 C_SUB( scratch[5] , *Fout, scratch[1] ); in kf_bfly4() 154 C_ADDTO(*Fout, scratch[1]); in kf_bfly4() 155 C_ADD( scratch[3] , scratch[0] , scratch[2] ); in kf_bfly4() 156 C_SUB( scratch[4] , scratch[0] , scratch[2] ); in kf_bfly4() 157 C_SUB( Fout[m2], *Fout, scratch[3] ); in kf_bfly4() 161 C_ADDTO( *Fout , scratch[3] ); in kf_bfly4() [all …]
|
/external/boringssl/src/decrepit/xts/ |
D | xts.c | 71 } tweak, scratch; in CRYPTO_xts128_encrypt() local 84 OPENSSL_memcpy(scratch.c, inp, 16); in CRYPTO_xts128_encrypt() 85 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt() 86 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt() 88 scratch.u[0] = ((uint64_t *)inp)[0] ^ tweak.u[0]; in CRYPTO_xts128_encrypt() 89 scratch.u[1] = ((uint64_t *)inp)[1] ^ tweak.u[1]; in CRYPTO_xts128_encrypt() 91 (*ctx->block1)(scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt() 93 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt() 94 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt() 95 OPENSSL_memcpy(out, scratch.c, 16); in CRYPTO_xts128_encrypt() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_scratch.c | 39 struct nouveau_scratch_state *scratch = in nouveau_get_scratch() local 40 &to_nouveau_context(ctx)->scratch; in nouveau_get_scratch() 43 if (scratch->buf && size <= NOUVEAU_SCRATCH_SIZE - scratch->offset) { in nouveau_get_scratch() 44 nouveau_bo_ref(scratch->bo[scratch->index], bo); in nouveau_get_scratch() 46 buf = scratch->buf + scratch->offset; in nouveau_get_scratch() 47 *offset = scratch->offset; in nouveau_get_scratch() 48 scratch->offset += size; in nouveau_get_scratch() 51 scratch->index = (scratch->index + 1) % NOUVEAU_SCRATCH_COUNT; in nouveau_get_scratch() 52 nouveau_bo_ref(scratch->bo[scratch->index], bo); in nouveau_get_scratch() 55 buf = scratch->buf = (*bo)->map; in nouveau_get_scratch() [all …]
|
/external/v8/src/ic/arm64/ |
D | stub-cache-arm64.cc | 29 Register offset, Register scratch, Register scratch2, in ProbeTable() argument 46 DCHECK(!AreAliased(name, offset, scratch, scratch2, scratch3)); in ProbeTable() 52 __ Mov(scratch, key_offset); in ProbeTable() 54 scratch, scratch, in ProbeTable() 58 __ Ldr(scratch2, MemOperand(scratch)); in ProbeTable() 63 __ Ldr(scratch2, MemOperand(scratch, map_off_addr - key_off_addr)); in ProbeTable() 69 __ Ldr(scratch, MemOperand(scratch, value_off_addr - key_off_addr)); in ProbeTable() 80 __ Add(scratch, scratch, Code::kHeaderSize - kHeapObjectTag); in ProbeTable() 81 __ Br(scratch); in ProbeTable() 88 Register name, Register scratch, Register extra, in GenerateProbe() argument [all …]
|
/external/toybox/lib/ |
D | interestingtimes.c | 66 int scan_key_getsize(char *scratch, int miliwait, unsigned *xx, unsigned *yy) in scan_key_getsize() argument 70 if (512&(key = scan_key(scratch, miliwait))) { in scan_key_getsize() 148 int scan_key(char *scratch, int miliwait) in scan_key() argument 160 if (*scratch) { in scan_key() 166 scratch[(1+*scratch)&15] = 0; in scan_key() 167 sscanf(scratch+1, "\033%n[%n%3u%n;%n%3u%nR%n", pos, pos+1, &y, in scan_key() 171 *scratch = 0; in scan_key() 173 } else for (i=0; i<6; i++) if (pos[i]==*scratch) maybe = 1; in scan_key() 178 for (j = 0; j<*scratch; j++) if (scratch[j+1] != test[j]) break; in scan_key() 179 if (j == *scratch) { in scan_key() [all …]
|
/external/v8/src/ic/arm/ |
D | stub-cache-arm.cc | 21 Register offset, Register scratch, Register scratch2, in ProbeTable() argument 40 Register base_addr = scratch; in ProbeTable() 41 scratch = no_reg; in ProbeTable() 81 Register name, Register scratch, Register extra, in GenerateProbe() argument 90 DCHECK(!AreAliased(receiver, name, scratch, extra, extra2, extra3)); in GenerateProbe() 93 DCHECK(!scratch.is(no_reg)); in GenerateProbe() 112 DCHECK(!AreAliased(vector, slot, scratch, extra, extra2, extra3)); in GenerateProbe() 124 __ ldr(scratch, FieldMemOperand(name, Name::kHashFieldOffset)); in GenerateProbe() 126 __ add(scratch, scratch, Operand(ip)); in GenerateProbe() 127 __ eor(scratch, scratch, Operand(kPrimaryMagic)); in GenerateProbe() [all …]
|
/external/v8/src/ic/mips/ |
D | stub-cache-mips.cc | 21 Register offset, Register scratch, Register scratch2, in ProbeTable() argument 40 Register base_addr = scratch; in ProbeTable() 41 scratch = no_reg; in ProbeTable() 81 Register name, Register scratch, Register extra, in GenerateProbe() argument 90 DCHECK(!AreAliased(receiver, name, scratch, extra, extra2, extra3)); in GenerateProbe() 93 DCHECK(!scratch.is(no_reg)); in GenerateProbe() 112 DCHECK(!AreAliased(vector, slot, scratch, extra, extra2, extra3)); in GenerateProbe() 124 __ lw(scratch, FieldMemOperand(name, Name::kHashFieldOffset)); in GenerateProbe() 126 __ Addu(scratch, scratch, at); in GenerateProbe() 127 __ Xor(scratch, scratch, Operand(kPrimaryMagic)); in GenerateProbe() [all …]
|
/external/v8/src/ic/ppc/ |
D | stub-cache-ppc.cc | 21 Register offset, Register scratch, Register scratch2, in ProbeTable() argument 41 Register base_addr = scratch; in ProbeTable() 42 scratch = no_reg; in ProbeTable() 93 Register name, Register scratch, Register extra, in GenerateProbe() argument 108 DCHECK(!AreAliased(receiver, name, scratch, extra, extra2, extra3)); in GenerateProbe() 111 DCHECK(!scratch.is(no_reg)); in GenerateProbe() 130 DCHECK(!AreAliased(vector, slot, scratch, extra, extra2, extra3)); in GenerateProbe() 142 __ lwz(scratch, FieldMemOperand(name, Name::kHashFieldOffset)); in GenerateProbe() 144 __ add(scratch, scratch, ip); in GenerateProbe() 145 __ Xor(scratch, scratch, Operand(kPrimaryMagic)); in GenerateProbe() [all …]
|
D | ic-ppc.cc | 237 Register scratch = r7; in KeyedStoreGenerateMegamorphicHelper() local 240 scratch, address)); in KeyedStoreGenerateMegamorphicHelper() 244 __ mov(scratch, Operand(masm->isolate()->factory()->fixed_array_map())); in KeyedStoreGenerateMegamorphicHelper() 245 __ cmp(elements_map, scratch); in KeyedStoreGenerateMegamorphicHelper() 254 __ SmiToPtrArrayOffset(scratch, key); in KeyedStoreGenerateMegamorphicHelper() 255 __ LoadPX(scratch, MemOperand(address, scratch)); in KeyedStoreGenerateMegamorphicHelper() 256 __ Cmpi(scratch, Operand(masm->isolate()->factory()->the_hole_value()), r0); in KeyedStoreGenerateMegamorphicHelper() 258 __ JumpIfDictionaryInPrototypeChain(receiver, elements_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 268 __ AddSmiLiteral(scratch, key, Smi::FromInt(1), r0); in KeyedStoreGenerateMegamorphicHelper() 269 __ StoreP(scratch, FieldMemOperand(receiver, JSArray::kLengthOffset), r0); in KeyedStoreGenerateMegamorphicHelper() [all …]
|
/external/v8/src/ic/s390/ |
D | stub-cache-s390.cc | 21 Register offset, Register scratch, Register scratch2, in ProbeTable() argument 41 Register base_addr = scratch; in ProbeTable() 42 scratch = no_reg; in ProbeTable() 91 Register name, Register scratch, Register extra, in GenerateProbe() argument 106 DCHECK(!AreAliased(receiver, name, scratch, extra, extra2, extra3)); in GenerateProbe() 109 DCHECK(!scratch.is(no_reg)); in GenerateProbe() 128 DCHECK(!AreAliased(vector, slot, scratch, extra, extra2, extra3)); in GenerateProbe() 140 __ LoadlW(scratch, FieldMemOperand(name, Name::kHashFieldOffset)); in GenerateProbe() 142 __ AddP(scratch, scratch, ip); in GenerateProbe() 143 __ XorP(scratch, scratch, Operand(kPrimaryMagic)); in GenerateProbe() [all …]
|
/external/v8/src/ic/mips64/ |
D | stub-cache-mips64.cc | 21 Register offset, Register scratch, Register scratch2, in ProbeTable() argument 40 Register base_addr = scratch; in ProbeTable() 41 scratch = no_reg; in ProbeTable() 84 Register name, Register scratch, Register extra, in GenerateProbe() argument 94 DCHECK(!AreAliased(receiver, name, scratch, extra, extra2, extra3)); in GenerateProbe() 97 DCHECK(!scratch.is(no_reg)); in GenerateProbe() 116 DCHECK(!AreAliased(vector, slot, scratch, extra, extra2, extra3)); in GenerateProbe() 128 __ lwu(scratch, FieldMemOperand(name, Name::kHashFieldOffset)); in GenerateProbe() 130 __ Addu(scratch, scratch, at); in GenerateProbe() 131 __ Xor(scratch, scratch, Operand(kPrimaryMagic)); in GenerateProbe() [all …]
|
/external/v8/src/ppc/ |
D | macro-assembler-ppc.cc | 177 void MacroAssembler::Drop(Register count, Register scratch) { in Drop() argument 178 ShiftLeftImm(scratch, count, Operand(kPointerSizeLog2)); in Drop() 179 add(sp, sp, scratch); in Drop() 282 void MacroAssembler::InNewSpace(Register object, Register scratch, in InNewSpace() argument 285 CheckPageFlag(object, scratch, MemoryChunk::kIsInNewSpaceMask, cond, branch); in InNewSpace() 466 Register scratch) { in RecordWriteCodeEntryField() argument 476 DCHECK(scratch.is(r8)); in RecordWriteCodeEntryField() 480 addi(scratch, js_function, Operand(offset - kHeapObjectTag)); in RecordWriteCodeEntryField() 481 LoadP(ip, MemOperand(scratch)); in RecordWriteCodeEntryField() 490 CheckPageFlag(code_entry, scratch, in RecordWriteCodeEntryField() [all …]
|
D | macro-assembler-ppc.h | 158 void Drop(Register count, Register scratch = r0); 198 Register addr, Register scratch, 202 void CheckPageFlag(Register object, Register scratch, int mask, Condition cc, 207 void JumpIfNotInNewSpace(Register object, Register scratch, Label* branch) { in JumpIfNotInNewSpace() argument 208 InNewSpace(object, scratch, eq, branch); in JumpIfNotInNewSpace() 213 void JumpIfInNewSpace(Register object, Register scratch, Label* branch) { in JumpIfInNewSpace() argument 214 InNewSpace(object, scratch, ne, branch); in JumpIfInNewSpace() 235 Register object, int offset, Register value, Register scratch, 245 Register context, int offset, Register value, Register scratch, 251 RecordWriteField(context, offset + kHeapObjectTag, value, scratch, [all …]
|
/external/v8/src/mips64/ |
D | macro-assembler-mips64.cc | 199 Register scratch, in InNewSpace() argument 203 CheckPageFlag(object, scratch, MemoryChunk::kIsInNewSpaceMask, cc, branch); in InNewSpace() 413 Register scratch) { in RecordWriteCodeEntryField() argument 423 DCHECK(scratch.is(a5)); in RecordWriteCodeEntryField() 427 Daddu(scratch, js_function, Operand(offset - kHeapObjectTag)); in RecordWriteCodeEntryField() 428 ld(at, MemOperand(scratch)); in RecordWriteCodeEntryField() 437 CheckPageFlag(code_entry, scratch, in RecordWriteCodeEntryField() 439 CheckPageFlag(js_function, scratch, in RecordWriteCodeEntryField() 442 const Register dst = scratch; in RecordWriteCodeEntryField() 475 Register scratch, in RememberedSetHelper() argument [all …]
|
D | macro-assembler-mips64.h | 276 void Swap(Register reg1, Register reg2, Register scratch = no_reg); 415 Register scratch, 420 Register scratch, 428 Register scratch, in JumpIfNotInNewSpace() argument 430 InNewSpace(object, scratch, eq, branch); in JumpIfNotInNewSpace() 436 Register scratch, in JumpIfInNewSpace() argument 438 InNewSpace(object, scratch, ne, branch); in JumpIfInNewSpace() 468 Register scratch, 482 Register scratch, 492 scratch, [all …]
|
/external/v8/src/ic/x64/ |
D | stub-cache-x64.cc | 75 Register name, Register scratch, Register extra, in GenerateProbe() argument 86 DCHECK(!scratch.is(receiver)); in GenerateProbe() 87 DCHECK(!scratch.is(name)); in GenerateProbe() 90 DCHECK(!scratch.is(no_reg)); in GenerateProbe() 102 DCHECK(!AreAliased(vector, slot, scratch)); in GenerateProbe() 107 DCHECK(!AreAliased(vector, slot, scratch)); in GenerateProbe() 119 __ movl(scratch, FieldOperand(name, Name::kHashFieldOffset)); in GenerateProbe() 121 __ addl(scratch, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateProbe() 122 __ xorp(scratch, Immediate(kPrimaryMagic)); in GenerateProbe() 125 __ andp(scratch, Immediate((kPrimaryTableSize - 1) << kCacheIndexShift)); in GenerateProbe() [all …]
|
/external/v8/src/mips/ |
D | macro-assembler-mips.cc | 183 Register scratch, in InNewSpace() argument 187 CheckPageFlag(object, scratch, MemoryChunk::kIsInNewSpaceMask, cc, branch); in InNewSpace() 397 Register scratch) { in RecordWriteCodeEntryField() argument 407 DCHECK(scratch.is(t1)); in RecordWriteCodeEntryField() 411 Addu(scratch, js_function, Operand(offset - kHeapObjectTag)); in RecordWriteCodeEntryField() 412 lw(at, MemOperand(scratch)); in RecordWriteCodeEntryField() 421 CheckPageFlag(code_entry, scratch, in RecordWriteCodeEntryField() 423 CheckPageFlag(js_function, scratch, in RecordWriteCodeEntryField() 426 const Register dst = scratch; in RecordWriteCodeEntryField() 459 Register scratch, in RememberedSetHelper() argument [all …]
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_buffer.c | 548 if (!nv->scratch.nr_runout) in nouveau_scratch_runout_release() 551 --nv->scratch.nr_runout; in nouveau_scratch_runout_release() 552 nouveau_bo_ref(NULL, &nv->scratch.runout[nv->scratch.nr_runout]); in nouveau_scratch_runout_release() 553 } while (nv->scratch.nr_runout); in nouveau_scratch_runout_release() 555 FREE(nv->scratch.runout); in nouveau_scratch_runout_release() 556 nv->scratch.end = 0; in nouveau_scratch_runout_release() 557 nv->scratch.runout = NULL; in nouveau_scratch_runout_release() 567 const unsigned n = nv->scratch.nr_runout++; in nouveau_scratch_runout() 569 nv->scratch.runout = REALLOC(nv->scratch.runout, in nouveau_scratch_runout() 570 (n + 0) * sizeof(*nv->scratch.runout), in nouveau_scratch_runout() [all …]
|
/external/v8/src/debug/arm64/ |
D | debug-arm64.cc | 87 Register scratch = x10; in GenerateDebugBreakStub() local 92 __ Mov(scratch, Smi::FromInt(LiveEdit::kFramePaddingValue)); in GenerateDebugBreakStub() 93 __ PushMultipleTimes(scratch, LiveEdit::kFramePaddingInitialSize); in GenerateDebugBreakStub() 94 __ Mov(scratch, Smi::FromInt(LiveEdit::kFramePaddingInitialSize)); in GenerateDebugBreakStub() 95 __ Push(scratch); in GenerateDebugBreakStub() 134 __ Mov(scratch, after_break_target); in GenerateDebugBreakStub() 135 __ Ldr(scratch, MemOperand(scratch)); in GenerateDebugBreakStub() 136 __ Br(scratch); in GenerateDebugBreakStub() 153 Register scratch = temps.AcquireX(); in GenerateFrameDropperLiveEdit() local 162 __ Ldr(scratch, FieldMemOperand(x1, JSFunction::kSharedFunctionInfoOffset)); in GenerateFrameDropperLiveEdit() [all …]
|
/external/gemmlowp/meta/ |
D | multi_thread_gemm.h | 33 void CacheFriendlyMatrixMatrix(std::uint8_t* scratch, const IN_TYPE* lhs, in CacheFriendlyMatrixMatrix() argument 45 scratch, lhs, rhs + i * chunk_size, m, optimal_n, k, in CacheFriendlyMatrixMatrix() 50 scratch, lhs, rhs + chunks_count_less_one * chunk_size, m, n_left, k, in CacheFriendlyMatrixMatrix() 53 operation.ExecuteCacheFriendlyMatrixMatrix(scratch, lhs, rhs, m, n, k, in CacheFriendlyMatrixMatrix() 69 void ExecuteMatrixMatrix(std::uint8_t* scratch, const std::uint8_t* lhs, in ExecuteMatrixMatrix() argument 73 CacheFriendlyMatrixMatrix(scratch, lhs, rhs, m, n, k, result, result_stride, in ExecuteMatrixMatrix() 77 void ExecuteCacheFriendlyMatrixMatrix(std::uint8_t* scratch, in ExecuteCacheFriendlyMatrixMatrix() argument 83 gemm_q8_strided(scratch, lhs, rhs, m, n, k, lhs_offset, rhs_offset, in ExecuteCacheFriendlyMatrixMatrix() 108 void ExecuteMatrixMatrix(std::uint8_t* scratch, const std::uint8_t* lhs, in ExecuteMatrixMatrix() argument 112 CacheFriendlyMatrixMatrix(scratch, lhs, rhs, m, n, k, result, result_stride, in ExecuteMatrixMatrix() [all …]
|
D | single_thread_gemm.h | 8601 void gemm_q8_0_0_0_aligned(std::uint8_t* scratch, const std::uint8_t* lhs, in gemm_q8_0_0_0_aligned() argument 8617 std::uint8_t* zipped_lhs = scratch; in gemm_q8_0_0_0_aligned() 8620 std::uint8_t* zipped_rhs = scratch + zipped_chunk_size; in gemm_q8_0_0_0_aligned() 8627 scratch + zipped_chunk_size + zipped_rhs_size); in gemm_q8_0_0_0_aligned() 8656 void gemm_q8_0_0_1_aligned(std::uint8_t* scratch, const std::uint8_t* lhs, in gemm_q8_0_0_1_aligned() argument 8672 std::uint8_t* zipped_lhs = scratch; in gemm_q8_0_0_1_aligned() 8675 std::uint8_t* zipped_rhs = scratch + zipped_chunk_size; in gemm_q8_0_0_1_aligned() 8682 scratch + zipped_chunk_size + zipped_rhs_size); in gemm_q8_0_0_1_aligned() 8711 void gemm_q8_0_0_2_aligned(std::uint8_t* scratch, const std::uint8_t* lhs, in gemm_q8_0_0_2_aligned() argument 8727 std::uint8_t* zipped_lhs = scratch; in gemm_q8_0_0_2_aligned() [all …]
|
/external/vixl/src/aarch32/ |
D | macro-assembler-aarch32.cc | 548 Register scratch, in MemOperandComputationHelper() argument 552 VIXL_ASSERT(!AliasesAvailableScratchRegister(scratch)); in MemOperandComputationHelper() 592 sub(cond, scratch, base, sub_pc_offset); in MemOperandComputationHelper() 594 if (add_offset == 0) return MemOperand(scratch, load_store_offset); in MemOperandComputationHelper() 597 base = scratch; in MemOperandComputationHelper() 603 add(cond, scratch, base, add_offset); in MemOperandComputationHelper() 604 return MemOperand(scratch, load_store_offset); in MemOperandComputationHelper() 751 UseScratchRegisterScope scratch(this); in Printf() local 752 scratch.ExcludeAll(); in Printf() 974 Register scratch = temps.Acquire(); in Delegate() local [all …]
|