| 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 // ARM EABI is required. | 8 // ARM EABI is required. |
| 9 #if defined(__arm__) && !defined(__ARM_EABI__) | 9 #if defined(__arm__) && !defined(__ARM_EABI__) |
| 10 #error ARM EABI support is required. | 10 #error ARM EABI support is required. |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 case lt: | 103 case lt: |
| 104 return gt; | 104 return gt; |
| 105 case gt: | 105 case gt: |
| 106 return lt; | 106 return lt; |
| 107 case ge: | 107 case ge: |
| 108 return le; | 108 return le; |
| 109 case le: | 109 case le: |
| 110 return ge; | 110 return ge; |
| 111 default: | 111 default: |
| 112 return cond; | 112 return cond; |
| 113 }; | 113 } |
| 114 } | 114 } |
| 115 | 115 |
| 116 | 116 |
| 117 // ----------------------------------------------------------------------------- | 117 // ----------------------------------------------------------------------------- |
| 118 // Instructions encoding. | 118 // Instructions encoding. |
| 119 | 119 |
| 120 // Instr is merely used by the Assembler to distinguish 32bit integers | 120 // Instr is merely used by the Assembler to distinguish 32bit integers |
| 121 // representing instructions from usual 32 bit values. | 121 // representing instructions from usual 32 bit values. |
| 122 // Instruction objects are pointers to 32bit values, and provide methods to | 122 // Instruction objects are pointers to 32bit values, and provide methods to |
| 123 // access the various ISA fields. | 123 // access the various ISA fields. |
| (...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 static int Number(const char* name, bool* is_double); | 741 static int Number(const char* name, bool* is_double); |
| 742 | 742 |
| 743 private: | 743 private: |
| 744 static const char* names_[kNumVFPRegisters]; | 744 static const char* names_[kNumVFPRegisters]; |
| 745 }; | 745 }; |
| 746 | 746 |
| 747 | 747 |
| 748 } } // namespace v8::internal | 748 } } // namespace v8::internal |
| 749 | 749 |
| 750 #endif // V8_ARM_CONSTANTS_ARM_H_ | 750 #endif // V8_ARM_CONSTANTS_ARM_H_ |
| OLD | NEW |