OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The LibYuv Project Authors. All rights reserved. | 2 * Copyright 2012 The LibYuv Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 if (has_x86) { | 72 if (has_x86) { |
73 int has_sse2 = TestCpuFlag(kCpuHasSSE2); | 73 int has_sse2 = TestCpuFlag(kCpuHasSSE2); |
74 int has_ssse3 = TestCpuFlag(kCpuHasSSSE3); | 74 int has_ssse3 = TestCpuFlag(kCpuHasSSSE3); |
75 int has_sse41 = TestCpuFlag(kCpuHasSSE41); | 75 int has_sse41 = TestCpuFlag(kCpuHasSSE41); |
76 int has_sse42 = TestCpuFlag(kCpuHasSSE42); | 76 int has_sse42 = TestCpuFlag(kCpuHasSSE42); |
77 int has_avx = TestCpuFlag(kCpuHasAVX); | 77 int has_avx = TestCpuFlag(kCpuHasAVX); |
78 int has_avx2 = TestCpuFlag(kCpuHasAVX2); | 78 int has_avx2 = TestCpuFlag(kCpuHasAVX2); |
79 int has_avx3 = TestCpuFlag(kCpuHasAVX3); | 79 int has_avx3 = TestCpuFlag(kCpuHasAVX3); |
80 int has_erms = TestCpuFlag(kCpuHasERMS); | 80 int has_erms = TestCpuFlag(kCpuHasERMS); |
81 int has_fma3 = TestCpuFlag(kCpuHasFMA3); | 81 int has_fma3 = TestCpuFlag(kCpuHasFMA3); |
| 82 int has_f16c = TestCpuFlag(kCpuHasF16C); |
82 printf("Has SSE2 %x\n", has_sse2); | 83 printf("Has SSE2 %x\n", has_sse2); |
83 printf("Has SSSE3 %x\n", has_ssse3); | 84 printf("Has SSSE3 %x\n", has_ssse3); |
84 printf("Has SSE4.1 %x\n", has_sse41); | 85 printf("Has SSE4.1 %x\n", has_sse41); |
85 printf("Has SSE4.2 %x\n", has_sse42); | 86 printf("Has SSE4.2 %x\n", has_sse42); |
86 printf("Has AVX %x\n", has_avx); | 87 printf("Has AVX %x\n", has_avx); |
87 printf("Has AVX2 %x\n", has_avx2); | 88 printf("Has AVX2 %x\n", has_avx2); |
88 printf("Has AVX3 %x\n", has_avx3); | 89 printf("Has AVX3 %x\n", has_avx3); |
89 printf("Has ERMS %x\n", has_erms); | 90 printf("Has ERMS %x\n", has_erms); |
90 printf("Has FMA3 %x\n", has_fma3); | 91 printf("Has FMA3 %x\n", has_fma3); |
| 92 printf("Has F16C %x\n", has_f16c); |
91 } | 93 } |
92 return 0; | 94 return 0; |
93 } | 95 } |
94 | 96 |
OLD | NEW |