delorie.com/archives/browse.cgi | search |
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: | Sat, 16 May 2009 15:22:24 -0700 (PDT) |
Organization: | http://groups.google.com |
Lines: | 28 |
Message-ID: | <098c0598-a917-44bd-9ceb-f110e7ab6de0@21g2000vbk.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> | |
<83eiv3e71o DOT fsf AT gnu DOT org> <Pine DOT LNX DOT 4 DOT 60 DOT 0905140216470 DOT 1746 AT dynamite DOT narpes DOT com> | |
<b557d9b0-953a-4fa1-8c30-e46ec40f4943 AT r13g2000vbr DOT googlegroups DOT com> | |
<b4-dnaUMyrIcLJHXnZ2dnUVZ_t-dnZ2d AT earthlink DOT com> | |
NNTP-Posting-Host: | 65.13.115.246 |
Mime-Version: | 1.0 |
X-Trace: | posting.google.com 1242512544 32239 127.0.0.1 (16 May 2009 22:22:24 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | Sat, 16 May 2009 22:22:24 +0000 (UTC) |
Complaints-To: | groups-abuse AT google DOT com |
Injection-Info: | 21g2000vbk.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, On May 14, 7:04=A0pm, "Charles Sandmann" <cwsd DOT DOT DOT AT earthlink DOT net> wrote: > > >"Rugxulo" <rugx DOT DOT DOT AT gmail DOT com> wrote in message > >news:b557d9b0-953a-4fa1-8c30-e46ec40f4943 AT r13g2000vbr DOT googlegroups DOT com..= . > >How are you supposed to know that SSE is enabled? Either run, crash, > >recover ... > > Establish error handler, try instruction, on fault you know it's > not legal, set flag, etc. =A0Really very easy to implement. Maybe for you! :-) Anyways, luckily we don't have to do that, just see if FXSAVE saves the XMM* regs part, if not then it's not enabled. But I guess you mean the other way isn't so impossible. > >I wish I was smart enough to make DJGPP (EMU387.DXE, perhaps?) emulate > >the CMOV.. instructions. > > If you look at libc, and the interface to emu387, you could easily > implement this (probably all from C). =A0Contact me offline if you > need technical assistance. I did look at it, but it was a bit over my head. It should be pretty easy since the CMOV.. instructions (12?) have very similar / simple encodings. (Note that I'm not referring to the FCMOV.. FPU instructions, only the main vanilla ones.)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |