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

Side by Side Diff: base/cpu.cc

Issue 6759017: iwyu: Cleanup in the following files: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright again. Created 9 years, 8 months 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 | Annotate | Revision Log
« no previous file with comments | « base/command_line.cc ('k') | base/environment.h » ('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 (c) 2006-2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium 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 #include "base/cpu.h" 5 #include "base/cpu.h"
6 6
7 #if defined(ARCH_CPU_X86_FAMILY) 7 #if defined(ARCH_CPU_X86_FAMILY)
8 #if defined(_MSC_VER) 8 #if defined(_MSC_VER)
9 #include <intrin.h> 9 #include <intrin.h>
10 #endif 10 #endif
11 #endif 11 #endif
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 has_sse_ = (cpu_info[3] & 0x02000000) != 0; 113 has_sse_ = (cpu_info[3] & 0x02000000) != 0;
114 has_sse2_ = (cpu_info[3] & 0x04000000) != 0; 114 has_sse2_ = (cpu_info[3] & 0x04000000) != 0;
115 has_sse3_ = (cpu_info[2] & 0x00000001) != 0; 115 has_sse3_ = (cpu_info[2] & 0x00000001) != 0;
116 has_ssse3_ = (cpu_info[2] & 0x00000200) != 0; 116 has_ssse3_ = (cpu_info[2] & 0x00000200) != 0;
117 has_sse41_ = (cpu_info[2] & 0x00080000) != 0; 117 has_sse41_ = (cpu_info[2] & 0x00080000) != 0;
118 has_sse42_ = (cpu_info[2] & 0x00100000) != 0; 118 has_sse42_ = (cpu_info[2] & 0x00100000) != 0;
119 } 119 }
120 #endif 120 #endif
121 } 121 }
122 122
123
124
125 } // namespace base 123 } // namespace base
OLDNEW
« no previous file with comments | « base/command_line.cc ('k') | base/environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698