/external/v8/src/arm/ |
D | simulator-arm.cc | 937 int shift_amount = instr->ShiftAmountField(); in GetShiftRm() local 941 if ((shift == ROR) && (shift_amount == 0)) { in GetShiftRm() 944 } else if (((shift == LSR) || (shift == ASR)) && (shift_amount == 0)) { in GetShiftRm() 945 shift_amount = 32; in GetShiftRm() 949 if (shift_amount == 0) { in GetShiftRm() 958 result >>= (shift_amount - 1); in GetShiftRm() 966 if (shift_amount == 0) { in GetShiftRm() 969 result <<= (shift_amount - 1); in GetShiftRm() 977 if (shift_amount == 0) { in GetShiftRm() 982 uresult >>= (shift_amount - 1); in GetShiftRm() [all …]
|
D | disasm-arm.cc | 204 int shift_amount = instr->ShiftAmountField(); in PrintShiftRm() local 209 if ((instr->RegShiftField() == 0) && (shift == LSL) && (shift_amount == 0)) { in PrintShiftRm() 215 if ((shift == ROR) && (shift_amount == 0)) { in PrintShiftRm() 218 } else if (((shift == LSR) || (shift == ASR)) && (shift_amount == 0)) { in PrintShiftRm() 219 shift_amount = 32; in PrintShiftRm() 223 shift_names[shift], shift_amount); in PrintShiftRm()
|
/external/v8/src/x64/ |
D | assembler-x64.h | 821 void sar(Register dst, Immediate shift_amount) { in sar() argument 822 shift(dst, shift_amount, 0x7); in sar() 827 void sarl(Register dst, Immediate shift_amount) { in sarl() argument 828 shift_32(dst, shift_amount, 0x7); in sarl() 841 void shl(Register dst, Immediate shift_amount) { in shl() argument 842 shift(dst, shift_amount, 0x4); in shl() 853 void shll(Register dst, Immediate shift_amount) { in shll() argument 854 shift_32(dst, shift_amount, 0x4); in shll() 857 void shr(Register dst, Immediate shift_amount) { in shr() argument 858 shift(dst, shift_amount, 0x5); in shr() [all …]
|
D | assembler-x64.cc | 654 void Assembler::shift(Register dst, Immediate shift_amount, int subcode) { in shift() argument 657 ASSERT(is_uint6(shift_amount.value_)); // illegal shift count in shift() 658 if (shift_amount.value_ == 1) { in shift() 666 emit(shift_amount.value_); in shift() 689 void Assembler::shift_32(Register dst, Immediate shift_amount, int subcode) { in shift_32() argument 692 ASSERT(is_uint5(shift_amount.value_)); // illegal shift count in shift_32() 693 if (shift_amount.value_ == 1) { in shift_32() 701 emit(shift_amount.value_); in shift_32()
|
D | codegen-x64.cc | 3762 Result shift_amount; in GenerateFastCharCodeAt() local 3765 shift_amount = object; in GenerateFastCharCodeAt() 3771 shift_amount = index; in GenerateFastCharCodeAt() 3777 if (shift_amount.is_valid()) { in GenerateFastCharCodeAt() 3780 shift_amount = allocator()->Allocate(rcx); in GenerateFastCharCodeAt() 3782 ASSERT(shift_amount.is_register()); in GenerateFastCharCodeAt() 3783 ASSERT(shift_amount.reg().is(rcx)); in GenerateFastCharCodeAt() 6542 int shift_amount = right & 0x1F; in FoldConstantSmis() local 6543 if (Smi::IsValid(left << shift_amount)) { in FoldConstantSmis() 6544 answer_object = Smi::FromInt(left << shift_amount); in FoldConstantSmis() [all …]
|
/external/webkit/JavaScriptCore/assembler/ |
D | MacroAssemblerX86Common.h | 146 void lshift32(RegisterID shift_amount, RegisterID dest) in lshift32() argument 150 if (shift_amount != X86Registers::ecx) { in lshift32() 151 swap(shift_amount, X86Registers::ecx); in lshift32() 154 if (dest == shift_amount) in lshift32() 158 m_assembler.shll_CLr(shift_amount); in lshift32() 163 swap(shift_amount, X86Registers::ecx); in lshift32() 228 void rshift32(RegisterID shift_amount, RegisterID dest) in rshift32() argument 232 if (shift_amount != X86Registers::ecx) { in rshift32() 233 swap(shift_amount, X86Registers::ecx); in rshift32() 236 if (dest == shift_amount) in rshift32() [all …]
|
D | MacroAssemblerARM.h | 121 void lshift32(RegisterID shift_amount, RegisterID dest) in lshift32() argument 125 m_assembler.and_r(ARMRegisters::S0, shift_amount, w); in lshift32() 170 void rshift32(RegisterID shift_amount, RegisterID dest) in rshift32() argument 174 m_assembler.and_r(ARMRegisters::S0, shift_amount, w); in rshift32()
|
D | MacroAssemblerARMv7.h | 200 void lshift32(RegisterID shift_amount, RegisterID dest) in lshift32() argument 205 m_assembler.ARM_and(dataTempRegister, shift_amount, armImm); in lshift32() 247 void rshift32(RegisterID shift_amount, RegisterID dest) in rshift32() argument 252 m_assembler.ARM_and(dataTempRegister, shift_amount, armImm); in rshift32()
|
/external/v8/src/ |
D | stub-cache.h | 264 const int shift_amount = kPointerSizeLog2 + 1 - String::kHashShift; in entry() local 266 reinterpret_cast<Address>(table) + (offset << shift_amount)); in entry()
|
/external/v8/src/ia32/ |
D | codegen-ia32.cc | 1153 int shift_amount = right & 0x1F; in FoldConstantSmis() local 1154 if (Smi::IsValid(left << shift_amount)) { in FoldConstantSmis() 1155 answer_object = Smi::FromInt(left << shift_amount); in FoldConstantSmis() 1160 int shift_amount = right & 0x1F; in FoldConstantSmis() local 1162 unsigned_left >>= shift_amount; in FoldConstantSmis() 1169 int shift_amount = right & 0x1F; in FoldConstantSmis() local 1175 unsigned_left >>= shift_amount; in FoldConstantSmis() 1178 unsigned_left >>= shift_amount; in FoldConstantSmis() 5302 Result shift_amount; in GenerateFastCharCodeAt() local 5305 shift_amount = object; in GenerateFastCharCodeAt() [all …]
|
/external/webkit/JavaScriptCore/wtf/ |
D | FastMalloc.cpp | 671 static const int shift_amount[2] = { 3, 7 }; // For divides by 8 or 128 variable 678 return static_cast<int>((s + add_amount[i]) >> shift_amount[i]); in ClassIndex()
|