www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/05/05/01:31:06

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Please help resurrecting GDB for version 7.0 release
Date: Mon, 4 May 2009 22:28:28 -0700 (PDT)
Organization: http://groups.google.com
Lines: 42
Message-ID: <322b2e53-eb4a-4770-a039-e4dfe6af8bb7@r34g2000vbi.googlegroups.com>
References: <83zldveryw DOT fsf AT gnu DOT org> <684bdd55-b464-4e61-b28e-28774dc6ced8 AT o27g2000vbd DOT googlegroups DOT com>
<83y6tfem02 DOT fsf AT gnu DOT org> <_ZKdnV74euw2-2HUnZ2dnUVZ_uednZ2d AT earthlink DOT com>
<83ws8zeb05 DOT fsf AT gnu DOT org> <Z4adna6AJcyQeWDUnZ2dnUVZ_t-dnZ2d AT earthlink DOT com>
<d5126d62-422a-4cdd-989e-96fa0f99359a AT h23g2000vbc DOT googlegroups DOT com>
<83skjldt35 DOT fsf AT gnu DOT org> <58b10f6a-eba5-4cc2-bef8-cc5fc4251e06 AT q2g2000vbr DOT googlegroups DOT com>
<83fxfkdz2n DOT fsf AT gnu DOT org> <000b187c-f14b-4f37-81ca-0d93f4e1b2e1 AT g20g2000vba DOT googlegroups DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1241501309 18438 127.0.0.1 (5 May 2009 05:28:29 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Tue, 5 May 2009 05:28:29 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: r34g2000vbi.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.10)
Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi again,

On May 5, 12:08=A0am, Rugxulo <rugx DOT  DOT  DOT  AT gmail DOT com> wrote:
>
> On May 4, 10:10=A0pm, Eli Zaretskii <e DOT  DOT  DOT  AT gnu DOT org> wrote:
>
> In other words, I would've thought you could do the following in ring
> 3, but apparently not:
>
> =A0 mov eax,cr4 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0; (CR4 first introduced in=
 Pentium)
> =A0 bt eax,OSFXSR =A0 =A0 =A0 =A0 =A0 =A0 =A0; if already set, no need to=
 enable
> =A0 jc .bye

And yet I just tested again on Vista (since the above was from
memory), and it seems to work! So either I tested wrong, got confused,
or it's a bug in XP (which I can't test at the moment), most likely
one of the former. Fun fun fun.   :-P

> > All this just to have a change in a version that isn't going
> > to be released any time soon? =A0Doesn't sound like a good investment o=
f
> > my scarce resources.
>
> > > > OTOH, if someone needs it badly on a machine that is known to suppo=
rt
> > > > these instructions, they can simply replace FNSAVE/FRSTOR with the
> > > > extended instructions, modify the definition of the NPX object in
> > > > debug/dbgcom.h to accommodate for the extra registers, and be done.
>
> > > You make it sound trivial, not sure it is.
>
> > It's trivial. =A0You can try it.
>
> FXSAVE / FXRSTOR use a 512-byte buffer, but not all of that is used (I
> think), esp. if SSE is not already enabled (which is how Agner Fog
> claims Intel told him to know whether it is enabled ... see if it
> saves / restores the SSE "xmm0" etc. registers.).
>
> Did any of that help? I hope I explained / understood it correctly!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019