Claims
- 1. A physical cache unit for a computer having a main memory and central processor and which utilizes both scalar and vector operands, comprising: `a cache store for storing only said scalar operands therein,
- first bus means for transferring operands between said cache store and said main memory,
- second bus means for transferring operands between said cache store and said central processor,
- bidirectional bus bypass means for transferring operands between said main memory and said central processor by bypassing said cache store,
- means responsive to addresses produced by said central processor for reading scalar operands from said cache store and for transferring said scalar operands through said second bus means to said central processor; and responsive to addresses received from said central processor for transferring said scalar operands from said main memory through said first bus means into said cache store when operands having said addresses are not present in said cache store, and
- said bidirectional bus bypass means for transferring both said scalar and said vector operands in both directions between said main memory and said central processor for bypassing said cache store when vector operands are requested by said central processor or when scalar operands requested by said central processor are not present in said cache store.
- 2. A method for transferring operands between a main memory and a central processor of a computer, comprising the steps of:
- generating an address for either a selected scalar or a selected vector operand which is required by said central processor,
- comparing the address of said selected scalar operand to addresses of operands stored in a cache store, wherein said cache store is connected to transfer operands to and from said main memory and to and from said central processor and said cache store has only said scalar operands stored therein,
- transferring said selected scalar operand from said cache store to said central processor when the address of said selected scalar operand compares to the address of an operand stored in the cache store,
- transferring said selected scalar operand from said main memory to said central processor without intermediate storage in said cache store thereby bypassing said cache store when the address of said selected scalar operand does not compare to the address of any operands stored in said cache store,
- storing said selected scalar operand in said cache store after transfer to said central processor, and
- transferring said selected vector operand from said main memory to said central processor upon generation of said address for said selected vector operand wherein said selected vector operand bypasses said store in route to said central processor.
Parent Case Info
This is a division, of application Ser. No. 622,562, filed June 20, 1984.
US Referenced Citations (11)
Divisions (1)
|
Number |
Date |
Country |
| Parent |
622562 |
Jun 1984 |
|