From 5e70c0b57264ac971d52e499fa75f91c0d8903c2 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Sun, 22 May 2011 21:04:54 +0200 Subject: [PATCH] * lex.c (init_vectorized_lexer): Fix comparison of masked value. From-SVN: r174037 --- libcpp/lex.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libcpp/lex.c b/libcpp/lex.c index bbce62ca095..6c3be711504 100644 --- a/libcpp/lex.c +++ b/libcpp/lex.c @@ -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; } -- 2.30.2