# US 2008/0307165 A1 · Information processor, method for controlling cache flash, and information processing controller

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0307165 A1
- Document ID: US20080307165A1
- Status: Published application
- Kind: A1
- Application number: 12/121,784
- Filed: 2008-05-16
- Published: 2008-12-11
- Earliest claimed: 2007-06-08
- Assignees: Freescale Semiconductor, Inc.
- Inventors: Nagano KAZUHIRO
- Web page: https://patentgrep.com/patent/US20080307165A1

## CPC

- G06F 12/0804: with main memory updating (G06F12/0806 takes precedence)
- G06F 9/30047: {Prefetch instructions; cache control instructions}
- G06F 9/3824: {Operand accessing}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## 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.

## Claims

### Claim 1

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.

### Claim 2 (depends on 1)

The information processor according to claim 1, wherein the flush control unit allows the flush instruction output means to issue the cache flush instruction when acquiring a signal corresponding to a condition-added load instruction from the load/store unit.

### Claim 3 (depends on 1)

The information processor according to claim 1, wherein the flush instruction output means adds a transfer width to a transfer destination address acquired from the load/store unit, calculates a remainder when dividing data amount for a single cache line, and issues the cache flush instruction based on the remainder.

### Claim 4

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.

### Claim 5

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.
