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

Side by Side Diff: src/trusted/validator_ragel/unreviewed/validator_features_all.c

Issue 11864002: Move CPU features into its own static library. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Address bsy's comments by not building x86 target when host isn't x86. This is how things are curre… Created 7 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #include "native_client/src/trusted/validator/x86/nacl_cpuid.h" 7 #include "native_client/src/trusted/cpu_features/arch/x86/cpu_x86.h"
8 8
9 /* All supported features are enabled */ 9 /* All supported features are enabled */
10 const NaClCPUFeaturesX86 kFullCPUIDFeatures = { 10 const NaClCPUFeaturesX86 kFullCPUIDFeatures = {
11 { 11 {
12 1, /* NaClCPUFeatureX86_CPUIDSupported */ 12 1, /* NaClCPUFeatureX86_CPUIDSupported */
13 1, /* NaClCPUFeatureX86_CPUSupported */ 13 1, /* NaClCPUFeatureX86_CPUSupported */
14 1, /* NaClCPUFeatureX86_3DNOW */ /* AMD-specific */ 14 1, /* NaClCPUFeatureX86_3DNOW */ /* AMD-specific */
15 1, /* NaClCPUFeatureX86_AES */ 15 1, /* NaClCPUFeatureX86_AES */
16 1, /* NaClCPUFeatureX86_AVX */ 16 1, /* NaClCPUFeatureX86_AVX */
17 1, /* NaClCPUFeatureX86_BMI1 */ 17 1, /* NaClCPUFeatureX86_BMI1 */
(...skipping 24 matching lines...) Expand all
42 1, /* NaClCPUFeatureX86_SSE41 */ 42 1, /* NaClCPUFeatureX86_SSE41 */
43 1, /* NaClCPUFeatureX86_SSE42 */ 43 1, /* NaClCPUFeatureX86_SSE42 */
44 1, /* NaClCPUFeatureX86_SSE4A */ /* AMD-specific */ 44 1, /* NaClCPUFeatureX86_SSE4A */ /* AMD-specific */
45 1, /* NaClCPUFeatureX86_SSSE3 */ 45 1, /* NaClCPUFeatureX86_SSSE3 */
46 1, /* NaClCPUFeatureX86_TBM */ /* AMD-specific */ 46 1, /* NaClCPUFeatureX86_TBM */ /* AMD-specific */
47 1, /* NaClCPUFeatureX86_TSC */ 47 1, /* NaClCPUFeatureX86_TSC */
48 1, /* NaClCPUFeatureX86_x87 */ 48 1, /* NaClCPUFeatureX86_x87 */
49 1 /* NaClCPUFeatureX86_XOP */ /* AMD-specific */ 49 1 /* NaClCPUFeatureX86_XOP */ /* AMD-specific */
50 } 50 }
51 }; 51 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698