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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 bool has_sahf() const { return has_sahf_; } | 78 bool has_sahf() const { return has_sahf_; } |
79 bool has_mmx() const { return has_mmx_; } | 79 bool has_mmx() const { return has_mmx_; } |
80 bool has_sse() const { return has_sse_; } | 80 bool has_sse() const { return has_sse_; } |
81 bool has_sse2() const { return has_sse2_; } | 81 bool has_sse2() const { return has_sse2_; } |
82 bool has_sse3() const { return has_sse3_; } | 82 bool has_sse3() const { return has_sse3_; } |
83 bool has_ssse3() const { return has_ssse3_; } | 83 bool has_ssse3() const { return has_ssse3_; } |
84 bool has_sse41() const { return has_sse41_; } | 84 bool has_sse41() const { return has_sse41_; } |
85 bool has_sse42() const { return has_sse42_; } | 85 bool has_sse42() const { return has_sse42_; } |
86 bool has_avx() const { return has_avx_; } | 86 bool has_avx() const { return has_avx_; } |
87 bool has_fma3() const { return has_fma3_; } | 87 bool has_fma3() const { return has_fma3_; } |
| 88 bool is_atom() const { return is_atom_; } |
88 | 89 |
89 // arm features | 90 // arm features |
90 bool has_idiva() const { return has_idiva_; } | 91 bool has_idiva() const { return has_idiva_; } |
91 bool has_neon() const { return has_neon_; } | 92 bool has_neon() const { return has_neon_; } |
92 bool has_thumb2() const { return has_thumb2_; } | 93 bool has_thumb2() const { return has_thumb2_; } |
93 bool has_vfp() const { return has_vfp_; } | 94 bool has_vfp() const { return has_vfp_; } |
94 bool has_vfp3() const { return has_vfp3_; } | 95 bool has_vfp3() const { return has_vfp3_; } |
95 bool has_vfp3_d32() const { return has_vfp3_d32_; } | 96 bool has_vfp3_d32() const { return has_vfp3_d32_; } |
96 | 97 |
97 // mips features | 98 // mips features |
(...skipping 14 matching lines...) Expand all Loading... |
112 bool has_fpu_; | 113 bool has_fpu_; |
113 bool has_cmov_; | 114 bool has_cmov_; |
114 bool has_sahf_; | 115 bool has_sahf_; |
115 bool has_mmx_; | 116 bool has_mmx_; |
116 bool has_sse_; | 117 bool has_sse_; |
117 bool has_sse2_; | 118 bool has_sse2_; |
118 bool has_sse3_; | 119 bool has_sse3_; |
119 bool has_ssse3_; | 120 bool has_ssse3_; |
120 bool has_sse41_; | 121 bool has_sse41_; |
121 bool has_sse42_; | 122 bool has_sse42_; |
| 123 bool is_atom_; |
122 bool has_avx_; | 124 bool has_avx_; |
123 bool has_fma3_; | 125 bool has_fma3_; |
124 bool has_idiva_; | 126 bool has_idiva_; |
125 bool has_neon_; | 127 bool has_neon_; |
126 bool has_thumb2_; | 128 bool has_thumb2_; |
127 bool has_vfp_; | 129 bool has_vfp_; |
128 bool has_vfp3_; | 130 bool has_vfp3_; |
129 bool has_vfp3_d32_; | 131 bool has_vfp3_d32_; |
130 bool is_fp64_mode_; | 132 bool is_fp64_mode_; |
131 }; | 133 }; |
132 | 134 |
133 } } // namespace v8::base | 135 } } // namespace v8::base |
134 | 136 |
135 #endif // V8_BASE_CPU_H_ | 137 #endif // V8_BASE_CPU_H_ |
OLD | NEW |