Searched defs:shift_amount (Results 1 - 25 of 25) sorted by relevance

/external/webrtc/webrtc/common_audio/
H A Dlapped_transform.cc60 size_t shift_amount,
73 shift_amount,
55 LappedTransform(size_t num_in_channels, size_t num_out_channels, size_t chunk_length, const float* window, size_t block_length, size_t shift_amount, Callback* callback) argument
H A Dblocker.cc106 size_t shift_amount,
112 initial_delay_(block_size_ - gcd(chunk_size, shift_amount)),
119 shift_amount_(shift_amount),
101 Blocker(size_t chunk_size, size_t block_size, size_t num_input_channels, size_t num_output_channels, const float* window, size_t shift_amount, BlockerCallback* callback) argument
/external/valgrind/memcheck/tests/vbit-test/
H A Dbinary.c121 unsigned shift_amount = opnd2->value.u8; local
123 expected_vbits = shl_vbits(opnd1->vbits, shift_amount);
134 unsigned shift_amount = opnd2->value.u8; local
136 expected_vbits = shr_vbits(opnd1->vbits, shift_amount);
147 unsigned shift_amount = opnd2->value.u8; local
149 expected_vbits = sar_vbits(opnd1->vbits, shift_amount);
H A Dvbits.c969 shl_vbits(vbits_t v, unsigned shift_amount) argument
971 assert(shift_amount < v.num_bits);
976 case 8: new.bits.u8 <<= shift_amount; break;
977 case 16: new.bits.u16 <<= shift_amount; break;
978 case 32: new.bits.u32 <<= shift_amount; break;
979 case 64: new.bits.u64 <<= shift_amount; break;
991 shr_vbits(vbits_t v, unsigned shift_amount) argument
993 assert(shift_amount < v.num_bits);
998 case 8: new.bits.u8 >>= shift_amount; break;
999 case 16: new.bits.u16 >>= shift_amount; brea
1013 sar_vbits(vbits_t v, unsigned shift_amount) argument
[all...]
/external/tensorflow/tensorflow/compiler/tf2xla/
H A Dxla_helpers.cc67 xla::ComputationDataHandle shift_amount = local
70 builder->ShiftLeft(partial_mask, shift_amount), shift_amount);
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
H A Dgeom.h218 inline void Shift(const Point2f shift_amount) { argument
219 left_ += shift_amount.x;
220 top_ += shift_amount.y;
221 right_ += shift_amount.x;
222 bottom_ += shift_amount.y;
279 inline void Shift(const Point2f shift_amount) { argument
280 x_ += shift_amount.x;
281 y_ += shift_amount.y;
/external/v8/src/
H A Dbignum.cc219 void Bignum::ShiftLeft(int shift_amount) { argument
221 exponent_ += shift_amount / kBigitSize;
222 int local_shift = shift_amount % kBigitSize;
693 void Bignum::BigitsShiftLeft(int shift_amount) {
694 DCHECK(shift_amount < kBigitSize);
695 DCHECK(shift_amount >= 0);
698 Chunk new_carry = bigits_[i] >> (kBigitSize - shift_amount);
699 bigits_[i] = ((bigits_[i] << shift_amount) + carry) & kBigitMask;
H A Dfixed-dtoa.cc42 void Shift(int shift_amount) { argument
43 DCHECK(-64 <= shift_amount && shift_amount <= 64);
44 if (shift_amount == 0) {
46 } else if (shift_amount == -64) {
49 } else if (shift_amount == 64) {
52 } else if (shift_amount <= 0) {
53 high_bits_ <<= -shift_amount;
54 high_bits_ += low_bits_ >> (64 + shift_amount);
55 low_bits_ <<= -shift_amount;
57 low_bits_ >>= shift_amount; local
59 high_bits_ >>= shift_amount; local
[all...]
/external/webrtc/webrtc/common_audio/signal_processing/
H A Dsignal_processing_unittest.cc62 int shift_amount = 1; // Workaround compiler warning using variable here. local
64 EXPECT_EQ(32766, WEBRTC_SPL_SHIFT_W32(a, shift_amount));
/external/vixl/src/aarch32/
H A Doperands-aarch32.h774 // <shift_amount> is optional size to apply to value from rm
779 uint32_t shift_amount,
786 shift_amount_(shift_amount),
796 // <shift_amount> is optional size to apply to value from rm
800 uint32_t shift_amount,
807 shift_amount_(shift_amount),
775 MemOperand(Register rn, Sign sign, Register rm, Shift shift, uint32_t shift_amount, AddrMode addrmode = Offset) argument
797 MemOperand(Register rn, Register rm, Shift shift, uint32_t shift_amount, AddrMode addrmode = Offset) argument
/external/v8/src/arm/
H A Ddisasm-arm.cc195 int shift_amount = instr->ShiftAmountValue(); local
200 if ((instr->RegShiftValue() == 0) && (shift == LSL) && (shift_amount == 0)) {
206 if ((shift == ROR) && (shift_amount == 0)) {
209 } else if (((shift == LSR) || (shift == ASR)) && (shift_amount == 0)) {
210 shift_amount = 32;
215 shift_amount);
H A Dsimulator-arm.cc1398 int shift_amount = instr->ShiftAmountValue(); local
1402 if ((shift == ROR) && (shift_amount == 0)) {
1405 } else if (((shift == LSR) || (shift == ASR)) && (shift_amount == 0)) {
1406 shift_amount = 32;
1410 if (shift_amount == 0) {
1419 result >>= (shift_amount - 1);
1427 if (shift_amount == 0) {
1430 result <<= (shift_amount - 1);
1438 if (shift_amount == 0) {
1443 uresult >>= (shift_amount
[all...]
/external/v8/src/arm64/
H A Dassembler-arm64.h577 // rm, {<shift> {#<shift_amount>}}
579 // <shift_amount> is uint6_t.
584 unsigned shift_amount = 0); // NOLINT(runtime/explicit)
586 // rm, <extend> {#<shift_amount>}
588 // <shift_amount> is uint2_t.
591 unsigned shift_amount = 0);
618 inline unsigned shift_amount() const;
646 unsigned shift_amount = 0);
650 unsigned shift_amount = 0);
661 unsigned shift_amount() cons function in class:v8::internal::MemOperand
[all...]
H A Dassembler-arm64-inl.h329 Operand::Operand(Register reg, Shift shift, unsigned shift_amount)
334 shift_amount_(shift_amount) {
335 DCHECK(reg.Is64Bits() || (shift_amount < kWRegSizeInBits));
336 DCHECK(reg.Is32Bits() || (shift_amount < kXRegSizeInBits));
341 Operand::Operand(Register reg, Extend extend, unsigned shift_amount)
346 shift_amount_(shift_amount) {
348 DCHECK(shift_amount <= 4);
417 unsigned Operand::shift_amount() const {
461 unsigned shift_amount)
463 shift_(NO_SHIFT), extend_(extend), shift_amount_(shift_amount) {
1129 ImmShiftLS(unsigned shift_amount) argument
[all...]
H A Dassembler-arm64.cc2293 DCHECK(operand.IsShiftedRegister() && (operand.shift_amount() == 0));
2420 DCHECK(operand.IsShiftedRegister() && (operand.shift_amount() == 0));
2465 unsigned shift_amount) {
2468 lsl(rd, rn, shift_amount);
2471 lsr(rd, rn, shift_amount);
2474 asr(rd, rn, shift_amount);
2477 ror(rd, rn, shift_amount);
2528 DCHECK(rn.Is64Bits() || (rn.Is32Bits() && is_uint5(operand.shift_amount())));
2531 ShiftDP(operand.shift()) | ImmDPShift(operand.shift_amount()) |
2544 ExtendMode(operand.extend()) | ImmExtendShift(operand.shift_amount()) |
2462 EmitShift(const Register& rd, const Register& rn, Shift shift, unsigned shift_amount) argument
2577 unsigned shift_amount = addr.shift_amount(); local
[all...]
/external/vixl/src/aarch64/
H A Dassembler-aarch64.h1802 const int shift_amount = 0);
1811 const int shift_amount = 0);
2792 static Instr ImmShiftLS(unsigned shift_amount) { argument
2793 VIXL_ASSERT(IsUint1(shift_amount));
2794 return shift_amount << ImmShiftLS_offset;
3241 const int shift_amount,
H A Ddisasm-aarch64.cc4547 int shift_amount = 8 * ((cmode >> 1) & 3); local
4548 AppendToOutput("#%d", shift_amount);
4554 int shift_amount = 8 << (cmode & 1); local
4555 AppendToOutput("#%d", shift_amount);
H A Dmacro-assembler-aarch64.cc1088 int shift_amount) {
1091 if (shift_amount != 0 || shift != LSL) {
1092 movi(vd, imm, shift, shift_amount);
1085 Movi(const VRegister& vd, uint64_t imm, Shift shift, int shift_amount) argument
H A Dsimulator-aarch64.cc459 unsigned shift_amount = mem_op.GetShiftAmount(); local
461 offset = ShiftOperand(kXRegSize, offset, mem_op.GetShift(), shift_amount);
464 offset = ExtendValue(kXRegSize, offset, mem_op.GetExtend(), shift_amount);
1173 unsigned shift_amount = instr->GetImmDPShift(); local
1177 shift_amount);
1288 unsigned shift_amount = instr->GetImmShiftLS() * instr->GetSizeLS(); local
1291 ExtendValue(kXRegSize, ReadXRegister(instr->GetRm()), ext, shift_amount);
/external/v8/src/crankshaft/arm64/
H A Dlithium-arm64.cc1977 LOperand* shift_amount = UseConstant(hshift->right()); local
1987 res = new(zone()) LBitI(left, right, shift_op, shift_amount);
1989 res = new(zone()) LAddI(left, right, shift_op, shift_amount);
1992 res = new(zone()) LSubI(left, right, shift_op, shift_amount);
H A Dlithium-arm64.h561 LAddI(LOperand* left, LOperand* right, Shift shift, LOperand* shift_amount) argument
562 : shift_(shift), shift_amount_(shift_amount) {
571 LOperand* shift_amount() const { return shift_amount_; } function in class:v8::internal::final
758 LBitI(LOperand* left, LOperand* right, Shift shift, LOperand* shift_amount) argument
759 : shift_(shift), shift_amount_(shift_amount) {
768 LOperand* shift_amount() const { return shift_amount_; } function in class:v8::internal::final
2477 LSubI(LOperand* left, LOperand* right, Shift shift, LOperand* shift_amount) argument
2478 : shift_(shift), shift_amount_(shift_amount) {
2487 LOperand* shift_amount() const { return shift_amount_; } function in class:v8::internal::final
/external/v8/src/s390/
H A Dsimulator-s390.cc4976 uint32_t shift_amount = rieInstr->I5Value() & 0x3F; local
4984 (src_val << shift_amount) | (src_val >> (64 - shift_amount));
6426 uint32_t shift_amount = i5 & 0x3F; local
6434 (src_val << shift_amount) | (src_val >> (64 - shift_amount));
/external/v8/src/x64/
H A Dassembler-x64.cc690 Immediate shift_amount,
694 DCHECK(size == kInt64Size ? is_uint6(shift_amount.value_)
695 : is_uint5(shift_amount.value_));
696 if (shift_amount.value_ == 1) {
704 emit(shift_amount.value_);
709 void Assembler::shift(Operand dst, Immediate shift_amount, int subcode, argument
712 DCHECK(size == kInt64Size ? is_uint6(shift_amount.value_)
713 : is_uint5(shift_amount.value_));
714 if (shift_amount.value_ == 1) {
722 emit(shift_amount
689 shift(Register dst, Immediate shift_amount, int subcode, int size) argument
[all...]
/external/v8/src/crankshaft/
H A Dhydrogen.cc10618 HValue** shift_amount) {
10637 *shift_amount = shr->right();
10975 HValue *operand, *shift_amount; local
10978 MatchRotateRight(left, right, &operand, &shift_amount)) {
10979 instr = AddUncasted<HRor>(operand, shift_amount);
10615 MatchRotateRight(HValue* left, HValue* right, HValue** operand, HValue** shift_amount) argument
/external/valgrind/VEX/priv/
H A Dguest_s390_toIR.c7723 IRTemp shift_amount = newTemp(Ity_I64); local
7730 assign(shift_amount, binop(Iop_And64, mkexpr(op2addr), mkU64(63)));
7732 unop(Iop_64to8, mkexpr(shift_amount))), mkU64(~sign_mask)),
7736 s390_cc_thunk_putZZ(S390_CC_OP_SHIFT_LEFT_64, op, shift_amount);
7765 IRTemp shift_amount = newTemp(Ity_I64); local
7771 assign(shift_amount, binop(Iop_And64, mkexpr(op2addr), mkU64(63)));
7773 unop(Iop_64to8, mkexpr(shift_amount))), mkU32(~sign_mask)),
7776 s390_cc_thunk_putZZ(S390_CC_OP_SHIFT_LEFT_32, op, shift_amount);
7787 IRTemp shift_amount = newTemp(Ity_I64); local
7793 assign(shift_amount, bino
7809 IRTemp shift_amount = newTemp(Ity_I64); local
13027 IRTemp shift_amount = newTemp(Ity_I8); local
[all...]

Completed in 680 milliseconds