| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
| 10 #include "src/frames.h" | 10 #include "src/frames.h" |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 void Move(Register dst, Handle<Object> value); | 177 void Move(Register dst, Handle<Object> value); |
| 178 void Move(Register dst, Register src, Condition cond = al); | 178 void Move(Register dst, Register src, Condition cond = al); |
| 179 void Move(Register dst, const Operand& src, SBit sbit = LeaveCC, | 179 void Move(Register dst, const Operand& src, SBit sbit = LeaveCC, |
| 180 Condition cond = al) { | 180 Condition cond = al) { |
| 181 if (!src.is_reg() || !src.rm().is(dst) || sbit != LeaveCC) { | 181 if (!src.is_reg() || !src.rm().is(dst) || sbit != LeaveCC) { |
| 182 mov(dst, src, sbit, cond); | 182 mov(dst, src, sbit, cond); |
| 183 } | 183 } |
| 184 } | 184 } |
| 185 void Move(SwVfpRegister dst, SwVfpRegister src, Condition cond = al); | 185 void Move(SwVfpRegister dst, SwVfpRegister src, Condition cond = al); |
| 186 void Move(DwVfpRegister dst, DwVfpRegister src, Condition cond = al); | 186 void Move(DwVfpRegister dst, DwVfpRegister src, Condition cond = al); |
| 187 void Move(QwNeonRegister dst, QwNeonRegister src); |
| 188 // Register swap. |
| 189 void Swap(DwVfpRegister srcdst0, DwVfpRegister srcdst1); |
| 190 void Swap(QwNeonRegister srcdst0, QwNeonRegister srcdst1); |
| 187 | 191 |
| 188 void Load(Register dst, const MemOperand& src, Representation r); | 192 void Load(Register dst, const MemOperand& src, Representation r); |
| 189 void Store(Register src, const MemOperand& dst, Representation r); | 193 void Store(Register src, const MemOperand& dst, Representation r); |
| 190 | 194 |
| 191 // Load an object from the root table. | 195 // Load an object from the root table. |
| 192 void LoadRoot(Register destination, | 196 void LoadRoot(Register destination, |
| 193 Heap::RootListIndex index, | 197 Heap::RootListIndex index, |
| 194 Condition cond = al); | 198 Condition cond = al); |
| 195 // Store an object to the root table. | 199 // Store an object to the root table. |
| 196 void StoreRoot(Register source, | 200 void StoreRoot(Register source, |
| (...skipping 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1539 inline MemOperand NativeContextMemOperand() { | 1543 inline MemOperand NativeContextMemOperand() { |
| 1540 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); | 1544 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); |
| 1541 } | 1545 } |
| 1542 | 1546 |
| 1543 #define ACCESS_MASM(masm) masm-> | 1547 #define ACCESS_MASM(masm) masm-> |
| 1544 | 1548 |
| 1545 } // namespace internal | 1549 } // namespace internal |
| 1546 } // namespace v8 | 1550 } // namespace v8 |
| 1547 | 1551 |
| 1548 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1552 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |