Commit 5e70c0b5 by Uros Bizjak

* lex.c (init_vectorized_lexer): Fix comparison of masked value.

From-SVN: r174037
parent 5fb43dd8
......@@ -505,7 +505,8 @@ init_vectorized_lexer (void)
}
else if (__get_cpuid (0x80000001, &dummy, &dummy, &dummy, &edx))
{
if (minimum == 1 || (edx & (bit_MMXEXT | bit_CMOV)))
if (minimum == 1
|| (edx & (bit_MMXEXT | bit_CMOV)) == (bit_MMXEXT | bit_CMOV))
impl = search_line_mmx;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment