Double-Sigma or not

Post new topic   Reply to topic    CPU-World.com forums Forum Index -> Modern Chips (Collectible Chips only)
View previous topic :: View next topic  
Author Message
H3nrik V!



Joined: 15 Apr 2014
Posts: 1246
Location: Denmark

PostPosted: Mon May 13, 2019 9:23 am    Post subject: Double-Sigma or not Reply with quote

So, I need to be enlightened, as I can't seem to find any information of the subject.

What was actually the "32-bit multiply bug" on the first Intel 386's? And would there actually exist processors with the same sspec, but one having the bug and another don't?

AFAIK it doesn't relate to any specific production lots or similar? But please, enlighten me Smile
Back to top
View user's profile Send private message  
ph4nt0m



Joined: 01 Jan 2018
Posts: 812
Location: Europe

PostPosted: Mon May 13, 2019 5:31 pm    Post subject: Reply with quote

This 32-bit multiply bug could hang up the entire machine. It's far more serious than just an incorrect result. Intel has never bothered to explain the reasons behind the bug, but it seems power consumption related because multiplication is one of the most expensive ALU opcodes and running the CPU at a lower clock speed could help with the issue.

BTW these early steppings (A0, A1, A2, B0) can be detected in software. They can execute XBTS (0x0F 0xA6) and IBTS (0x0F 0xA7) opcodes which have been dropped from B1 and later steppings. There are still way too many bugs (errata) in B1. It was C0 when Intel did their work right finally.

_________________
My Active Sales
Back to top
View user's profile Send private message  
rjluna2



Joined: 27 Oct 2014
Posts: 1302
Location: Hiram, GA, USA

PostPosted: Mon May 13, 2019 7:35 pm    Post subject: Reply with quote

I may have pre-B stepping on 80386 CPU. I need to find one somewhere in my collection.

To make my story short, I attempted to installed Windows 95 on my IBM PS/2 Model 80 many moons ago and reported that the machine did not have the B-stepping CPU. I attempted to buy another 80386 at one computer dealer store, they laughed at me. So, I went to another store and a person was happy to sell me for US$ 25 for a 80386 CPU. I replaced the CPU and the Windows 95 was able to install to the machine Smile
Back to top
View user's profile Send private message  
H3nrik V!



Joined: 15 Apr 2014
Posts: 1246
Location: Denmark

PostPosted: Tue May 14, 2019 3:51 am    Post subject: Reply with quote

But still again .. A CPU with a given s-spec could or could not have the bug?
Back to top
View user's profile Send private message  
frag_



Joined: 17 Nov 2008
Posts: 4015
Location: Estonia

PostPosted: Tue May 14, 2019 4:29 am    Post subject: Reply with quote

It can be both.
Look e.g. at stepping S40344 here:
http://chipdb.org/cat-16-289.htm
There are three distinct species:
- no marks
- "16 bit s/w only"
- double sigma

First one is from 1986 when they did not test it for this bug.
Then in early 1987 they started to test and mark it accordingly.
Why this bug can be both present and not present on the same s-spec?
Because it is analog one, not digital (like FDIV).
It must be tested to determine it.
It's frequency, voltage, temperature dependent thing.

As I understand it was caused by non-optimal layout of the chip.
Some combinations of arguments lead to the situation when long chain of logical elenets does not able to produce right state on the end within the given time limit.
In this sense mul32 was the "longest" operation, mul16 was much shorter and not affected.
Muls were in fact a series of adds but it was slightly more complex than simple add which was not affected.
Not sure if it can crash system beyond producint incorrect result.
Afaik windows installers tested it by 0x81 x 0x0417A000 multiplication.
Intel fixed layout of the next steppings, but still marked it with double sigma.
Back to top
View user's profile Send private message [ Hidden ]
H3nrik V!



Joined: 15 Apr 2014
Posts: 1246
Location: Denmark

PostPosted: Tue May 14, 2019 6:27 am    Post subject: Reply with quote

So being an analog problem, it might be that the physical placement of the actual chip in the wafer may have affected whether or not a unit had the bug or not?
Back to top
View user's profile Send private message  
ph4nt0m



Joined: 01 Jan 2018
Posts: 812
Location: Europe

PostPosted: Tue May 14, 2019 6:40 am    Post subject: Reply with quote

It is also related to power supply and mainboard quality. We don't know what exactly Intel has done in order to re-evaluate these CPUs.
_________________
My Active Sales
Back to top
View user's profile Send private message  
CHips



Joined: 01 May 2016
Posts: 834
Location: Switzerland

PostPosted: Tue May 14, 2019 6:44 am    Post subject: Reply with quote

Interesting... In this case I wonder if A80386-12s are actually bugged -16s that work fine at 12 MHz...
Or whether the 16 bits S/w Only would work fine at 12 MHz...

_________________
Stelo.xyz Museum (CPU Collection and more)
Back to top
View user's profile Send private message   Visit poster's website
frag_



Joined: 17 Nov 2008
Posts: 4015
Location: Estonia

PostPosted: Tue May 14, 2019 6:48 am    Post subject: Reply with quote

Yes, any thing that affects silicon quality automatically has effect here.

Yes, very likely bugged 16 parts are works perfectly at 12.
But known 12 parts were made before this bug was discovered.

I have one "16 bit s/w only", but it passes the test at 16 MHz Sad
Probably was tested in different conditions.
Back to top
View user's profile Send private message [ Hidden ]
xsecret



Joined: 01 Feb 2004
Posts: 1847
Location: France

PostPosted: Tue May 14, 2019 6:52 am    Post subject: Reply with quote

I hope to be able to investigate that bug in a very deep level with the UCA one day Smile Very interesting.
_________________
ES-Only Collector : http://www.engineering-sample.com
Universal Chip Analyzer (UCA) : https://x86.fr/uca / http://www.cpu-world.com/forum/viewtopic.php?t=34349
Back to top
View user's profile Send private message   Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    CPU-World.com forums Forum Index -> Modern Chips (Collectible Chips only) All times are GMT - 5 Hours
Page 1 of 1
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001 phpBB Group