[x265] [PATCH] fix Issue #141: TestBench failed on AMD FX8350
Min Chen
chenm003 at 163.com
Thu Jun 4 23:42:06 CEST 2015
# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1433454118 25200
# Node ID c8baa941961805b8b32312b53d9074a34512641c
# Parent 99e4204426f66ba45ca5c208fa4b33c120f76c07
fix Issue #141: TestBench failed on AMD FX8350
---
source/test/TestBench.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff -r 99e4204426f6 -r c8baa9419618 source/test/testbench.cpp
--- a/source/test/testbench.cpp Thu Jun 04 12:13:20 2015 -0700
+++ b/source/test/testbench.cpp Thu Jun 04 14:41:58 2015 -0700
@@ -174,7 +174,7 @@
for (int i = 0; test_arch[i].flag; i++)
{
- if (test_arch[i].flag & cpuid)
+ if ((test_arch[i].flag & cpuid) == test_arch[i].flag)
{
printf("Testing primitives: %s\n", test_arch[i].name);
fflush(stdout);
More information about the x265-devel
mailing list