Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Moc04-0007ys-1X for qemu-devel@nongnu.org; Fri, 18 Sep 2009 07:51:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mobzy-0007x3-Ud for qemu-devel@nongnu.org; Fri, 18 Sep 2009 07:51:39 -0400 Received: from [199.232.76.173] (port=38474 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mobzy-0007wq-HT for qemu-devel@nongnu.org; Fri, 18 Sep 2009 07:51:34 -0400 Received: from va3ehsobe002.messaging.microsoft.com ([216.32.180.12]:21743 helo=VA3EHSOBE002.bigfish.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.60) (envelope-from ) id 1Mobzy-0003OR-1b for qemu-devel@nongnu.org; Fri, 18 Sep 2009 07:51:34 -0400 Received: from mail191-va3 (localhost.localdomain [127.0.0.1]) by mail191-va3-R.bigfish.com (Postfix) with ESMTP id D8D7C12B0107 for ; Fri, 18 Sep 2009 11:51:32 +0000 (UTC) Received: from ausb3extmailp01.amd.com (unknown [163.181.251.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail191-va3.bigfish.com (Postfix) with ESMTP id 293721550058 for ; Fri, 18 Sep 2009 11:51:31 +0000 (UTC) Received: from ausb3twp01.amd.com ([163.181.250.37]) by ausb3extmailp01.amd.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id n8IBpPeD003856 for ; Fri, 18 Sep 2009 06:51:29 -0500 Received: from sausexbh1.amd.com (sausexbh1.amd.com [163.181.22.101]) by ausb3twp01.amd.com (Tumbleweed MailGate 3.7.0) with ESMTP id 266471028505 for ; Fri, 18 Sep 2009 06:51:23 -0500 (CDT) From: Andre Przywara Date: Fri, 18 Sep 2009 13:48:12 +0200 Message-ID: <1253274494-13244-20-git-send-email-andre.przywara@amd.com> In-Reply-To: <1253274494-13244-1-git-send-email-andre.przywara@amd.com> References: <1253274494-13244-1-git-send-email-andre.przywara@amd.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v2 19/21] cpuid: Add athlon64 CPU model List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Andre Przywara This new CPU model describes a dualcore Athlon 64. Signed-off-by: Andre Przywara --- target-i386/cpuid.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c index 2e02556..1721be2 100644 --- a/target-i386/cpuid.c +++ b/target-i386/cpuid.c @@ -165,6 +165,25 @@ static x86_def_t x86_defs[] = { .model_id = "QEMU Virtual CPU version " QEMU_VERSION, }, { + .name = "athlon64", + .level = 1, + .vendor1 = CPUID_VENDOR_AMD_1, + .vendor2 = CPUID_VENDOR_AMD_2, + .vendor3 = CPUID_VENDOR_AMD_3, + .family = 15, + .model = 67, + .stepping = 3, + .features = K8_FEATURES | CPUID_HT, + .ext_features = CPUID_EXT_SSE3 | CPUID_EXT_CX16, + .ext2_features = (K8_FEATURES & EXT2_FEATURE_MASK) | + EXT2_FEATURES_64 | CPUID_EXT2_MMXEXT | CPUID_EXT2_FFXSR | + CPUID_EXT2_RDTSCP | CPUID_EXT2_3DNOWEXT | CPUID_EXT2_3DNOW, + .ext3_features = CPUID_EXT3_LAHF_LM | CPUID_EXT3_CMP_LEG | + CPUID_EXT3_SVM | CPUID_EXT3_EXTAPIC | CPUID_EXT3_CR8LEG, + .xlevel = 0x80000018, + .model_id = "AMD Athlon(tm) 64 X2 Dual Core Processor 6000+", + }, + { .name = "phenom", .level = 5, .vendor1 = CPUID_VENDOR_AMD_1, -- 1.6.1.3