[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH optional v2 01/10] hvm/hpet: Add manual unit test code.




On 04/11/14 11:14, Jan Beulich wrote:
On 11.04.14 at 14:48, <dslutz@xxxxxxxxxxx> wrote:
On 04/11/14 08:09, Jan Beulich wrote:
On 11.04.14 at 13:57, <dslutz@xxxxxxxxxxx> wrote:
I see that that test is not passing:

make -C tools/tests/x86_emulator run
...
Testing daa/das (all inputs)...         skipped
Testing movq %mm3,(%ecx)...             okay
Testing movq (%edx),%mm5...             okay
Testing movdqu %xmm2,(%ecx)...          okay
Testing movdqu (%edx),%xmm4...          okay
Testing vmovdqu %ymm2,(%ecx)...         failed!
Odd - it worked the last time I tried. Was that perhaps on an AVX-
incapable system?
Is avx from /proc/cpuinfo:
Interesting - I just tried it again, and it works for me. Could of course
be an issue with your glibc clobbering %ymm2 - I always wondered for
how long we would get away with this not really correct register usage.
But otoh I would have expected the earlier test using %xmm2 to fail
then too...


Not sure what I can do to help.  A quick gdb says:

Testing movzxwd (%%eax),%%ecx...        okay
Testing xadd %%ax,(%%ecx)...            okay
Testing dec %%ax...                     okay
Testing lea 8(%%ebp),%%eax...           okay
Testing daa/das (all inputs)...         skipped
Testing movq %mm3,(%ecx)...             okay
Testing movq (%edx),%mm5...             okay

Breakpoint 4, main (argc=<optimized out>, argv=<optimized out>) at test_x86_emulator.c:610
610             if ( (rc != X86EMUL_OKAY) || memcmp(res, res + 8, 32) )
(gdb) p rc
$3 = 0
(gdb) c
Continuing.
Testing movdqu %xmm2,(%ecx)...          okay
Testing movdqu (%edx),%xmm4...          okay

Breakpoint 3, main (argc=<optimized out>, argv=<optimized out>) at test_x86_emulator.c:661
661             if ( (rc != X86EMUL_OKAY) || memcmp(res, res + 16, 64) )
(gdb) p rc
$4 = 7
(gdb) q


This is from 4.3.1...

    -Don Slutz

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.