home *** CD-ROM | disk | FTP | other *** search
- To test if your 386 chip has the infamous multiply bug, check that
- the following multiplication works:
-
- 0x417_a000 times 0x81 equals 0xfe7_a000.
-
- Write a program that executes this several thousand times.
- If the answer comes out wrong, you definitely have a bad chip.
- If the answer's always right, you may still have a bad chip; Intel
- has no perfect test as yet. Try the test at higher temperatures
- to aggravate the problem.
-
- The problem occurs only with the 386 multiply instruction that produces
- a 64-bit result, as opposed to the 32x32=>32 multiply. MetaWare's
- compilers never use the former multiply, only the latter. Hence you'll
- have to use assembly language to test it out.
-
- See "multest.asm" for an assembly language program that tests for the
- bad multiply.
-
-
-