Mail Archives: djgpp/2009/05/03/11:16:22
Hi,
On May 2, 11:16=A0am, Eli Zaretskii <e DOT DOT DOT AT gnu DOT org> wrote:
> > From: "Charles Sandmann" <cwsd DOT DOT DOT AT earthlink DOT net>
> > Date: Sat, 2 May 2009 10:28:29 -0500
>
> > >"Eli Zaretskii" <e DOT DOT DOT AT gnu DOT org> wrote in message
> > >news:83y6tfem02 DOT fsf AT gnu DOT org...
> > >> From: Rugxulo <rugx DOT DOT DOT AT gmail DOT com>
> > >> It also doesn't like "info all-regs", IIRC.
> > >Yes, for the same reason: it thinks DJGPP supports SSE registers.
>
> > What is required to make that work?
>
> There are 2 possible fixes: the easy one and the more complicated one.
>
> The easy one is a two-liner: tell GDB that we don't support SSE. =A0I
> already did that, and the patch is in the GDB CVS repository since
> about 2 days ago. =A0(The original problem happened because GDB switched
> to supporting SSE by default in its x86 targets at some point, so any
> target that doesn't support them needs to explicitly disable that.
> Seems like no one from the DJGPP camp, yours truly included, payed
> attention at the time.)
Well, I agree it's probably not a priority. Nevertheless, it can't be
that hard to do, can it? DJ could probably tell us more.
> The more complex solution is to extend save_npx and load_npx to use
> FXSAVE and FXRSTOR instructions, when they are available, instead of
> FNSAVE and FRSTOR that we use now. =A0But that means hacking the library
> or providing GDB-private versions of these functions. =A0
I've heard that FX* are faster, if that makes you feel any better.
BTW, GNU Emacs still carries around two replacement files for bugs in
DJGPP 2.00, so this wouldn't be so strange.
> Unless many
> DJGPP users need access to SSE registers (which sounds improbable,
> given that this feature is badly broken for at least 5 last years), I
> don't see a justification for this hassle.
There are some projects that can use SSE (e.g. libmpeg2, fftw, liboil,
sseplus, paq7 / paq8, FreeBASIC). And CWSDPMI (and HDPMI32) enable it
for us, if needed. So it's not like it wouldn't be nice, but since I
don't know how to do it myself, it's your call. ;-)
- Raw text -