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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 // Register move. May do nothing if the registers are identical. | 163 // Register move. May do nothing if the registers are identical. |
164 void Move(Register dst, Smi* smi) { mov(dst, Operand(smi)); } | 164 void Move(Register dst, Smi* smi) { mov(dst, Operand(smi)); } |
165 void Move(Register dst, Handle<Object> value); | 165 void Move(Register dst, Handle<Object> value); |
166 void Move(Register dst, Register src, Condition cond = al); | 166 void Move(Register dst, Register src, Condition cond = al); |
167 void Move(Register dst, const Operand& src, SBit sbit = LeaveCC, | 167 void Move(Register dst, const Operand& src, SBit sbit = LeaveCC, |
168 Condition cond = al) { | 168 Condition cond = al) { |
169 if (!src.is_reg() || !src.rm().is(dst) || sbit != LeaveCC) { | 169 if (!src.is_reg() || !src.rm().is(dst) || sbit != LeaveCC) { |
170 mov(dst, src, sbit, cond); | 170 mov(dst, src, sbit, cond); |
171 } | 171 } |
172 } | 172 } |
| 173 void Move(SwVfpRegister dst, SwVfpRegister src); |
173 void Move(DwVfpRegister dst, DwVfpRegister src); | 174 void Move(DwVfpRegister dst, DwVfpRegister src); |
174 | 175 |
175 void Load(Register dst, const MemOperand& src, Representation r); | 176 void Load(Register dst, const MemOperand& src, Representation r); |
176 void Store(Register src, const MemOperand& dst, Representation r); | 177 void Store(Register src, const MemOperand& dst, Representation r); |
177 | 178 |
178 // Load an object from the root table. | 179 // Load an object from the root table. |
179 void LoadRoot(Register destination, | 180 void LoadRoot(Register destination, |
180 Heap::RootListIndex index, | 181 Heap::RootListIndex index, |
181 Condition cond = al); | 182 Condition cond = al); |
182 // Store an object to the root table. | 183 // Store an object to the root table. |
(...skipping 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1575 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1576 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1576 #else | 1577 #else |
1577 #define ACCESS_MASM(masm) masm-> | 1578 #define ACCESS_MASM(masm) masm-> |
1578 #endif | 1579 #endif |
1579 | 1580 |
1580 | 1581 |
1581 } // namespace internal | 1582 } // namespace internal |
1582 } // namespace v8 | 1583 } // namespace v8 |
1583 | 1584 |
1584 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1585 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |