x86_64 config files
Andreas Jaeger
aj@suse.de
Thu Apr 5 04:23:00 GMT 2001
Jiri Smid <smid@suse.cz> writes:
> Hi,
>
> There are config files for AMD x86_64 architecture. The config headers
> include i386 stuff and redefine some parts. In this first version there are
> redefined registers.
>
>
> diff -uNr gdb.orig/gdb/config/i386/nm-x86_64.h gdb/gdb/config/i386/nm-x86_64.h
> --- gdb.orig/gdb/config/i386/nm-x86_64.h Thu Jan 1 01:00:00 1970
> +++ gdb/gdb/config/i386/nm-x86_64.h Thu Apr 5 11:17:38 2001
> @@ -0,0 +1,28 @@
> +/* Native support for Linux/x86_64.
Just a minor nit: The architecture is called x86-64. Since
config.guess can't handle this we normally use x86_64. But
documentation should always use the hyphen for x86-64.
> +/* Although the x86_64 extended floating-point has only 80 significant
> + bits, a `long double' actually takes up 128, probably to enforce
> + alignment. */
remove the probably, your guess is right.
> +/* Number of SSE registers. */
> +#ifdef HAVE_SSE2_REGS
> +#undef NUM_SSE_REGS
> +#define NUM_SSE_REGS (17)
> +#endif
x86-64 has 16 SSE registers.
Thanks,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Gdb
mailing list