Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andreas Jaeger <aj@suse.de>
To: Jiri Smid <smid@suse.cz>
Cc: gdb@sources.redhat.com
Subject: Re: x86_64 config files
Date: Thu, 05 Apr 2001 04:23:00 -0000	[thread overview]
Message-ID: <hozodvzj2z.fsf@gee.suse.de> (raw)
In-Reply-To: <s8vg0fnob2o.fsf@naga.suse.cz>

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


      reply	other threads:[~2001-04-05  4:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-05  4:12 Jiri Smid
2001-04-05  4:23 ` Andreas Jaeger [this message]

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=hozodvzj2z.fsf@gee.suse.de \
    --to=aj@suse.de \
    --cc=gdb@sources.redhat.com \
    --cc=smid@suse.cz \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox