From: Richard Henderson Subject: Re: [PATCH 2/2] target-i386: tcg: Check right CPUID bits for clflushopt/pcommit Date: Fri, 6 Nov 2015 12:07:19 +0100 Message-ID: <563C89E7.60206@twiddle.net> References: <1446672286-9136-1-git-send-email-ehabkost@redhat.com> <1446672286-9136-3-git-send-email-ehabkost@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: Xiao Guangrong , Paolo Bonzini , kvm@vger.kernel.org To: Eduardo Habkost , qemu-devel@nongnu.org Return-path: Received: from mail-wi0-f172.google.com ([209.85.212.172]:38519 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031997AbbKFLHa (ORCPT ); Fri, 6 Nov 2015 06:07:30 -0500 Received: by wicll6 with SMTP id ll6so26506544wic.1 for ; Fri, 06 Nov 2015 03:07:29 -0800 (PST) In-Reply-To: <1446672286-9136-3-git-send-email-ehabkost@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 11/04/2015 10:24 PM, Eduardo Habkost wrote: > Detect the clflushopt and pcommit instructions and check their > corresponding feature flags, instead of checking CPUID_SSE and > CPUID_CLFLUSH. > > Signed-off-by: Eduardo Habkost > --- > target-i386/translate.c | 28 ++++++++++++++++++++-------- > 1 file changed, 20 insertions(+), 8 deletions(-) Reviewed-by: Richard Henderson r~