Claims
- 1. A method of transferring data words which include data bytes in a computer having a main memory and a processor with an associated cache memory, with the processor being able to cause data words to be transferred in a burst mode from the cache memory to the main memory in any one of a plurality of predetermined sequences, comprising the steps of:
- a) identifying which data words of a group of data words in the cache contain data bytes which have been modified
- b) selecting a predetermined sequence of data words from the plurality of predetermined sequences of data words which includes (i) all of the data words of the group of data words which include data bytes which have been modified, and (ii) the lowest number of data words of the group of data words that include no data bytes which have been modified relative to the other predetermined sequences of data words of the plurality of predetermined sequences of data words; and
- transferring said sequence of data words selected in the selecting step in the burst mode from the cache memory to the main memory.
- 2. A method of transferring data in a computer having a memory and a processor with an associated cache in which data is grouped into lines, each line having a number of data words which include data bytes, and the processor being able to cause data words to be sent in a burst mode from the cache to the memory in any one of a plurality of predetermined sequences, comprising the following steps:
- a) identifying which data words of a group of data words include data bytes which have been modified
- b) selecting a sequence of data words from the plurality of predetermined sequences of data words which includes (i) all of the data words of the group of data words which include data bytes which have been modified, and (ii) the lowest number of data words of the group of data words that include no data bytes which have been modified relative to the other sequences of data words of the plurality of predetermined sequences of data words; and
- c) sending said sequence of data words from the cache to the memory in the burst mode.
- 3. A method of transferring data words which include data bytes in a computer having a memory, a memory controller and a cache, with the data words being sent in a burst mode from the cache to the memory in any one of a plurality of predetermined sequences, comprising the following steps:
- a) identifying which data words of a group of data words in the cache contain data bytes which have been modified;
- b) selecting a predetermined sequence of data words from the plurality of predetermined sequences of data words which includes (i) all of the data words of the group of data words which include data bytes which have been modified, and (ii) the lowest number of data words of the group of data words that include no data bytes which have been modified relative to the other predetermined sequences of data words of the plurality of predetermined sequences of data words;
- c) sending said predetermined sequence of data words from the cache to the memory controller in the burst mode;
- d) identifying which data bytes of data words of said predetermined sequence of data words have been modified; and
- e) transferring data bytes identified in step (d) from the memory controller to the memory.
- 4. A method of transferring data words which include data bytes within a computer having a main memory, a processor and a cache memory, with the processor being able to cause data words to be transferred in a burst mode from the cache memory to the main memory in any one of a plurality of predetermined sequences, comprising the steps of:
- determining which data words of a group of data words located in the cache memory include data bytes which have been modified;
- selecting a sequence of data words of the plurality of predetermined sequences of data words which includes (a) all of the data words of the group of data words that include data bytes which have been modified, and (b) the lowest number of data words of the group of data words, relative to the other sequences of data words of the plurality of predetermined sequences of data words, that include no data bytes which have been modified; and
- causing the sequence of data words selected in the selecting step to be transferred in the burst mode from the cache memory to the main memory.
Parent Case Info
This is a continuation of application Ser. No. 07/761,538, filed Sep. 18, 1991.
US Referenced Citations (17)
Continuations (1)
|
Number |
Date |
Country |
Parent |
761538 |
Sep 1991 |
|