From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Zhi Wang <zhi.a.wang@intel.com>, Fabio Fantoni <fabio.fantoni@m2r.biz>
Cc: Paul Durrant <Paul.Durrant@citrix.com>,
Jan Beulich <JBeulich@suse.com>,
Xen-devel List <xen-devel@lists.xen.org>
Subject: SSE instruction emulation issues
Date: Fri, 10 Jul 2015 13:00:48 +0100 [thread overview]
Message-ID: <559FB3F0.5000108@citrix.com> (raw)
(breaking this thread away from the hijacked emulation cleanup and fixes
thread)
On 09/07/15 20:32, Zhi Wang wrote:
> Hi Gurus:
> We found that MOVD instruction are used by some windows driver
> during developing XenGT, and also we found this one:
>
> (XEN) MMIO emulation failed: d7v1 64bit @ 0010:fffff8000294e273 -> 66
> 0f e7 00 48 83 c0 10 45 3
> b cb 73 f0 45 85 c9
Disassembly:
0: 66 0f e7 00 movntdq %xmm0,(%rax)
4: 48 83 c0 10 add $0x10,%rax
8: 45 3b cb cmp %r11d,%r9d
b: 73 f0 jae 0xfffffffffffffffd
d: 45 85 c9 test %r9d,%r9d
The x86 instruction emulator does appear to have a decode for this
instruction. This failure suggests that the implementation is buggy.
To start with diagnosing, add a test case to
tools/tests/x86_emulator/test_x86_emulator.c
Then, you will want to investigate the implementation in
xen/arch/x86/x86_emulate/x86_emulate.c around line 4245.
~Andrew
next reply other threads:[~2015-07-10 12:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-10 12:00 Andrew Cooper [this message]
2015-07-10 12:16 ` SSE instruction emulation issues Jan Beulich
[not found] ` <55A64066.5020406@m2r.biz>
[not found] ` <55A6618C02000078000914A6@mail.emea.novell.com>
2015-07-15 13:55 ` Fabio Fantoni
2015-07-15 14:13 ` Paul Durrant
2015-07-15 14:22 ` Andrew Cooper
2015-07-15 14:18 ` Razvan Cojocaru
2015-07-15 14:35 ` Wang, Zhi A
2015-07-16 12:14 ` Fabio Fantoni
2015-07-16 14:54 ` Wang, Zhi A
2015-07-16 15:38 ` Fabio Fantoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=559FB3F0.5000108@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=JBeulich@suse.com \
--cc=Paul.Durrant@citrix.com \
--cc=fabio.fantoni@m2r.biz \
--cc=xen-devel@lists.xen.org \
--cc=zhi.a.wang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.