| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 // break point | 369 // break point |
| 370 kBreakpoint= 0x20, | 370 kBreakpoint= 0x20, |
| 371 // stop | 371 // stop |
| 372 kStopCode = 1 << 23 | 372 kStopCode = 1 << 23 |
| 373 }; | 373 }; |
| 374 static const uint32_t kStopCodeMask = kStopCode - 1; | 374 static const uint32_t kStopCodeMask = kStopCode - 1; |
| 375 static const uint32_t kMaxStopCode = kStopCode - 1; | 375 static const uint32_t kMaxStopCode = kStopCode - 1; |
| 376 static const int32_t kDefaultStopCode = -1; | 376 static const int32_t kDefaultStopCode = -1; |
| 377 | 377 |
| 378 | 378 |
| 379 // ----------------------------------------------------------------------------- |
| 380 // Breakpoint codes (bkpt instruction); |
| 381 enum BkptCodes { |
| 382 kBkptDefaultCode, |
| 383 kBkptUninitializedCode, |
| 384 kBkptStopCode |
| 385 }; |
| 386 |
| 387 |
| 379 // Type of VFP register. Determines register encoding. | 388 // Type of VFP register. Determines register encoding. |
| 380 enum VFPRegPrecision { | 389 enum VFPRegPrecision { |
| 381 kSinglePrecision = 0, | 390 kSinglePrecision = 0, |
| 382 kDoublePrecision = 1 | 391 kDoublePrecision = 1 |
| 383 }; | 392 }; |
| 384 | 393 |
| 385 | 394 |
| 386 // VFP FPSCR constants. | 395 // VFP FPSCR constants. |
| 387 enum VFPConversionMode { | 396 enum VFPConversionMode { |
| 388 kFPSCRRounding = 0, | 397 kFPSCRRounding = 0, |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 766 static int Number(const char* name, bool* is_double); | 775 static int Number(const char* name, bool* is_double); |
| 767 | 776 |
| 768 private: | 777 private: |
| 769 static const char* names_[kNumVFPRegisters]; | 778 static const char* names_[kNumVFPRegisters]; |
| 770 }; | 779 }; |
| 771 | 780 |
| 772 | 781 |
| 773 } } // namespace v8::internal | 782 } } // namespace v8::internal |
| 774 | 783 |
| 775 #endif // V8_ARM_CONSTANTS_ARM_H_ | 784 #endif // V8_ARM_CONSTANTS_ARM_H_ |
| OLD | NEW |