mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 11:24:05 +08:00
* lex.c (init_vectorized_lexer): Fix comparison of masked value.
From-SVN: r174037
This commit is contained in:
parent
5fb43dd835
commit
5e70c0b572
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user