OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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_CONSTANTS_ARM_H_ | 5 #ifndef V8_ARM_CONSTANTS_ARM_H_ |
6 #define V8_ARM_CONSTANTS_ARM_H_ | 6 #define V8_ARM_CONSTANTS_ARM_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "src/base/logging.h" | 10 #include "src/base/logging.h" |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 kCoprocessorMask = 15 << 8, | 212 kCoprocessorMask = 15 << 8, |
213 kOpCodeMask = 15 << 21, // In data-processing instructions. | 213 kOpCodeMask = 15 << 21, // In data-processing instructions. |
214 kImm24Mask = (1 << 24) - 1, | 214 kImm24Mask = (1 << 24) - 1, |
215 kImm16Mask = (1 << 16) - 1, | 215 kImm16Mask = (1 << 16) - 1, |
216 kImm8Mask = (1 << 8) - 1, | 216 kImm8Mask = (1 << 8) - 1, |
217 kOff12Mask = (1 << 12) - 1, | 217 kOff12Mask = (1 << 12) - 1, |
218 kOff8Mask = (1 << 8) - 1 | 218 kOff8Mask = (1 << 8) - 1 |
219 }; | 219 }; |
220 | 220 |
221 | 221 |
| 222 enum BarrierOption { |
| 223 OSHLD = 0x1, |
| 224 OSHST = 0x2, |
| 225 OSH = 0x3, |
| 226 NSHLD = 0x5, |
| 227 NSHST = 0x6, |
| 228 NSH = 0x7, |
| 229 ISHLD = 0x9, |
| 230 ISHST = 0xa, |
| 231 ISH = 0xb, |
| 232 LD = 0xd, |
| 233 ST = 0xe, |
| 234 SY = 0xf, |
| 235 }; |
| 236 |
| 237 |
222 // ----------------------------------------------------------------------------- | 238 // ----------------------------------------------------------------------------- |
223 // Addressing modes and instruction variants. | 239 // Addressing modes and instruction variants. |
224 | 240 |
225 // Condition code updating mode. | 241 // Condition code updating mode. |
226 enum SBit { | 242 enum SBit { |
227 SetCC = 1 << 20, // Set condition code. | 243 SetCC = 1 << 20, // Set condition code. |
228 LeaveCC = 0 << 20 // Leave condition code unchanged. | 244 LeaveCC = 0 << 20 // Leave condition code unchanged. |
229 }; | 245 }; |
230 | 246 |
231 | 247 |
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 | 715 |
700 private: | 716 private: |
701 static const char* names_[kNumVFPRegisters]; | 717 static const char* names_[kNumVFPRegisters]; |
702 }; | 718 }; |
703 | 719 |
704 | 720 |
705 } // namespace internal | 721 } // namespace internal |
706 } // namespace v8 | 722 } // namespace v8 |
707 | 723 |
708 #endif // V8_ARM_CONSTANTS_ARM_H_ | 724 #endif // V8_ARM_CONSTANTS_ARM_H_ |
OLD | NEW |