www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/05/13/23:15:57

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Newsgroups: comp.os.msdos.djgpp
Date: Thu, 14 May 2009 03:03:04 GMT
From: "A. Wik" <root AT dynamite DOT narpes DOT com>
Subject: Re: Please help resurrecting GDB for version 7.0 release
In-Reply-To: <83eiv3e71o.fsf@gnu.org>
Message-ID: <Pine.LNX.4.60.0905140216470.1746@dynamite.narpes.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>
Organization: DOS Research Labs
Mail-To-News-Contact: abuse AT dizum DOT com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 5 May 2009, Eli Zaretskii wrote:

> > From: Rugxulo <rugxulo AT gmail DOT com>
> > Date: Mon, 4 May 2009 22:08:44 -0700 (PDT)
> > 
> > > Yes, and then test a lot on old machines which I don't even know where
> > > to find.  
> > 
> > What old machines in particular? Just cpu revisions or OSes or both??
> 
> That depends on the method you use for detecting the CPU.  If you use
> no privileged instructions, there should be no reason to test under
> different OSes, I think.  Otherwise, yes.

This may not be relevant to a specific situation, but
generally speaking, bugs can occur in any any instruction,
privileged or otherwise.  For example, the F00F and FDIV
CPU bugs[1] require no privileges[2] to trigger.  Also,
normally unprivileged instructions such as floating point
can be programmed to generate exceptions, although that is
normally only done on CPUs lacking a math co-processor or
FPU [3], such as the 486SX and most 386 (SX, DX, or null
suffix) systems.

-aw
[1]  I think I do have machines, or at least CPUs, affected
  by either of those two bugs.  If anyone has a need to
  test code under these conditions I might look into it.
[2]  LOCK is unprivileged on modern CPUs, but privileged on
  some older x86 generations; however, that's not relevant
  in the case of F00F, which occurs in the Pentium,
  P. Overdrive and P. MMX and processors.
[3]  In those cases, the exceptions allow the invocation of
  an emulator to process the missing FP instructions).
  I've had to load one for DJGPP apps on occasions.

- Raw text -


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