This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] [patch] testsuite: Fix i386-sse-reverse.exp FAILs on older CPUs
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 29 Feb 2012 15:56:02 +0100
- Subject: [commit] [patch] testsuite: Fix i386-sse-reverse.exp FAILs on older CPUs
- References: <20120223222722.GA23551@host2.jankratochvil.net>
On Thu, 23 Feb 2012 23:27:22 +0100, Jan Kratochvil wrote:
> gdb/testsuite/
> 2012-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> Support processors without SSSE3.
> * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
> pabsd into ...
> (ssse3_test): ... a new function.
> (main): Call ssse3_test.
> * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
> Update expected values everywhere.
> (reverse-step to pabsd, verify xmm0 after reverse pabsd)
> (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
> (reverse-step to pabsw, verify xmm0 after reverse pabsw)
> (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
> (reverse-step to pabsb, verify xmm0 after reverse pabsb)
> (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
> Move these tests lower.
> (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
> (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
> (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
> New tests.
Checked in:
http://sourceware.org/ml/gdb-cvs/2012-02/msg00200.html
Thanks,
Jan