OLD | NEW |
1 // Copyright 2006-2013 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2013 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 // This module contains the architecture-specific code. This make the rest of | 5 // This module contains the architecture-specific code. This make the rest of |
6 // the code less dependent on differences between different processor | 6 // the code less dependent on differences between different processor |
7 // architecture. | 7 // architecture. |
8 // The classes have the same definition for all architectures. The | 8 // The classes have the same definition for all architectures. The |
9 // implementation for a particular architecture is put in cpu_<arch>.cc. | 9 // implementation for a particular architecture is put in cpu_<arch>.cc. |
10 // The build system then uses the implementation for the target architecture. | 10 // The build system then uses the implementation for the target architecture. |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 int part() const { return part_; } | 52 int part() const { return part_; } |
53 | 53 |
54 // ARM-specific part codes | 54 // ARM-specific part codes |
55 static const int ARM_CORTEX_A5 = 0xc05; | 55 static const int ARM_CORTEX_A5 = 0xc05; |
56 static const int ARM_CORTEX_A7 = 0xc07; | 56 static const int ARM_CORTEX_A7 = 0xc07; |
57 static const int ARM_CORTEX_A8 = 0xc08; | 57 static const int ARM_CORTEX_A8 = 0xc08; |
58 static const int ARM_CORTEX_A9 = 0xc09; | 58 static const int ARM_CORTEX_A9 = 0xc09; |
59 static const int ARM_CORTEX_A12 = 0xc0c; | 59 static const int ARM_CORTEX_A12 = 0xc0c; |
60 static const int ARM_CORTEX_A15 = 0xc0f; | 60 static const int ARM_CORTEX_A15 = 0xc0f; |
61 | 61 |
| 62 // Denver-specific part code |
| 63 static const int NVIDIA_DENVER_V10 = 0x002; |
| 64 |
62 // PPC-specific part codes | 65 // PPC-specific part codes |
63 enum { | 66 enum { |
64 PPC_POWER5, | 67 PPC_POWER5, |
65 PPC_POWER6, | 68 PPC_POWER6, |
66 PPC_POWER7, | 69 PPC_POWER7, |
67 PPC_POWER8, | 70 PPC_POWER8, |
68 PPC_G4, | 71 PPC_G4, |
69 PPC_G5, | 72 PPC_G5, |
70 PPC_PA6T | 73 PPC_PA6T |
71 }; | 74 }; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 bool has_thumb2_; | 141 bool has_thumb2_; |
139 bool has_vfp_; | 142 bool has_vfp_; |
140 bool has_vfp3_; | 143 bool has_vfp3_; |
141 bool has_vfp3_d32_; | 144 bool has_vfp3_d32_; |
142 bool is_fp64_mode_; | 145 bool is_fp64_mode_; |
143 }; | 146 }; |
144 | 147 |
145 } } // namespace v8::base | 148 } } // namespace v8::base |
146 | 149 |
147 #endif // V8_BASE_CPU_H_ | 150 #endif // V8_BASE_CPU_H_ |
OLD | NEW |