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

From-SVN: r174037
This commit is contained in:
Uros Bizjak 2011-05-22 21:04:54 +02:00
parent 5fb43dd835
commit 5e70c0b572

View File

@ -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;
}