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 dst, DwVfpRegister src); |
| 190 void Swap(QwNeonRegister dst, QwNeonRegister src); |
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 1394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1591 inline MemOperand NativeContextMemOperand() { | 1595 inline MemOperand NativeContextMemOperand() { |
1592 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); | 1596 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); |
1593 } | 1597 } |
1594 | 1598 |
1595 #define ACCESS_MASM(masm) masm-> | 1599 #define ACCESS_MASM(masm) masm-> |
1596 | 1600 |
1597 } // namespace internal | 1601 } // namespace internal |
1598 } // namespace v8 | 1602 } // namespace v8 |
1599 | 1603 |
1600 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1604 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |