From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillaume Thouvenin Subject: Re: Emulation of shld instruction doesn't work Date: Wed, 8 Oct 2008 15:05:43 +0200 Message-ID: <20081008150543.535293b9@frecb000711> References: <20081008145245.78c7084d@frecb000711> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: kvm , Mohammed Gamal , Avi Kivity To: Guillaume Thouvenin Return-path: Received: from ecfrec.frec.bull.fr ([129.183.4.8]:44048 "EHLO ecfrec.frec.bull.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751561AbYJHNFw (ORCPT ); Wed, 8 Oct 2008 09:05:52 -0400 In-Reply-To: <20081008145245.78c7084d@frecb000711> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 8 Oct 2008 14:52:45 +0200 Guillaume Thouvenin wrote: > When I launch the test, I have an emulation failure that depends of the > count operand. With count == 4 (shld $4,...) I have: > > emulation failed (emulation failure) rip 1aa 04 87 06 c0 > > If count == 12 I have > > emulation failed (emulation failure) rip 1aa 0c 87 06 c0 > > and if count == 8 > > emulation failed (emulation failure) rip 1b1 1e c4 21 66 Just to be more accurate, I added trace in shld to display information and I can see that destination operand is ok, the failure occurs after test_shld(). Regards, Guillaume