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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 kOff12Mask = (1 << 12) - 1, | 490 kOff12Mask = (1 << 12) - 1, |
491 kOff8Mask = (1 << 8) - 1 | 491 kOff8Mask = (1 << 8) - 1 |
492 }; | 492 }; |
493 | 493 |
494 | 494 |
495 // ----------------------------------------------------------------------------- | 495 // ----------------------------------------------------------------------------- |
496 // Addressing modes and instruction variants. | 496 // Addressing modes and instruction variants. |
497 | 497 |
498 // Condition code updating mode. | 498 // Condition code updating mode. |
499 enum SBit { | 499 enum SBit { |
500 SetCC = 1 << 20, // Set condition code. | 500 SetCCBit = 1 << 20, // Set condition code. |
501 LeaveCC = 0 << 20 // Leave condition code unchanged. | 501 LeaveCCBit = 0 << 20 // Leave condition code unchanged. |
502 }; | 502 }; |
503 | 503 |
504 | 504 |
| 505 enum SBitMode { |
| 506 DontCareCC, |
| 507 SetCC, |
| 508 LeaveCC |
| 509 }; |
| 510 |
| 511 |
505 // Status register selection. | 512 // Status register selection. |
506 enum SRegister { | 513 enum SRegister { |
507 CPSR = 0 << 22, | 514 CPSR = 0 << 22, |
508 SPSR = 1 << 22 | 515 SPSR = 1 << 22 |
509 }; | 516 }; |
510 | 517 |
511 | 518 |
512 // Shifter types for Data-processing operands as defined in section A5.1.2. | 519 // Shifter types for Data-processing operands as defined in section A5.1.2. |
513 enum ShiftOp { | 520 enum ShiftOp { |
514 LSL = 0 << 5, // Logical shift left. | 521 LSL = 0 << 5, // Logical shift left. |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1026 static int Number(const char* name, bool* is_double); | 1033 static int Number(const char* name, bool* is_double); |
1027 | 1034 |
1028 private: | 1035 private: |
1029 static const char* names_[kNumVFPRegisters]; | 1036 static const char* names_[kNumVFPRegisters]; |
1030 }; | 1037 }; |
1031 | 1038 |
1032 | 1039 |
1033 } } // namespace v8::internal | 1040 } } // namespace v8::internal |
1034 | 1041 |
1035 #endif // V8_ARM_CONSTANTS_ARM_H_ | 1042 #endif // V8_ARM_CONSTANTS_ARM_H_ |
OLD | NEW |