/external/valgrind/memcheck/tests/vbit-test/ |
H A D | binary.c | 93 unsigned shift_amount = opnd2->value.u8; local 95 expected_vbits = shl_vbits(opnd1->vbits, shift_amount); 106 unsigned shift_amount = opnd2->value.u8; local 108 expected_vbits = shr_vbits(opnd1->vbits, shift_amount); 119 unsigned shift_amount = opnd2->value.u8; local 121 expected_vbits = sar_vbits(opnd1->vbits, shift_amount);
|
H A D | vbits.c | 665 shl_vbits(vbits_t v, unsigned shift_amount) argument 667 assert(shift_amount < v.num_bits); 672 case 8: new.bits.u8 <<= shift_amount; break; 673 case 16: new.bits.u16 <<= shift_amount; break; 674 case 32: new.bits.u32 <<= shift_amount; break; 675 case 64: new.bits.u64 <<= shift_amount; break; 687 shr_vbits(vbits_t v, unsigned shift_amount) argument 689 assert(shift_amount < v.num_bits); 694 case 8: new.bits.u8 >>= shift_amount; break; 695 case 16: new.bits.u16 >>= shift_amount; brea 709 sar_vbits(vbits_t v, unsigned shift_amount) argument [all...] |
/external/webrtc/src/common_audio/signal_processing/ |
H A D | signal_processing_unittest.cc | 87 int shift_amount = 1; // Workaround compiler warning using variable here. local 89 EXPECT_EQ(32766, WEBRTC_SPL_SHIFT_W16(a, shift_amount)); 90 EXPECT_EQ(32766, WEBRTC_SPL_SHIFT_W32(a, shift_amount));
|
/external/lldb/source/Utility/ |
H A D | StringExtractor.cpp | 192 uint32_t shift_amount = 0; local 209 result |= ((uint32_t)nibble_hi << (shift_amount + 4)); 210 result |= ((uint32_t)nibble_lo << shift_amount); 212 shift_amount += 8; 216 result |= ((uint32_t)nibble_hi << shift_amount); 218 shift_amount += 4; 254 uint32_t shift_amount = 0; local 271 result |= ((uint64_t)nibble_hi << (shift_amount + 4)); 272 result |= ((uint64_t)nibble_lo << shift_amount); 274 shift_amount 342 uint32_t shift_amount; local [all...] |
/external/v8/src/ |
H A D | bignum.cc | 219 void Bignum::ShiftLeft(int shift_amount) { argument 221 exponent_ += shift_amount / kBigitSize; 222 int local_shift = shift_amount % kBigitSize; 700 void Bignum::BigitsShiftLeft(int shift_amount) { 701 DCHECK(shift_amount < kBigitSize); 702 DCHECK(shift_amount >= 0); 705 Chunk new_carry = bigits_[i] >> (kBigitSize - shift_amount); 706 bigits_[i] = ((bigits_[i] << shift_amount) + carry) & kBigitMask;
|
H A D | fixed-dtoa.cc | 41 void Shift(int shift_amount) { argument 42 DCHECK(-64 <= shift_amount && shift_amount <= 64); 43 if (shift_amount == 0) { 45 } else if (shift_amount == -64) { 48 } else if (shift_amount == 64) { 51 } else if (shift_amount <= 0) { 52 high_bits_ <<= -shift_amount; 53 high_bits_ += low_bits_ >> (64 + shift_amount); 54 low_bits_ <<= -shift_amount; 56 low_bits_ >>= shift_amount; local 58 high_bits_ >>= shift_amount; local [all...] |
H A D | hydrogen.cc | 10138 HValue** shift_amount) { 10157 *shift_amount = shr->right(); 10429 HValue* operand, *shift_amount; local 10432 MatchRotateRight(left, right, &operand, &shift_amount)) { 10433 instr = AddUncasted<HRor>(operand, shift_amount); 10135 MatchRotateRight(HValue* left, HValue* right, HValue** operand, HValue** shift_amount) argument
|
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/ |
H A D | gki_ulinux.c | 1290 void GKI_shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) argument 1293 register UINT8 *pd = ps + shift_amount;
|
/external/libnfc-nci/src/gki/ulinux/ |
H A D | gki_ulinux.c | 1267 void GKI_shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) argument 1270 register UINT8 *pd = ps + shift_amount;
|
/external/libnfc-nci/src/nfc/ndef/ |
H A D | ndef_utils.c | 43 static void shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) argument 46 register UINT8 *pd = ps + shift_amount;
|
/external/v8/src/compiler/ |
H A D | simplified-lowering.cc | 807 Node* shift_amount = jsgraph()->Int32Constant(kSmiTagSize + kSmiShiftSize); local 808 return graph()->NewNode(machine()->WordSar(), node, shift_amount); 814 Node* shift_amount = jsgraph()->Int32Constant(kSmiTagSize + kSmiShiftSize); local 815 return graph()->NewNode(machine()->WordShl(), node, shift_amount);
|
/external/v8/src/arm/ |
H A D | disasm-arm.cc | 193 int shift_amount = instr->ShiftAmountValue(); local 198 if ((instr->RegShiftValue() == 0) && (shift == LSL) && (shift_amount == 0)) { 204 if ((shift == ROR) && (shift_amount == 0)) { 207 } else if (((shift == LSR) || (shift == ASR)) && (shift_amount == 0)) { 208 shift_amount = 32; 213 shift_amount);
|
H A D | simulator-arm.cc | 1350 int shift_amount = instr->ShiftAmountValue(); local 1354 if ((shift == ROR) && (shift_amount == 0)) { 1357 } else if (((shift == LSR) || (shift == ASR)) && (shift_amount == 0)) { 1358 shift_amount = 32; 1362 if (shift_amount == 0) { 1371 result >>= (shift_amount - 1); 1379 if (shift_amount == 0) { 1382 result <<= (shift_amount - 1); 1390 if (shift_amount == 0) { 1395 uresult >>= (shift_amount [all...] |
/external/v8/src/arm64/ |
H A D | assembler-arm64-inl.h | 338 Operand::Operand(Register reg, Shift shift, unsigned shift_amount) 343 shift_amount_(shift_amount) { 344 DCHECK(reg.Is64Bits() || (shift_amount < kWRegSizeInBits)); 345 DCHECK(reg.Is32Bits() || (shift_amount < kXRegSizeInBits)); 350 Operand::Operand(Register reg, Extend extend, unsigned shift_amount) 355 shift_amount_(shift_amount) { 357 DCHECK(shift_amount <= 4); 426 unsigned Operand::shift_amount() const { 470 unsigned shift_amount) 472 shift_(NO_SHIFT), extend_(extend), shift_amount_(shift_amount) { 1170 ImmShiftLS(unsigned shift_amount) argument [all...] |
H A D | lithium-arm64.cc | 2188 LOperand* shift_amount = UseConstant(hshift->right()); local 2198 res = new(zone()) LBitI(left, right, shift_op, shift_amount); 2200 res = new(zone()) LAddI(left, right, shift_op, shift_amount); 2203 res = new(zone()) LSubI(left, right, shift_op, shift_amount);
|
H A D | assembler-arm64.cc | 2194 DCHECK(operand.IsShiftedRegister() && (operand.shift_amount() == 0)); 2320 DCHECK(operand.IsShiftedRegister() && (operand.shift_amount() == 0)); 2365 unsigned shift_amount) { 2368 lsl(rd, rn, shift_amount); 2371 lsr(rd, rn, shift_amount); 2374 asr(rd, rn, shift_amount); 2377 ror(rd, rn, shift_amount); 2428 DCHECK(rn.Is64Bits() || (rn.Is32Bits() && is_uint5(operand.shift_amount()))); 2431 ShiftDP(operand.shift()) | ImmDPShift(operand.shift_amount()) | 2444 ExtendMode(operand.extend()) | ImmExtendShift(operand.shift_amount()) | 2362 EmitShift(const Register& rd, const Register& rn, Shift shift, unsigned shift_amount) argument 2476 unsigned shift_amount = addr.shift_amount(); local [all...] |
H A D | lithium-arm64.h | 603 LAddI(LOperand* left, LOperand* right, Shift shift, LOperand* shift_amount) argument 604 : shift_(shift), shift_amount_(shift_amount) { 613 LOperand* shift_amount() const { return shift_amount_; } function in class:v8::internal::FINAL 786 LBitI(LOperand* left, LOperand* right, Shift shift, LOperand* shift_amount) argument 787 : shift_(shift), shift_amount_(shift_amount) { 796 LOperand* shift_amount() const { return shift_amount_; } function in class:v8::internal::FINAL 2842 LSubI(LOperand* left, LOperand* right, Shift shift, LOperand* shift_amount) argument 2843 : shift_(shift), shift_amount_(shift_amount) { 2852 LOperand* shift_amount() const { return shift_amount_; } function in class:v8::internal::FINAL
|
H A D | simulator-arm64.cc | 1395 unsigned shift_amount = instr->ImmDPShift(); local 1398 int64_t op2 = ShiftOperand(xreg(instr->Rm()), shift_type, shift_amount); 1401 int32_t op2 = ShiftOperand(wreg(instr->Rm()), shift_type, shift_amount); 1441 unsigned shift_amount = instr->ImmDPShift(); local 1444 int64_t op2 = ShiftOperand(xreg(instr->Rm()), shift_type, shift_amount); 1448 int32_t op2 = ShiftOperand(wreg(instr->Rm()), shift_type, shift_amount); 1556 unsigned shift_amount = instr->ImmShiftLS() * instr->SizeLS(); local 1558 int64_t offset = ExtendValue(xreg(instr->Rm()), ext, shift_amount);
|
/external/vixl/src/vixl/a64/ |
H A D | disasm-a64.cc | 3128 int shift_amount = 8 * ((cmode >> 1) & 3); local 3129 AppendToOutput("#%d", shift_amount); 3134 int shift_amount = 8 << (cmode & 1); local 3135 AppendToOutput("#%d", shift_amount);
|
H A D | macro-assembler-a64.cc | 779 VIXL_ASSERT(operand.shift_amount() <= 4); 786 operand.shift_amount()); 806 } else if (operand.IsShiftedRegister() && (operand.shift_amount() != 0)) { 810 EmitShift(rd, operand.reg(), operand.shift(), operand.shift_amount()); 815 operand.shift_amount()); 975 int shift_amount) { 978 if (shift_amount != 0 || shift != LSL) { 979 movi(vd, imm, shift, shift_amount); 1026 operand.shift_amount()); 1079 if ((operand.IsShiftedRegister() && (operand.shift_amount() 972 Movi(const VRegister& vd, uint64_t imm, Shift shift, int shift_amount) argument [all...] |
H A D | simulator-a64.cc | 984 unsigned shift_amount = instr->ImmDPShift(); local 986 shift_amount); 1085 unsigned shift_amount = instr->ImmShiftLS() * instr->SizeLS(); local 1088 shift_amount);
|
/external/v8/src/x64/ |
H A D | assembler-x64.cc | 601 Immediate shift_amount, 605 DCHECK(size == kInt64Size ? is_uint6(shift_amount.value_) 606 : is_uint5(shift_amount.value_)); 607 if (shift_amount.value_ == 1) { 615 emit(shift_amount.value_); 600 shift(Register dst, Immediate shift_amount, int subcode, int size) argument
|
/external/valgrind/VEX/priv/ |
H A D | guest_s390_toIR.c | 7638 IRTemp shift_amount = newTemp(Ity_I64); local 7645 assign(shift_amount, binop(Iop_And64, mkexpr(op2addr), mkU64(63))); 7647 unop(Iop_64to8, mkexpr(shift_amount))), mkU64(~sign_mask)), 7651 s390_cc_thunk_putZZ(S390_CC_OP_SHIFT_LEFT_64, op, shift_amount); 7680 IRTemp shift_amount = newTemp(Ity_I64); local 7686 assign(shift_amount, binop(Iop_And64, mkexpr(op2addr), mkU64(63))); 7688 unop(Iop_64to8, mkexpr(shift_amount))), mkU32(~sign_mask)), 7691 s390_cc_thunk_putZZ(S390_CC_OP_SHIFT_LEFT_32, op, shift_amount); 7702 IRTemp shift_amount = newTemp(Ity_I64); local 7708 assign(shift_amount, bino 7724 IRTemp shift_amount = newTemp(Ity_I64); local 12853 IRTemp shift_amount = newTemp(Ity_I8); local [all...] |