Information processor, method for controlling cache flash, and information processing controller
AssigneeFreescale Semiconductor, Inc.
InventorNagano KAZUHIRO
Life of this patent
Estimating the term…
Abstract
An information processor, a method for controlling cache flush, and an information processing controller that increases the data processing speed by efficiently performing cache flushing on a cache memory. A CPU includes a load/store unit and a flush control unit. The CPU controls data stored in a cache through a cache controller. When detecting an “.f” signal, the flush control unit waits until a single cache line is accessed. When determining that a single cache line has been accessed, the flush control unit issues a cache flush instruction to a cache controller.
Claims5
An information processor comprising:
- a data cache for storing data;
- a load/store unit for controlling the data cache;
- and
- a flush control unit for issuing a cache flush instruction to the data cache, wherein the flush control unit includes:
- a transfer width information acquisition means for acquiring transfer width information of data from the load/store unit;
- an address information acquisition means for acquiring transfer destination address information that controls the data cache from the load/store unit;
- and
- a flush instruction output means for detecting accessing of a single cache line based on the transfer destination address information acquired by the address information acquisition means and the transfer width information acquired by the transfer width acquisition means when the load/store unit is executing a program, wherein the flush instruction output means issues a cache flush instruction in accordance with the detection.
A method for controlling cache flush with an information processor including a data cache for storing data, a load/store unit for controlling the data cache, and a flush control unit for issuing a cache flush instruction to a data cache, the method comprising:
- acquiring transfer width information of data from the load/store unit with the flush control unit;
- acquiring transfer destination address information that controls the data cache from the load/store unit with the flush control unit;
- and
- detecting accessing of a single cache line based on the acquired transfer destination address information and transfer width information when the load/store unit is executing a program and, in accordance with the detection, issuing a cache flush instruction with the flush control unit.
An information processing controller comprising:
- a load/store unit, connected to a data cache for storing data, for controlling the data cache;
- and
- a flush control unit for issuing a cache flush instruction to a data cache, wherein the flush control unit includes:
- a transfer width information acquisition means for acquiring transfer width information of data from the load/store unit;
- an address information acquisition means for acquiring transfer destination address information that controls the data cache from the load/store unit;
- and
- a flush instruction issuance means for detecting accessing of a single cache line based on the transfer destination address information acquired by the address information acquisition means and the transfer width information acquired by the transfer width acquisition means when the load/store unit is executing a program, wherein the flush instruction issuance means issues a cache flush instruction in accordance with the detection.
Dependencies are inferred from the claim text.