This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Test ability to access i386 SSE registers
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jim Blandy <jimb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 12 May 2004 02:08:58 -0400
- Subject: Re: RFA: Test ability to access i386 SSE registers
- References: <vt2wu3iqkrv.fsf@zenia.home>
On Wed, May 12, 2004 at 12:25:40AM -0500, Jim Blandy wrote:
>
> It's late; there is surely some Kool-Aid around here I have forgotten
> to drink.
There better be!
> + if ![runto_main] then {
> + gdb_suppress_tests
> + }
> +
> + gdb_test "break [gdb_get_line_number "first breakpoint here"]" \
> + "Breakpoint .* at .*i386-sse.c.*" \
> + "set breakpoint in main"
> + gdb_continue_to_breakpoint "continue to first breakpoint in main"
So, all that trouble to make the SSE testcase not use movaps if it
isn't available... and you never check in the test script?
If you're going to be thorough in the test case, be more thorough. See
gcc.dg/i386-cpuid.h in GCC.
--
Daniel Jacobowitz