steve@mullian.ee.mu.OZ.AU (Steve Mabbs) (05/31/90)
Does anyone have any software to decode 80386 instructions and calculate the number of clock cycles taken to execute the decoded instruction? At the moment, I'm using symmetry-dep.c from the gdb source code, but that doesn't reveal any clock cycle information. Thanks Steve --------------- Stephen A. Mabbs, Dept of Electrical and Electronic Engineering University of Melbourne Phone: office (room 3.10): +61 3 344 6714 PARKVILLE VIC 3052 vlsi lab (room 3.16): +61 3 344 7436 AUSTRALIA Fax: +61 3 344 6678
kingsley@hpwrce.HP.COM (Kingsley Morse) (06/01/90)
Intel's 80386 reference manual has clock cycles for each instruction. I used Borland's debugger (sold with their assembler) to decode 80386 machine instructions.
kevin@hp-lsd.COS.HP.COM (Kevin Hall) (06/05/90)
Care should be used when relying on the cycle numbers in the manual. From experience they are best case, in a vacumn, numbers. Actual counts are dependant on what instructions preceed you and come after you in the instruction queue, generally making the numbers worse. We were generally able to reproduce the numbers in the manuals by surrounding the instruction with a queue full of NOP's both ahead of and after. Kevin Hall hplabs!hp-lsd!kevin