| 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 // The scratch register is not used for ARMv7. | 150 // The scratch register is not used for ARMv7. |
| 151 // scratch can be the same register as src (in which case it is trashed), but | 151 // scratch can be the same register as src (in which case it is trashed), but |
| 152 // not the same as dst. | 152 // not the same as dst. |
| 153 void Bfi(Register dst, | 153 void Bfi(Register dst, |
| 154 Register src, | 154 Register src, |
| 155 Register scratch, | 155 Register scratch, |
| 156 int lsb, | 156 int lsb, |
| 157 int width, | 157 int width, |
| 158 Condition cond = al); | 158 Condition cond = al); |
| 159 void Bfc(Register dst, Register src, int lsb, int width, Condition cond = al); | 159 void Bfc(Register dst, Register src, int lsb, int width, Condition cond = al); |
| 160 void Usat(Register dst, int satpos, const Operand& src, | |
| 161 Condition cond = al); | |
| 162 | 160 |
| 163 void Call(Label* target); | 161 void Call(Label* target); |
| 164 void Push(Register src) { push(src); } | 162 void Push(Register src) { push(src); } |
| 165 void Pop(Register dst) { pop(dst); } | 163 void Pop(Register dst) { pop(dst); } |
| 166 | 164 |
| 167 // Register move. May do nothing if the registers are identical. | 165 // Register move. May do nothing if the registers are identical. |
| 168 void Move(Register dst, Smi* smi) { mov(dst, Operand(smi)); } | 166 void Move(Register dst, Smi* smi) { mov(dst, Operand(smi)); } |
| 169 void Move(Register dst, Handle<Object> value); | 167 void Move(Register dst, Handle<Object> value); |
| 170 void Move(Register dst, Register src, Condition cond = al); | 168 void Move(Register dst, Register src, Condition cond = al); |
| 171 void Move(Register dst, const Operand& src, SBit sbit = LeaveCC, | 169 void Move(Register dst, const Operand& src, SBit sbit = LeaveCC, |
| (...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1579 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1577 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1580 #else | 1578 #else |
| 1581 #define ACCESS_MASM(masm) masm-> | 1579 #define ACCESS_MASM(masm) masm-> |
| 1582 #endif | 1580 #endif |
| 1583 | 1581 |
| 1584 | 1582 |
| 1585 } // namespace internal | 1583 } // namespace internal |
| 1586 } // namespace v8 | 1584 } // namespace v8 |
| 1587 | 1585 |
| 1588 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1586 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |