From: Tim Deegan Subject: Re: [PATCH 2 of 8] x86: add explicit size suffixes to some assembly instructions Date: Tue, 8 Mar 2011 10:44:41 +0000 Message-ID: <20110308104441.GB21359@whitby.uk.xensource.com> References: <4D76047B02000078000351C9@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline In-Reply-To: <4D76047B02000078000351C9@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org At 09:27 +0000 on 08 Mar (1299576427), Jan Beulich wrote: > >>> On 07.03.11 at 12:26, Tim Deegan wrote: > >--- a/xen/arch/x86/x86_emulate/x86_emulate.c Mon Mar 07 11:21:11 2011 +0000 > >+++ b/xen/arch/x86/x86_emulate/x86_emulate.c Mon Mar 07 11:21:11 2011 +0000 > >@@ -2678,7 +2678,7 @@ x86_emulate( > > emulate_fpu_insn_memsrc("fiaddl", src.val); > > break; > > case 1: /* fimul m64i */ > >- emulate_fpu_insn_memsrc("fimul", src.val); > >+ emulate_fpu_insn_memsrc("fimuls", src.val); > > fimull. fimuls is what the previous code generates, but it does look like that was wrong. I'll fix it, thanks. Tim. > > break; > > case 2: /* ficom m64i */ > > emulate_fpu_insn_memsrc("ficoml", src.val); > > (Side note: The comments in this section are all wrong - they > should say "m32i"; there are no 64-bit integer operations > other than loads and stores.) -- Tim Deegan Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)