×

Method for optimizing utilization of a cache memory

  • US 4,991,088 A
  • Filed: 11/30/1988
  • Issued: 02/05/1991
  • Est. Priority Date: 11/30/1988
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of optimizing utilization of a cache memory unit in a computer system running a compiled computer program having loop instructions, said computer system having a main memory unit, which has an array of blocks of a predetermined block size, and having a cache memory unit with a multiplicity of blocks of said predetermined size, comprising the steps of:

  • storing a set of compiled loop instructions of a compiled computer program in said main memory unit;

    locating a set of compiled loop instructions which is stored in the main memory unit and which is smaller than the predetermined block size of said cache memory unit;

    denoting the memory boundaries of said identified set of compiled loop instructions within said main memory unit;

    moving the instructions of said located set of compiled loop instructions so that said instructions are stored within the boundaries of one of said predetermined blocks of said main memory unit;

    loading said identified set of compiled loop instructions into said cache memory unit; and

    running said identified set of loop instructions in said computer system;

    thereby optimizing operation of said cache memory unit when said identified set of compiled loop instructions is loaded into said cache memory unit and the identified set of loop instructions is run in said computer system and cache misses are avoided for said identified set of loop instructions.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×