target-i386: tcg: Check right CPUID bits for clflushopt/pcommit
commit891bc821a3ee462b09b1ec436f2891f00ab1f85b
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 4 Nov 2015 21:24:46 +0000 (4 19:24 -0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 6 Nov 2015 14:03:12 +0000 (6 12:03 -0200)
tree2ba503cbbd58baf7315f091988ec2f7692c069c4
parent5e1fac2dba7780e0cb2c022d4b39586af70bea0d
target-i386: tcg: Check right CPUID bits for clflushopt/pcommit

Detect the clflushopt and pcommit instructions and check their
corresponding feature flags, instead of checking CPUID_SSE and
CPUID_CLFLUSH.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target-i386/translate.c