Chromium Code Reviews| Index: src/arm/assembler-arm.h |
| =================================================================== |
| --- src/arm/assembler-arm.h (revision 4607) |
| +++ src/arm/assembler-arm.h (working copy) |
| @@ -447,7 +447,17 @@ |
| // [rn], +/- rm <shift_op> shift_imm PostIndex/NegPostIndex |
| explicit MemOperand(Register rn, Register rm, |
| ShiftOp shift_op, int shift_imm, AddrMode am = Offset); |
| + void set_offset(int32_t offset) { |
|
Erik Corry
2010/05/07 20:04:34
I added single spaces around these functions to ma
|
| + ASSERT(rm_.is(no_reg)); |
| + offset_ = offset; |
| + } |
| + uint32_t offset() { |
| + ASSERT(rm_.is(no_reg)); |
| + return offset_; |
| + } |
| + Register rm() const {return rm_;} |
| + |
| private: |
| Register rn_; // base |
| Register rm_; // register offset |
| @@ -755,6 +765,8 @@ |
| void strh(Register src, const MemOperand& dst, Condition cond = al); |
| void ldrsb(Register dst, const MemOperand& src, Condition cond = al); |
| void ldrsh(Register dst, const MemOperand& src, Condition cond = al); |
| + void ldrd(Register dst, const MemOperand& src, Condition cond = al); |
| + void strd(Register src, const MemOperand& dst, Condition cond = al); |
| // Load/Store multiple instructions |
| void ldm(BlockAddrMode am, Register base, RegList dst, Condition cond = al); |