×

Method and system for instruction-set architecture simulation using just in time compilation

  • US 8,086,438 B2
  • Filed: 12/03/2002
  • Issued: 12/27/2011
  • Est. Priority Date: 03/27/2002
  • Status: Active Grant
First Claim
Patent Images

1. A method of simulating a program comprising:

  • a) determining if compiled data of a program simulation is stored at an address in a memory table of compiled instructions, in response to a request for compiled data of a given instruction, wherein said compiled instructions are individually protected or unprotected from being overwritten in said memory table;

    b) if said compiled data is not stored at said location in said memory table, compiling said given instruction and storing said given compiled data of said given instruction at said address in said memory table;

    c) determine if said given instruction has changed from a previous execution of an instruction having compiled data at said address in said memory table;

    d) if said given instruction has changed from said previous execution of said instruction having compiled data at said address in said memory table, re-compiling said given instruction to generate compiled data of said given instruction;

    e) if said given instruction has changed from said previous execution of said instruction having compiled data at said address in said memory table, storing said compiled data of said given instruction if said address in said memory table is not protected from being overwritten; and

    f) returning said compiled data of said given instruction or a reference thereto to a simulator that is executing said program simulation.

View all claims
  • 7 Assignments
Timeline View
Assignment View
    ×
    ×