Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: gdb@sources.redhat.com
Subject: Enable SSE registers by default?
Date: Tue, 15 Jul 2003 07:30:00 -0000	[thread overview]
Message-ID: <1030715073033.ZM3808@localhost.localdomain> (raw)

The function i386_gdbarch_init() in i386-tdep.c contains the following
comment/code:

  /* The i386 default settings don't include the SSE registers.
     FIXME: kettenis/20020614: They do include the FPU registers for
     now, which probably is not quite right.  */
  tdep->num_xmm_regs = 0;

I would like to see the SSE registers enabled by default, or, if
that proves to be undesirable for some reason, we should have some
way of enabling them for targets which support them.  (Note that
i386-linux-tdep.c enables SSE register support unconditionally.)

The only drawback that I'm aware of with enabling them by default is
that they'll be displayed in ``info all-registers'' even for devices
which don't have these registers.  But, I think they'll always show up
as zero (for remote targets anyway), which is the same behavior that
I'd expect to see for FPU-less cores.  I think this is the reason behind
Mark's FIXME comment.

Is anyone aware of any other drawbacks?

Kevin


                 reply	other threads:[~2003-07-15  7:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1030715073033.ZM3808@localhost.localdomain \
    --to=kevinb@redhat.com \
    --cc=gdb@sources.redhat.com \
    /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