Article View: comp.os.msdos.programmer
Article #234Re: 386 SX Identification
From: Jan-Pieter Cornet
Date: Wed, 05 Aug 1992 05:51
Date: Wed, 05 Aug 1992 05:51
27 lines
1799 bytes
1799 bytes
On 1 Aug 92, aki@cruzio.santa-cruz.ca.us wrote: > I posted a question regarding the identification of a 386SX CPU > versus a 386DX a couple of weeks ago. I finally talked to one of > the designers and found that the hardest way is the only way: > > 1. Time a bunch of NOP's (don't loop'em) > 2. Time a bunch of DWORD memory accesses (don't loop) Hmm... that seems like the _really_ hard way. I always thought that the prefetch queue length on the 386dx and 386sx also differed. The prefetch queue length can be measured relatively easy with a loop which places an instruction in a bunch of NOPs just a little ahead of it. I've written a simple queue length calculation program a while ago, I'd be happy to mail it to some people with 386sx or 386dx machines (in fact, to anyone :-), and we could compare results then. IMHO this is a slightly easier way to detect the sx. And wasn't IBM coming out with a 386sx with 1K of cache these days? You can bet at least the cache interface is 32bits, so you'd have to clean up the cache first, before doing the above mentioned timing test (yes, they might have changed the prefetch queue length too, of course). -- Jan-Pieter cornet@duteca.et.tudelft.nl
Technical Details
Message-ID:
<1992Aug05.055146.24242@donau.et.tudelft.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!dutrun!donau!zen.et.tudelft.nl!cornetReferences:
<3981@cruzio.santa-cruz.ca.us>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!dutrun!donau!zen.et.tudelft.nl!cornet From: cornet@zen.et.tudelft.nl (Jan-Pieter Cornet) Subject: Re: 386 SX Identification Message-ID: <1992Aug05.055146.24242@donau.et.tudelft.nl> Summary: ?? Keywords: 386 SX prefetch queue Sender: news@donau.et.tudelft.nl (UseNet News System) Nntp-Posting-Host: zen.et.tudelft.nl Organization: Delft University of Technology, Dept. of Electrical Engineering References: <3981@cruzio.santa-cruz.ca.us> Date: Wed, 05 Aug 1992 05:51:46 GMT Lines: 28