public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Enable SSE registers by default?
@ 2003-07-15  7:30 Kevin Buettner
  0 siblings, 0 replies; only message in thread
From: Kevin Buettner @ 2003-07-15  7:30 UTC (permalink / raw)
  To: gdb

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-15  7:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-15  7:30 Enable SSE registers by default? Kevin Buettner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).