| 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. |
| 11 // | 11 // |
| 12 | 12 |
| 13 #ifndef V8_CPU_H_ | 13 #ifndef V8_CPU_H_ |
| 14 #define V8_CPU_H_ | 14 #define V8_CPU_H_ |
| 15 | 15 |
| 16 #include "allocation.h" | 16 #include "src/allocation.h" |
| 17 | 17 |
| 18 namespace v8 { | 18 namespace v8 { |
| 19 namespace internal { | 19 namespace internal { |
| 20 | 20 |
| 21 // ---------------------------------------------------------------------------- | 21 // ---------------------------------------------------------------------------- |
| 22 // CPU | 22 // CPU |
| 23 // | 23 // |
| 24 // Query information about the processor. | 24 // Query information about the processor. |
| 25 // | 25 // |
| 26 // This class also has static methods for the architecture specific functions. | 26 // This class also has static methods for the architecture specific functions. |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 bool has_neon_; | 105 bool has_neon_; |
| 106 bool has_thumbee_; | 106 bool has_thumbee_; |
| 107 bool has_vfp_; | 107 bool has_vfp_; |
| 108 bool has_vfp3_; | 108 bool has_vfp3_; |
| 109 bool has_vfp3_d32_; | 109 bool has_vfp3_d32_; |
| 110 }; | 110 }; |
| 111 | 111 |
| 112 } } // namespace v8::internal | 112 } } // namespace v8::internal |
| 113 | 113 |
| 114 #endif // V8_CPU_H_ | 114 #endif // V8_CPU_H_ |
| OLD | NEW |