diff options
author | Frank Barchard <fbarchard@google.com> | 2016-10-14 16:34:08 -0700 |
---|---|---|
committer | Frank Barchard <fbarchard@google.com> | 2016-10-14 16:34:08 -0700 |
commit | fdcf524aacb38b1e476f82abe5dc2e7dbf07dbc7 (patch) | |
tree | f1bd8fc866e8f6601189d1ac571518b228af03bf /util/cpuid.c | |
parent | 5333e94e70fffcb126fe507cabbaefa0783b8125 (diff) | |
download | libyuv-fdcf524aacb38b1e476f82abe5dc2e7dbf07dbc7.tar.gz |
Add f16c (halffloat) cpuid
R=wangcheng@google.com, hubbe@chromium.org
BUG=libyuv:560
Review URL: https://codereview.chromium.org/2418763006 .
Diffstat (limited to 'util/cpuid.c')
-rw-r--r-- | util/cpuid.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/cpuid.c b/util/cpuid.c index 94e245b1..9716f115 100644 --- a/util/cpuid.c +++ b/util/cpuid.c @@ -79,6 +79,7 @@ int main(int argc, const char* argv[]) { int has_avx3 = TestCpuFlag(kCpuHasAVX3); int has_erms = TestCpuFlag(kCpuHasERMS); int has_fma3 = TestCpuFlag(kCpuHasFMA3); + int has_f16c = TestCpuFlag(kCpuHasF16C); printf("Has SSE2 %x\n", has_sse2); printf("Has SSSE3 %x\n", has_ssse3); printf("Has SSE4.1 %x\n", has_sse41); @@ -88,6 +89,7 @@ int main(int argc, const char* argv[]) { printf("Has AVX3 %x\n", has_avx3); printf("Has ERMS %x\n", has_erms); printf("Has FMA3 %x\n", has_fma3); + printf("Has F16C %x\n", has_f16c); } return 0; } |