diff options
Diffstat (limited to 'deps/v8/src/arm/assembler-arm.h')
-rw-r--r-- | deps/v8/src/arm/assembler-arm.h | 31 |
1 files changed, 5 insertions, 26 deletions
diff --git a/deps/v8/src/arm/assembler-arm.h b/deps/v8/src/arm/assembler-arm.h index 2e71ce59e64..fb367028825 100644 --- a/deps/v8/src/arm/assembler-arm.h +++ b/deps/v8/src/arm/assembler-arm.h @@ -167,7 +167,6 @@ static_assert(sizeof(Register) == sizeof(int), "Register can efficiently be passed by value"); // r7: context register -// r9: lithium scratch #define DECLARE_REGISTER(R) \ constexpr Register R = Register::from_code<kRegCode_##R>(); GENERAL_REGISTERS(DECLARE_REGISTER) @@ -605,14 +604,7 @@ class NeonListOperand BASE_EMBEDDED { int register_count_; }; - -struct VmovIndex { - unsigned char index; -}; -constexpr VmovIndex VmovIndexLo = { 0 }; -constexpr VmovIndex VmovIndexHi = { 1 }; - -class Assembler : public AssemblerBase { +class V8_EXPORT_PRIVATE Assembler : public AssemblerBase { public: // Create an assembler. Instructions and relocation information are emitted // into a buffer, with the instructions starting from the beginning and the @@ -700,9 +692,6 @@ class Assembler : public AssemblerBase { // pointer. static constexpr int kSpecialTargetSize = kPointerSize; - // Size of an instruction. - static constexpr int kInstrSize = sizeof(Instr); - RegList* GetScratchRegisterList() { return &scratch_register_list_; } VfpRegList* GetScratchVfpRegisterList() { return &scratch_vfp_register_list_; @@ -908,6 +897,7 @@ class Assembler : public AssemblerBase { // Reverse the bits in a register. void rbit(Register dst, Register src, Condition cond = al); + void rev(Register dst, Register src, Condition cond = al); // Status register access instructions @@ -940,6 +930,9 @@ class Assembler : public AssemblerBase { void strexb(Register src1, Register src2, Register dst, Condition cond = al); void ldrexh(Register dst, Register src, Condition cond = al); void strexh(Register src1, Register src2, Register dst, Condition cond = al); + void ldrexd(Register dst1, Register dst2, Register src, Condition cond = al); + void strexd(Register res, Register src1, Register src2, Register dst, + Condition cond = al); // Preload instructions void pld(const MemOperand& address); @@ -1070,16 +1063,6 @@ class Assembler : public AssemblerBase { void vmov(const DwVfpRegister dst, const DwVfpRegister src, const Condition cond = al); - // TODO(bbudge) Replace uses of these with the more general core register to - // scalar register vmov's. - void vmov(const DwVfpRegister dst, - const VmovIndex index, - const Register src, - const Condition cond = al); - void vmov(const Register dst, - const VmovIndex index, - const DwVfpRegister src, - const Condition cond = al); void vmov(const DwVfpRegister dst, const Register src1, const Register src2, @@ -1637,9 +1620,6 @@ class Assembler : public AssemblerBase { std::vector<ConstantPoolEntry> pending_32_bit_constants_; std::vector<ConstantPoolEntry> pending_64_bit_constants_; - // Map of address of handle to index in pending_32_bit_constants_. - std::map<Address, int> handle_to_index_map_; - // Scratch registers available for use by the Assembler. RegList scratch_register_list_; VfpRegList scratch_vfp_register_list_; @@ -1705,7 +1685,6 @@ class Assembler : public AssemblerBase { void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); void ConstantPoolAddEntry(int position, RelocInfo::Mode rmode, intptr_t value); - void ConstantPoolAddEntry(int position, Double value); void AllocateAndInstallRequestedHeapObjects(Isolate* isolate); friend class RelocInfo; |