From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] KVM: x86 emulator: fix %rip-relative addressing with immediate source operand Date: Tue, 21 Jun 2011 12:16:58 +0300 Message-ID: <4E00618A.6050505@redhat.com> References: <1308500471-6222-1-git-send-email-avi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , "kvm@vger.kernel.org" To: "Li, Xin" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:23141 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751516Ab1FUJRC (ORCPT ); Tue, 21 Jun 2011 05:17:02 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 06/21/2011 12:09 PM, Li, Xin wrote: > > %rip-relative addressing is relative to the first byte of the next instruction, > > so we need to add %rip only after we've fetched any immediate bytes. > > > > Signed-off-by: Avi Kivity > > Acked-by: Li Xin And should also be, Based on original patch by Li Xin . Sorry. -- error compiling committee.c: too many arguments to function