From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: [PATCH 00/13] Emulator group simplification Date: Mon, 26 Jul 2010 14:37:38 +0300 Message-ID: <1280144271-328-1-git-send-email-avi@redhat.com> To: Marcelo Tosatti , kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:25918 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754403Ab0GZLhx (ORCPT ); Mon, 26 Jul 2010 07:37:53 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o6QBbrpI027129 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 26 Jul 2010 07:37:53 -0400 Received: from cleopatra.tlv.redhat.com (cleopatra.tlv.redhat.com [10.35.255.11]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o6QBbqEY004072 for ; Mon, 26 Jul 2010 07:37:52 -0400 Sender: kvm-owner@vger.kernel.org List-ID: This patchset simplifies the x86 emulator group decoding, cleans up the decoder tables (and adds a missing Lock marker as well). Avi Kivity (13): KVM: x86 emulator: add macros for repetitive instructions KVM: x86 emulator: consolidate inc/dec reg decoding KVM: x86 emulator: consolidate push/pop reg decoding KVM: X86 emulator: consolidate Jcc rel8 decoding KVM: x86 emulator: consolidate MOV reg, imm decoding KVM: x86 emulator: consolidate CMOVcc decoding KVM: x86 emulator: consolidate Jcc rel32 decoding KVM: x86 emulator: Make group storage bits separate from operand bits KVM: x86 emulator: add Undefined decode flag KVM: x86 emulator: mix decode bits from opcode and group decode tables KVM: x86 emulator: simplify Group 1 decoding KVM: x86 emulator: Allow LOCK prefix for NEG and NOT KVM: x86 emulator: unify the two Group 3 variants arch/x86/kvm/emulate.c | 143 ++++++++++++++++-------------------------------- 1 files changed, 47 insertions(+), 96 deletions(-)