Instruction Set Size

Discussion in 'General Hardware' started by zellffhut, Mar 20, 2006.

  1. zellffhut

    zellffhut Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    Hello

    This may be a strange question for this area, but it seems like the closest fit!

    How would I go about finding the size, and execution time of an Instruction Set?


    Thanks.
     
  2. Big B

    Big B HWF Godfather

    Likes Received:
    145
    Trophy Points:
    63
    Off-hand, I don't know. My best guess would be to look at whatever whitepapers are available from Intel and AMD.
     
  3. Addis

    Addis The King

    Likes Received:
    91
    Trophy Points:
    48
    Execution time is used loosely, either with CPU time or real time.

    For the exact execution time (real) you need to find the number of clock cycles the program uses. It also of course depends on the CPU used as well as the instruction set.

    E.g.

    Execution time = (Instruction count for program * CPI) / Clock speed
    Where CPI is the average number of clock cycles used per instruction. (CPU clock cycles/no. of instructions). The number of instructions can be found with a low level analyser for assembly.
     
  4. zellffhut

    zellffhut Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    Ok. I think i understand that.

    What effect does the chip architecture have on the calculations? (eg - 16, 32 or 64 bit)
     

Share This Page