Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: hjl.tools@gmail.com
Cc: gdb-patches@sourceware.org
Subject: Re: PATCH: Support i386 without SSE
Date: Thu, 08 Apr 2010 19:08:00 -0000	[thread overview]
Message-ID: <201004081908.o38J8D9H025274@glazunov.sibelius.xs4all.nl> (raw)
In-Reply-To: <20100407200547.GA20605@intel.com> (hongjiu.lu@intel.com)

> Date: Wed, 7 Apr 2010 13:05:47 -0700
> From: "H.J. Lu" <hongjiu.lu@intel.com>
> 
> Hi,
> 
> This patch supports i386 without SSE.  Any comments/suggestions?

Eli, Pierre, can you test wether this fixes the issues on Go32?

If so, I'm ok with this going in.


> 2010-04-07  H.J. Lu  <hongjiu.lu@intel.com>
> 
> 	* i386-linux-nat.c (have_ptrace_getfpxregs): Initialize to -1
> 	if HAVE_PTRACE_GETFPXREGS is defined.
> 	(i386_linux_read_description): Set have_ptrace_getfpxregs and
> 	have_ptrace_getregset to 0 if ptrace PTRACE_GETFPXREGS failed.
> 
> 	* i386-linux-tdep.c: Include "features/i386/i386-mmx-linux.c"
> 	(i386_linux_core_read_description): Return tdesc_i386_mmx_linux
> 	if .reg-xfp section doesn't exist.
> 	(_initialize_i386_linux_tdep): Call initialize_tdesc_i386_mmx_linux.
> 
> 	* i386-linux-tdep.h (tdesc_i386_mmx_linux): New.
> 
> 	* i386-tdep.c: Include "features/i386/i386-mmx.c".
> 	(i386_go32_init_abi): Set tdesc to tdesc_i386_mmx.
> 	(i386_validate_tdesc_p): Make org.gnu.gdb.i386.sse optional.  Set
> 	xcr0 to I386_XSTATE_X87_MASK if SSE isn't available.
> 	(i386_gdbarch_init): Update comments.
> 	(_initialize_i386_tdep): Call initialize_tdesc_i386_mmx.
> 
> 	* common/i386-xstate.h (I386_XSTATE_X87_MASK): New.
> 
> 	* features/Makefile (i386/i386-mmx-expedite): New.
> 	(i386/i386-mmx-linux-expedite): Likewise.
> 	($(outdir)/i386/i386-mmx.dat): Likewise.
> 	($(outdir)/i386/i386-mmx-linux.dat): Likewise.
> 
> 	* features/i386/i386-mmx-linux.c: New.
> 	* features/i386/i386-mmx-linux.xml: Likewise.
> 	* features/i386/i386-mmx.c: Likewise.
> 	* features/i386/i386-mmx.xml: Likewise.
> 	* regformats/i386/i386-mmx-linux.dat: Likewise.
> 	* regformats/i386/i386-mmx.dat: Likewise.
> 
> 	* features/Makefile (WHICH): Add i386/i386-mmx and
> 	i386/i386-mmx-linux.


  parent reply	other threads:[~2010-04-08 19:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-07 20:05 H.J. Lu
2010-04-07 20:12 ` H.J. Lu
2010-04-07 20:31   ` Eli Zaretskii
2010-04-08 19:08 ` Mark Kettenis [this message]
2010-04-08 20:33   ` Pierre Muller
     [not found]   ` <000c01cad75a$b751a490$25f4edb0$%muller@ics-cnrs.unistra.fr>
2010-04-08 21:37     ` Eli Zaretskii
2010-04-08 22:29       ` H.J. Lu
2010-04-09  7:41         ` Eli Zaretskii
2010-04-09 13:16           ` H.J. Lu
2010-04-09 15:08             ` Eli Zaretskii

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=201004081908.o38J8D9H025274@glazunov.sibelius.xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --cc=gdb-patches@sourceware.org \
    --cc=hjl.tools@gmail.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