Received: from eggs.gnu.org ([140.186.70.92]:36127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyQwx-0006Lf-TQ for qemu-devel@nongnu.org; Fri, 17 Feb 2012 11:46:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RyQwr-0002GB-ME for qemu-devel@nongnu.org; Fri, 17 Feb 2012 11:46:23 -0500 Received: from cantor2.suse.de ([195.135.220.15]:47349 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyQwr-0002FQ-H4 for qemu-devel@nongnu.org; Fri, 17 Feb 2012 11:46:17 -0500 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Fri, 17 Feb 2012 17:46:00 +0100 Message-Id: <1329497164-20086-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 0/4] target-i386: Helpers for CPUID version List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: andre.przywara@amd.com, =?UTF-8?q?Andreas=20F=C3=A4rber?= Hello x86 gurus, This series came out of my qom-cpu work. The reasoning is that in a QOM w= orld we will need this logic twice, once as before and once for -cpu family=3Dx,model=3Dy,stepping=3Dz,model_id=3Dfoo. Note: The family=3Dx value is not bounds-checked in cpu_x86_find_by_name(= )! I'd appreciate if someone could double-check the masks I added. I calcula= ted them based on "Intel=C2=AE Processor Identification and the CPUID Instruc= tion. Application Note 485. January 2011". Thanks, Andreas Cc: Andre Przywara Andreas F=C3=A4rber (4): target-i386: Introduce x86_cpuid_version_set_family() target-i386: Introduce x86_cpuid_version_set_model() target-i386: Introduce x86_cpuid_version_set_stepping() target-i386: Introduce x86_cpuid_set_model_id() target-i386/cpuid.c | 64 +++++++++++++++++++++++++++++++++++----------= ------ 1 files changed, 44 insertions(+), 20 deletions(-) --=20 1.7.7