Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: src/base/cpu.h

Issue 757503002: [x64] Introduce FMA3 instructions on scalar data elements. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove avx_os_support Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/base/cpu.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // x86 features 61 // x86 features
62 bool has_cmov() const { return has_cmov_; } 62 bool has_cmov() const { return has_cmov_; }
63 bool has_sahf() const { return has_sahf_; } 63 bool has_sahf() const { return has_sahf_; }
64 bool has_mmx() const { return has_mmx_; } 64 bool has_mmx() const { return has_mmx_; }
65 bool has_sse() const { return has_sse_; } 65 bool has_sse() const { return has_sse_; }
66 bool has_sse2() const { return has_sse2_; } 66 bool has_sse2() const { return has_sse2_; }
67 bool has_sse3() const { return has_sse3_; } 67 bool has_sse3() const { return has_sse3_; }
68 bool has_ssse3() const { return has_ssse3_; } 68 bool has_ssse3() const { return has_ssse3_; }
69 bool has_sse41() const { return has_sse41_; } 69 bool has_sse41() const { return has_sse41_; }
70 bool has_sse42() const { return has_sse42_; } 70 bool has_sse42() const { return has_sse42_; }
71 bool has_avx() const { return has_avx_; }
72 bool has_fma3() const { return has_fma3_; }
71 73
72 // arm features 74 // arm features
73 bool has_idiva() const { return has_idiva_; } 75 bool has_idiva() const { return has_idiva_; }
74 bool has_neon() const { return has_neon_; } 76 bool has_neon() const { return has_neon_; }
75 bool has_thumb2() const { return has_thumb2_; } 77 bool has_thumb2() const { return has_thumb2_; }
76 bool has_vfp() const { return has_vfp_; } 78 bool has_vfp() const { return has_vfp_; }
77 bool has_vfp3() const { return has_vfp3_; } 79 bool has_vfp3() const { return has_vfp3_; }
78 bool has_vfp3_d32() const { return has_vfp3_d32_; } 80 bool has_vfp3_d32() const { return has_vfp3_d32_; }
79 81
80 // mips features 82 // mips features
(...skipping 13 matching lines...) Expand all
94 bool has_fpu_; 96 bool has_fpu_;
95 bool has_cmov_; 97 bool has_cmov_;
96 bool has_sahf_; 98 bool has_sahf_;
97 bool has_mmx_; 99 bool has_mmx_;
98 bool has_sse_; 100 bool has_sse_;
99 bool has_sse2_; 101 bool has_sse2_;
100 bool has_sse3_; 102 bool has_sse3_;
101 bool has_ssse3_; 103 bool has_ssse3_;
102 bool has_sse41_; 104 bool has_sse41_;
103 bool has_sse42_; 105 bool has_sse42_;
106 bool has_avx_;
107 bool has_fma3_;
104 bool has_idiva_; 108 bool has_idiva_;
105 bool has_neon_; 109 bool has_neon_;
106 bool has_thumb2_; 110 bool has_thumb2_;
107 bool has_vfp_; 111 bool has_vfp_;
108 bool has_vfp3_; 112 bool has_vfp3_;
109 bool has_vfp3_d32_; 113 bool has_vfp3_d32_;
110 bool is_fp64_mode_; 114 bool is_fp64_mode_;
111 }; 115 };
112 116
113 } } // namespace v8::base 117 } } // namespace v8::base
114 118
115 #endif // V8_BASE_CPU_H_ 119 #endif // V8_BASE_CPU_H_
OLDNEW
« no previous file with comments | « no previous file | src/base/cpu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698